Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

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

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

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

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

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...

Sander Kristel
Posts: 0
Joined: Sun Dec 29, 2013 4:47 pm

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

Yes it is but the field remains empty

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

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

Hi Sander,

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

Sander Kristel
Posts: 0
Joined: Sun Dec 29, 2013 4:47 pm

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

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

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

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

Hi Sander.

Please use following code:

precode

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

/code/pre

Regards.

Sander Kristel
Posts: 0
Joined: Sun Dec 29, 2013 4:47 pm

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

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

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

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

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.

Sander Kristel
Posts: 0
Joined: Sun Dec 29, 2013 4:47 pm

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

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

Return to “Issues”