<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Shephertz Community - Recent questions in App42 DevOps</title>
<link>http://forum.shephertz.com/?qa=questions/products/app42-devops</link>
<description>Powered by Question2Answer</description>
<item>
<title>Setup custom email for sending reset Password info</title>
<link>http://forum.shephertz.com/?qa=10290/setup-custom-email-for-sending-reset-password-info</link>
<description>&lt;p&gt;
	Hello&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	I'm trying to setup email for my app on dashboard to send reset password info with my preference, but got problem.&lt;/p&gt;
&lt;p&gt;
	Follow &lt;a rel=&quot;nofollow&quot; href=&quot;http://blogs.shephertz.com/2014/03/28/create-custom-email-template-for-reset-password/&quot;&gt;this post&lt;/a&gt; as a reference, but get no success&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;What was done&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;
	GMAIL&lt;/p&gt;
&lt;p&gt;
	&lt;a href=&quot;https://support.google.com/mail/answer/7126229?hl=en&quot; rel=&quot;nofollow&quot;&gt;google setting&lt;/a&gt; - official settings, see attached png&lt;/p&gt;
&lt;p&gt;
	Yahoo&lt;/p&gt;
&lt;p&gt;
	&lt;a href=&quot;https://www.google.com.ua/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=2&amp;amp;ved=0ahUKEwjB7dOW8tvSAhVDCBoKHXdbBO4QFggfMAE&amp;amp;url=https%3A%2F%2Fhelp.yahoo.com%2Fkb%2FSLN4724.html&amp;amp;usg=AFQjCNEcPUdaxP1Ayq18GWxBMlKTmmcnkg&amp;amp;sig2=VFNuxI9a2k6swiOGhbnMJg&quot; rel=&quot;nofollow&quot;&gt;POP access settings and instructions for Yahoo Mail | Yahoo Help ...&lt;/a&gt;&amp;nbsp;- official settings, see attached png&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Problem&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;
	When I try to send email - I got message mail sent successfully, but I don't receive any email&lt;/p&gt;
&lt;p&gt;
	After reading post found similar problem &lt;a href=&quot;http://forum.shephertz.com/?qa=5231/how-do-i-setup-an-outlook-com-email-in-the-app42-email-service&quot; rel=&quot;nofollow&quot;&gt;described here&lt;/a&gt;&amp;nbsp;- exactly same case as I have. On linked&amp;nbsp;post&amp;nbsp;there is no solution for problem and post to old to continue there.&lt;/p&gt;
&lt;p&gt;
	Also, I got from google warning about unsecured connection, but even if I turn security to lowest level - it's not work (for yahoo service, I even not receive anything).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	my account -&amp;nbsp;&lt;span style=&quot;color: rgb(69, 69, 69); font-family: 'Helvetica Neue';&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;mailto:translatorDevelopmentTeam@gmail.com&quot; rel=&quot;nofollow&quot; style=&quot;font-family: 'Helvetica Neue';&quot;&gt;&lt;span style=&quot;color: #e4af0a&quot;&gt;translatorDevelopmentTeam@gmail.com&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	Another problem - when I try to save template - I got notification: &quot;saved&quot;, but when I return back in few min it's gone....&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	Thanks in advance&lt;/p&gt;</description>
<category>App42 DevOps</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10290/setup-custom-email-for-sending-reset-password-info</guid>
<pubDate>Thu, 16 Mar 2017 21:12:49 +0000</pubDate>
</item>
<item>
<title>Exception generated by &quot;findDocumentByKeyValue&quot;</title>
<link>http://forum.shephertz.com/?qa=9250/exception-generated-by-finddocumentbykeyvalue</link>
<description>&lt;p&gt;
	I want to develop a logic which finds the document using &quot;&lt;span style=&quot;color: rgb(0, 0, 0); font-family: Menlo; font-size: 12pt; background-color: rgb(228, 228, 255);&quot;&gt;findDocumentByKeyValue&lt;/span&gt;&quot; and if such document not found then i want to create the document. For this use case i need to write Document creation code in &quot;&lt;span style=&quot;color: rgb(0, 0, 0); font-family: Menlo; font-size: 12pt; background-color: rgb(228, 228, 255);&quot;&gt;onException&lt;/span&gt;&quot; of &quot;&lt;span style=&quot;color: rgb(0, 0, 0); font-family: Menlo; font-size: 16px; background-color: rgb(228, 228, 255);&quot;&gt;findDocumentByKeyValue&lt;/span&gt;&quot; method. Now problem is whnever coding flow enters into the &amp;nbsp;&quot;&lt;span style=&quot;color: rgb(0, 0, 0); font-family: Menlo; font-size: 16px; background-color: rgb(228, 228, 255);&quot;&gt;onException&quot;&lt;/span&gt;&amp;nbsp;connection gets lost with error &quot;Should stop return ......Missed 3 beats&quot; something like this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	Is there any solution for this ??&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>App42 DevOps</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9250/exception-generated-by-finddocumentbykeyvalue</guid>
