Page 2 of 3

How do I add a record with a pointer in it.

Posted: Sat May 31, 2014 6:21 pm
by Alena Prykhodko

Please send us this screen shot for your service http://devcenter.appery.io/documentat...


How do I add a record with a pointer in it.

Posted: Sat May 31, 2014 6:44 pm
by Sander Kristel

How do I add a record with a pointer in it.

Posted: Mon Jun 02, 2014 8:29 am
by Evgene Karachevtsev

Hello Sander,

In expression "return '{"collName":"myColumn", "_id":"' + value + '"}';"
"myColumn" is related collection name. Is your related collection name "myColumn"?
http://devcenter.appery.io/documentat...


How do I add a record with a pointer in it.

Posted: Fri Jun 06, 2014 6:33 pm
by Sander Kristel

Yes it is but the field remains empty


How do I add a record with a pointer in it.

Posted: Fri Jun 06, 2014 9:04 pm
by Kateryna Grynko

Hi Sander,

Do you add any mapping to this request parameter? (what is the value of 'value'?)


How do I add a record with a pointer in it.

Posted: Sat Jun 07, 2014 9:52 am
by Sander Kristel

Yes I do and have added an alert to make sure the statement works well Image


How do I add a record with a pointer in it.

Posted: Mon Jun 09, 2014 4:00 am
by Yurii Orishchuk

Hi Sander.

Please use following code:

precode

return {"collName": "Benchmarks", "_id": value};

/code/pre

Regards.


How do I add a record with a pointer in it.

Posted: Mon Jun 09, 2014 8:13 pm
by Sander Kristel

That's what I'm doing? I'm using the statement as suggested by your colleague?


How do I add a record with a pointer in it.

Posted: Tue Jun 10, 2014 3:04 am
by Yurii Orishchuk

Hi Sander.

Did you tryed my suggestion before send this message?

If you not noticed there is big difference with previous suggestion provided by my collegues.

Regards.


How do I add a record with a pointer in it.

Posted: Tue Jun 10, 2014 6:40 pm
by Sander Kristel

Hi thanks for your reply but I tried both the suggested was and it keeps failing.