Understanding EntityID, FolderID, and EntityFolderIDLast Updated: 07/18/2016 Introduced in Verision: 2.0 |
This topic helps identify the relationship between the IDs for folders and their containing entities.
About FolderID
About EntityID
An “entity” in the portal can refer to just about any object in the portal. A user, a form, a folder, a custom folder, a chat message – all of these are considered “entities.” An EntityID is used to uniquely identify the entity. The Flow Designer includes components for interacting with Portal entities, under the Integration category:
For example, this flow uses the Update Entity step to set up Portal settings.
The Portal offers a custom data structure that allows for creation of entities called Folder Entities, which are custom-defined by a user to represent a specific object and typically stored inside a folder. EntityID is an important attribute of these types of entities. The screenshot below shows a 2009 Chrysler LeBaron folder entity saved to a folder. It is possible to retrieve this entity’s ID using the same Manage menu option:
When an action flow is created in this Entity Actions and Configuration folder, the information to identify the entity is made available automatically as input in the flow. The steps that will interact with that entity will need to use the EntityID in order to perform the manipulation on that specific entity from which the action is being requested. The screenshot below shows the Edit Vehicle (entity) step mapping, and because an array of ExtensionData can be edited, the edit step is performing an update on an individual entity called Data that is of type Vehicle:
Example of ID relationships
- Entity ID = ABC-123
- Entity Name = Cars
- Folder ID = ABC-123
- Entity Folder ID = parent folder’s ID, N/a
- ParentFolder ID = N/a
- Entity ID = JKL-123 (only specify this value when creating a new Car if you want to make a duplicate of another Car)
- Entity Name = 2009 Chrysler LeBaron
- Folder ID = JKL-123
- Entity Folder ID = ABC-123, (parent folder’s ID)
- Parent Folder ID = ABC-123
- Extension ID = The extension ID of the type of entity; only specify if you are changing the type of the entity (i.e. when creating a “Car,” if you are changing its type to folder extension of “Bus”)
- Entity Type Name = The extension type of the entity; only specify if you are changing the type of the entity (i.e. when creating a “Car,” if you are changing its type to folder extension of “Bus”)
- Entity ID = LMN-789 (only specify this value when creating a new Car Passenger if you want to make a duplicate of another Car Passenger)
- Entity Name = Anthony Young
- Folder ID = JKL-123
- Entity Folder ID = JKL-123 (parent folder’s ID)
- Parent Folder ID = JKL-123