Search found 8 matches

Go to advanced search

by Andy6966317
Fri Jul 11, 2014 7:27 pm
Forum: Issues
Topic: how to pass a String into an Array to create a list of the strings.
Replies: 11
Views: 694
 
Jump to post

how to pass a String into an Array to create a list of the strings.

What I was trying to do was store a list of member firstName, lastName, and ID. Later I was going to use a list service on the firstName and lastName in order to populate a list component with all of the members in a group. The embedded fields were an attempt to create categories that I could choose...
by Andy6966317
Fri Jul 11, 2014 6:28 pm
Forum: Issues
Topic: how to pass a String into an Array to create a list of the strings.
Replies: 11
Views: 694
 
Jump to post

how to pass a String into an Array to create a list of the strings.

Then JS Code do I use? And where do I put it? I have tried: return {"__op":"AddUnique","objects":[value]}; I have also tried: return JSON.parse(value); Merely mapping like below gives me NO results in the database: https://d2r1vs3d9006ap.cloudfront.net/s3_images/1075530...
by Andy6966317
Fri Jul 11, 2014 3:06 pm
Forum: Issues
Topic: how to pass a String into an Array to create a list of the strings.
Replies: 11
Views: 694
 
Jump to post

how to pass a String into an Array to create a list of the strings.

Thanks for the help so far! I'm still struggling a bit. Did the platform autocreate that localVariable "members"? I don't recall ever creating such a variable. Does this screenshot change your answer? The Javascript inserted into the membersIDs request is what Maryna suggested above. https...
by Andy6966317
Thu Jul 10, 2014 9:54 pm
Forum: Issues
Topic: how to pass a String into an Array to create a list of the strings.
Replies: 11
Views: 694
 
Jump to post

how to pass a String into an Array to create a list of the strings.

https://d2r1vs3d9006ap.cloudfront.net/s3_images/1075133/MApping_inline.JPG?1405029213 https://d2r1vs3d9006ap.cloudfront.net/s3_images/1075134/ServiceSetup_inline.JPG?1405029224 https://d2r1vs3d9006ap.cloudfront.net/s3_images/1075135/DB_inline.JPG?1405029245 Maybe these will help. I tried your solut...
by Andy6966317
Thu Jul 10, 2014 5:14 pm
Forum: Issues
Topic: how to pass a String into an Array to create a list of the strings.
Replies: 11
Views: 694
 
Jump to post

how to pass a String into an Array to create a list of the strings.

I have read that and can't seem to figure it out. I am putting this JS into the mapping of membersIDs: {"__op":"AddUnique","objects":[ ID ]}}' Then I am adding a level under membersIDs in the requests part of the service that says ID. What I want is for the value mapped...
by Andy6966317
Thu Jul 10, 2014 4:29 pm
Forum: Issues
Topic: how to pass a String into an Array to create a list of the strings.
Replies: 11
Views: 694
 
Jump to post

how to pass a String into an Array to create a list of the strings.

I am trying to store user IDs in a single group array with the column type array. As a user joins a group, I want their ID added to the array. I understand that when I am mapping local variables (where the userID is stored) to a request parameter that I need to include some of my own code as well in...
by Andy6966317
Mon Jul 07, 2014 10:37 pm
Forum: Issues
Topic: Trying to set local variables to label component upon page load. Label component is blank. Help?
Replies: 1
Views: 184
 
Jump to post

Trying to set local variables to label component upon page load. Label component is blank. Help?

I am reading a user using a service and setting the response to local variables. After that I am setting label components on a page to display the local variable values. But the values are showing up blank!

Can you help?

by Andy6966317
Fri Jul 04, 2014 2:39 am
Forum: Issues
Topic: Read/Write Inheritance. ACL question.
Replies: 1
Views: 197
 
Jump to post

Read/Write Inheritance. ACL question.

acl question. Initially global users can read but not write all groups (collection). Admins can read and write groups. After getting permission from admin for a user to "join" a group, what should I do in order for the admin and members to only be able to read/write a to do list for that g...

Go to advanced search