Search found 16 matches

Go to advanced search

by Jamie Steiner6905824
Wed Jun 04, 2014 4:32 am
Forum: Issues
Topic: Additional user parameters
Replies: 14
Views: 4013
 
Jump to post

Additional user parameters

got it working, it was the session token

by Jamie Steiner6905824
Tue Jun 03, 2014 7:34 pm
Forum: Issues
Topic: Additional user parameters
Replies: 14
Views: 4013
 
Jump to post

Additional user parameters

I get the same result: null. I invoke the service after login, and checked it by running some JS on the next page (I only have two). There, I have an event to pull the local variable, and alert it. When I retrieve another local var, it works, but Group seems to be a problem still. Granted, your sing...
by Jamie Steiner6905824
Tue Jun 03, 2014 9:48 am
Forum: Issues
Topic: Additional user parameters
Replies: 14
Views: 4013
 
Jump to post

Additional user parameters

I'll give it a whirl. Might have been helpful to explicitly point out in the documentation that urls can accept tokens ie. {_id}. Maybe it's obvious to some, but at least to me, it was not.

by Jamie Steiner6905824
Tue Jun 03, 2014 9:01 am
Forum: Issues
Topic: How can I get additional parameters returned in the Login service response?
Replies: 12
Views: 4777
 
Jump to post

How can I get additional parameters returned in the Login service response?

I actually have a question open on it here: https://getsatisfaction.com/apperyio/... I was responding here, while researching, because the solution of building the user id into the url doesn't seem very good (which, by the way, the link you provided above again tell me to do). I think your platform ...
by Jamie Steiner6905824
Tue Jun 03, 2014 8:08 am
Forum: Issues
Topic: How can I get additional parameters returned in the Login service response?
Replies: 12
Views: 4777
 
Jump to post

How can I get additional parameters returned in the Login service response?

I tried that, but cant map any element of the response to a local variable. When I follow the example exactly, I get a list of all users.

Image

by Jamie Steiner6905824
Tue Jun 03, 2014 6:54 am
Forum: Issues
Topic: How can I get additional parameters returned in the Login service response?
Replies: 12
Views: 4777
 
Jump to post

How can I get additional parameters returned in the Login service response?

Hi, I don't think this is a very useful way to do it. Below is a screen shot from the docs, and hardcoding the _id in the url as default is pretty useless unless I am missing something, or the app only has one user... https://d2r1vs3d9006ap.cloudfront.net/s3_images/1062398/Screenshot2014-06-0309.53....
by Jamie Steiner6905824
Tue Jun 03, 2014 6:27 am
Forum: Issues
Topic: Additional user parameters
Replies: 14
Views: 4013
 
Jump to post

Additional user parameters

Hi, sorry, but that isn't the problem. The UserID returns fine with both my syntax and yours. The problem is that the Group variable from the response is not created, or the expected value stored. I verified in console that "Group" is not created, despite being listed in the local storage ...
by Jamie Steiner6905824
Mon Jun 02, 2014 2:36 pm
Forum: Issues
Topic: saving active users userid not working
Replies: 4
Views: 1158
 
Jump to post

saving active users userid not working

Yes, you have described it. This value goes into a field in a pointer column. The value does not get put in, and the entire record is not created.

by Jamie Steiner6905824
Mon Jun 02, 2014 12:36 pm
Forum: Issues
Topic: saving active users userid not working
Replies: 4
Views: 1158
 
Jump to post

saving active users userid not working

Hi, I have a create service that runs some javascript to create a record. It all works except for one mapping: the userid of the logged in user (stored in local variable = UserID. I tried the following javascript, which I think should work: var UserID = localStorage.getItem('UserID'); return '{"...
by Jamie Steiner6905824
Sun Jun 01, 2014 3:33 pm
Forum: Issues
Topic: Make query use a local variable
Replies: 1
Views: 914
 
Jump to post

Make query use a local variable

How do I access local variables as a parameter in a query? for example, for a ToDo app where users can assign task to each other, i'd like to make a list service access all records where: {"Assignee": {"$inQuery": {"_id": UserID}}} Where UserID is a local storage variab...

Go to advanced search