Ashok
Posts: 0
Joined: Fri Dec 06, 2013 5:55 am

Verse

Hello,
I am creating a app in which i am facing a huge problem,
i have a saying in parse DB about 365 sayings each for everyday ..
i need tha app to function in such a way that everyday i want one of the saying to come up into my app just like a thought for the day....
for example for 1 January 2013 i have set "!!!!SAYING1jan2013!!!!" i want this to appear on my label component on 1st January 2013 is this possible to map stuffs like this ??? how can i achieve this? in my DB i have 2 columns

  1. For Called the Date(it specifies on which day the corresponding saying must be sent it starts from 1st Jan 2014 to 31st Dec 2014)
  2. For Sayings(which includes a saying for the upcoming days)
    Can someone pls help me with this app pls
Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Verse

Hi Ashok,

Sure, you can do this. Take a look at here please: http://docs.appery.io/documentation/u...

Ashok
Posts: 0
Joined: Fri Dec 06, 2013 5:55 am

Verse

Yes thats how we normally map stuffs into Appery....but how can i initiate the mapping in such a way that from the backend DB i want stuffs oly on a particular day as explained i need to validate a where clause in which the device takes the system's date and time validate it with the column having the date in Parse and return the corresponding Thought for the day....This was my probleM.... !!!?? can u pls help me out Katya

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Verse

Firstly, you should create mapping as suggested in Katya's reply and then add code in mapping 'Add JS' https://developer.mozilla.org/en-US/d....

Ashok
Posts: 0
Joined: Fri Dec 06, 2013 5:55 am

Verse

Thank you for your help .....i am facing another problem

https://lh4.ggpht.com/4-cL9cId0ESCsWm...

https://lh4.ggpht.com/x2-lKkV5Oo9a9NN...

in my app i would like to achieve this..... How can i do it?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Verse

Hello! You need PhoneGap plugin, for example https://github.com/EddyVerbruggen/Soc...

Ashok
Posts: 0
Joined: Fri Dec 06, 2013 5:55 am

Verse

Thank you Marya Brodina, but i do not know how to import this plugin into appery.....could u pls help me by guiding me how to do it pls? from which folder of the above i must copy the source and paste it where? pls do guide me

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Verse

You can add plugin on Source tab, follow description here https://getsatisfaction.com/apperyio/...

Ashok
Posts: 0
Joined: Fri Dec 06, 2013 5:55 am

Verse

Maryna Brodina, sorry for bothering you guys soo much but i am not able to understand the procedure used this is the plugin i am using :
https://github.com/EddyVerbruggen/Soc...

Can u Pls teach me the procedure way to put the contents of the above link into my app

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Verse

You need this part only https://github.com/EddyVerbruggen/Soc.... There is a detailed description, please try and let us know if you have any specific question.

Return to “Issues”