As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
Can you provide a little more context and paste more of the code? I'm not quite sure what you're trying to do here.
Thanks,
Mike
H
Harish Geeth
said
over 9 years ago
Mike,
I have a column in my collection which contains list of users (Kinvey Ref's). So whenever a user gets invited to view a user profile, I am trying to add the invited user to the list of users column in my collection.
Hope that is little bit more clear.
M
Michael
said
over 9 years ago
Can you provide some more of the code surrounding this particular line?
M
Michael
said
over 9 years ago
Can you log results[0] before and after the push and paste in the results?
H
Harish Geeth
said
over 9 years ago
Looks like it is adding the value to the list, however, when I refresh the data browser, it doesn't appear to be in the list. Not sure why ?
M
Michael
said
over 9 years ago
Are you re-saving the results back to the database?
Harish Geeth
I am trying this, line of code, however, I do not see this user added to the list.
results[0].inviteeList.push({"collection":"user","_id":request.body.inviteeId,"_type":"KinveyRef"});
where results[0] is an entity found from a collection, inviteeList is collection of Kinvey Ref to Kinvey Users.
Thank you