Page 1 of 1

Set a local storage variable for current user

Posted: Tue May 26, 2015 11:17 pm
by eric_nnv

In the "Users" collection I have a pointer column called "curstarid". Trying to query this collection (using a REST Service I created to query the Users collection) so that it takes the value of the "curstarid" column for the current user and passes it to a local storage variable called "starid".

The service itself tests properly but I am unable to make it happen from the Page using JS in a "where" query.

Here is a pic of the request layout in the service:

Image

Here is a pic of the response layout in the service

Image

I have been at this for a number of days, consulted the documentation, and cannot get it to work.

Can you provide steps to follow or examples that will help make this happen.

thanks!


Set a local storage variable for current user

Posted: Wed May 27, 2015 6:45 am
by Serhii Kulibaba

Hello Eric,

Please follow this documentation: https://devcenter.appery.io/documenta...