Support Topics Documentation Slack YouTube Blog

API data bind to text field

Hello,

I created a retrieve user API as described in Retrieving a User Object From the User-Token | Backendless

When i test the API i get all the userdata.

Now i want to use this API to fill userdata fields into a container with Dynamic List Behaviour in a page.
In the On Page Enter i have inserted this codeless logic:

image

What am i doing wrong?

30960D18-DC9C-C94C-FFD9-AECB1619B200
Logic is in HoofdpaginaGV page.

This is the error, so i think my user-token is incorrect:

Hello @Michel_Loriaux

That happened because you try to set Page Data(what be an object) as an argument to your API Service. If you set your user token as property to Page Data before, just use Codeless block Get Property of

image

Page Data is not a user token, it’s just storage that could contain him.

Regards, Dima.

Thanks Dima !