Creating and Using Folder EntitiesLast Updated: 08/18/2016 Introduced in Verision: 2.0
Folder entities are defined data structures (think “object”) which can be added to a folder via the Add > [MyFolderEntity] action. Folder entities can be created within a Designer Folder via the Create Datatypes button.
In our example, we will complement a pre-designed folder extension called Car with a new folder entity called CarPassenger.
Begin by navigating to a Designer Folder, and selecting the Create Datatypes > Folder Entity action.
In the resulting Edit object pop-up, define our first data member as a String and call it “FirstName.”
Define two additional data members – LastName and SeatPosition. To complete our configuration of the CarPassenger entity, select all of the checkboxes in the pop-up and click OK.
Our new folder entity has been created and is ready for use. Additionally, the CarPassenger data type is also available for use, (for example, within a flow).
Back in the portal, when we navigate to a Car folder, its Action menu now offers the ability to add a CarPassenger to the folder.
In the resulting Add Car Passenger pop-up, fill in the properties of our new CarPassenger, and then click OK.
When we refresh our view of this folder, notice the CarPassenger entity exists in the Car folder.