<pubDate>Wed, 13 Jul 2016 03:39:42 +0000</pubDate>
</item>
<item>
<title>Best way to create a backup (Export and Import)</title>
<link>http://forum.shephertz.com/?qa=8774/best-way-to-create-a-backup-export-and-import</link>
<description>Dear team,

I am using AppHQ dashboard and I am trying to find the best way in order to backup and restore my data but I find it difficult. If I export the file as .csv I have headers of updatedAt, createdAt, ... but when I import the file, how can I set the same dates? I see that I only can to import a json with the data but createAt and other headers are created again. I don't know how to solve this and I see a very high risk for the future if I want to restore all my data. What do you suggest?

Best regards</description>
<category>App42 DevOps</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8774/best-way-to-create-a-backup-export-and-import</guid>
<pubDate>Sat, 07 May 2016 18:31:55 +0000</pubDate>
</item>
<item>
<title>how to join room when tap on push notification invitation for private room</title>
<link>http://forum.shephertz.com/?qa=8526/join-room-when-push-notification-invitation-for-private-room</link>
<description>&lt;p&gt;
	Hello,&lt;/p&gt;
&lt;p&gt;
	i am creating a multipalyer game in which i wan to invite a player for a private table &amp;nbsp;using app42 push notificaiton form player to invited player in msg i pass name room in which inivted player should join when it tap on push notifiaction.&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;font-family: Menlo;&quot;&gt;&lt;span style=&quot;color:#009695;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;color:#444444;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color:#3363a4;&quot;&gt;void&lt;/span&gt;&lt;span style=&quot;color:#444444;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color:#444444;&quot;&gt;onMessage&lt;/span&gt;&lt;span style=&quot;color:#444444;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color:#444444;&quot;&gt;String&lt;/span&gt;&lt;span style=&quot;color:#444444;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color:#444444;&quot;&gt;msg&lt;/span&gt;&lt;span style=&quot;color:#444444;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	in this fuction i get msg which is name of room so on tap on msg it should direct join room.&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	But currenlt it launch application and all ohte ractivity destroy when i tap on message.&lt;/p&gt;
&lt;p&gt;
	Plaese help me to solve this.&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	i want to kno that ifd i get message for push notification than tap on message how to redirect spicific window depend on message which message arrive on push notification.&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>App42 DevOps</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8526/join-room-when-push-notification-invitation-for-private-room</guid>
<pubDate>Wed, 06 Apr 2016 06:39:07 +0000</pubDate>
</item>
<item>
<title>Flex dispatch events from API42</title>
<link>http://forum.shephertz.com/?qa=7525/flex-dispatch-events-from-api42</link>
<description>&lt;p&gt;
	So what i am trying to do is minimize the files needed for callbacks in flex. I have a login page where i authenticate the user using&amp;nbsp;&lt;/p&gt;
&lt;pre class=&quot;brush:plain;&quot;&gt;
FlexGlobals.topLevelApplication.userService.authenticate(usernameInput.text, passInput.text, new BasicCallback());&lt;/pre&gt;
&lt;p&gt;
	The BasicCallback() implements App42CallBack with onSuccess and onException.&amp;nbsp;&lt;br&gt;
	&lt;br&gt;
	In the onSuccess function, i am tryint to dispatch a custom event without any lack.&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;pre class=&quot;brush:plain;&quot;&gt;
public function onSuccess(response:Object):void
		{

			var user:User = User(response);  
			trace(&quot;response is : &quot; + user); 
			
			var dispatcher:EventDispatcher = new EventDispatcher();
			dispatcher.dispatchEvent( new ResponseEvent( ResponseEvent.DATA_LOADED, true, false, response ) );&lt;/pre&gt;
&lt;p&gt;
	Can someone help?&amp;nbsp;&lt;br&gt;
	&lt;br&gt;
	Is there a way to move the BasicCallback in my mxml file?&lt;br&gt;
	&lt;br&gt;
	Thank you&lt;br&gt;
	&lt;br&gt;
	UPDATED:&lt;br&gt;
	&lt;br&gt;
	After a lot of try and error, my team and I managed to find a good enough solution.&amp;nbsp;&lt;br&gt;
	&lt;br&gt;
	1st, we created a custom event which is able to not only return event hits (complete, failed,etc) but also parameters.&amp;nbsp;&lt;br&gt;
	&lt;br&gt;
	Then we extended any callback like the following:&lt;br&gt;
	&lt;br&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;pre class=&quot;brush:java;&quot;&gt;
public class BasicCallback extends EventDispatcher implements App42CallBack &lt;/pre&gt;
&lt;p&gt;
	&lt;br&gt;
	This way we are able to dispatch an event during the onSuccess call returning the needed data to the mxml file.&lt;br&gt;
	&lt;br&gt;
	This is great to use in mxml flex mobile apps.&lt;/p&gt;</description>
<category>App42 DevOps</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=7525/flex-dispatch-events-from-api42</guid>
<pubDate>Thu, 22 Oct 2015 17:59:30 +0000</pubDate>
</item>
</channel>
</rss>