pushupdatedevice example?
Hi,
I'm trying to update a custom field in devices, but failing. Can you provide some examples of how to do this please, using pushupdatedevice service if possible?
Regards,
Andy
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Hi,
I'm trying to update a custom field in devices, but failing. Can you provide some examples of how to do this please, using pushupdatedevice service if possible?
Regards,
Andy
Hello Andrew,
Just to be sure I understand you, could you please elaborate on what custom fields you mean. Are these the extra rows and/or cols of the Appery.io predefined "Devices" collection?
Hi Galyna,
That's correct. I've added a column storing an string (actually, a JSON-formatted array of integers like this: [1,5,20,101], called "tag_ids". I'd like to update these, but can't figure out how to use the pushupdatedevice service to do this.
Regards,
Andy
Hello Andrew,
It's best to use Server Code for this.
Check out our example of how to access predefined collections here: https://devcenter.appery.io/documenta....
In case you need more help, please feel free to reach out to support!