Page 1 of 1

list the last submitted record

Posted: Tue Feb 03, 2015 11:46 am
by Tweets from Wolfie

I want to list the last submitted record / row, but by default the App is listing the first row in the database not the last one,

kindly help


list the last submitted record

Posted: Tue Feb 03, 2015 11:54 am
by Evgene Karachevtsev

Hello!

1) Please add sort parameter to your service
2) Place code-createdAt /code value in it.


list the last submitted record

Posted: Tue Feb 03, 2015 12:16 pm
by Tweets from Wolfie

Hi Evgene, Done that and still shows the first row in the DB see screen shot

Image


list the last submitted record

Posted: Wed Feb 04, 2015 8:05 am
by Tweets from Wolfie

your solution never worked for me..... I wonder why my question is marked answered ?


list the last submitted record

Posted: Wed Feb 04, 2015 8:38 am
by Maryna Brodina

Hello!

Sorry, there was a typo in a previous post, use _createdAt


list the last submitted record

Posted: Wed Feb 04, 2015 8:46 am
by Tweets from Wolfie

Hi Maryna,

Thanks for the correction but it still doesnt work for me, what could i be missing ?

see screen shot Image


list the last submitted record

Posted: Wed Feb 04, 2015 12:39 pm
by Egor Kotov6832188

Sorry there was a typo
use
-_createdAt


list the last submitted record

Posted: Wed Feb 04, 2015 12:45 pm
by Tweets from Wolfie

Hi Egor,

Thanks man it works !!

You save me 36 hours of pain


list the last submitted record

Posted: Wed Apr 08, 2015 8:20 pm
by Kirby Robinson

This is very helpful. Thanks