Hi all,
I’ve installed and followed all the steps for the Getting Started with Ontology SDK (OSDK) - Build a To Do application tutorial on Build with AIP.
Per the installed Action Type for creating a new Task object + upon testing it from the actual deployed To-Do app, I can see that the Created By property automatically pulls my user’s Foundry ID as a result of authentication.
I noticed though that one of the optional parameters is for the Assigned To property of the relevant Object Type. On the Action Type config within OMA, I can update its constraint to be a User to get a dropdown from the UI of an Action Form anywhere on the platform, ensuring only a valid User ID gets selected.
However, since I’m writing the code externally, I’m having difficulty figuring out how to pull the list of registered users so that I can assign a newly-created Task to a Foundry user at time of creation while selecting a valid Foundry User ID.
Right now, I’m assigning the relevant code an arbitrary static value (“Arbitrary Foundry User ID”) and I do see that value get logged in the materialization.
Any ideas/documentation I can read up on would be appreciated!
Thanks in advance!