Entity Template

<< Click to Display Table of Contents >>

Navigation:  Bizagi Studio > Process wizard > Define Forms > Form Controls > Control list >

Entity Template


The Entity Template control displays the Template defined for a specific entity, for the Stakeholder. For more information about how to configure a template, refer to Data Template.



To use an Entity Template Control, you have to consider that the template selected can be visible for the Stakeholder in the Work Portal.



Every control has a set of properties that allow to customize its behavior in the Work Portal. However, some properties are exclusive to a specific control. The following are properties exclusive to the Entity Template control:


Basic tab




Data source

XPath of the Entity that will be displayed through its Template.

Select a template

Expand the Select property property's drop-down list and select one of the three options.

Default: Select the value when you want to display the default template of the chosen Entity. Bear in mind that Bizagi uses a basic template that chooses random attributes of the entity to which a record belongs to.

New Template: this option will open the Template wizard in order to allow you to create a New template for the Entity previously chosen in Data source property.

Select a Form: choose from a list of templates previously defined for the Entity.



Clicking the Set to default value icon will reset the properties.



In the next example we will use our Bizagi Hospital project. In the Triage activity, the doctor collects data related to the patient, the information of the patient has to be displayed in this form. We have defined previously a template for Patient from Nurse therefore, we can use an Entity Template to add this template to the Form.


1. Go to the Triage process and open the related form for the Triage Activity. Go to Controls tab and expand Bizagi controls.

Drag and drop the Entity Template control.




2. Open the control's properties and set the Data source. As we mentioned before, the template is for the Patient information, so the XPath to set will be Triage.Patient.




3. Select the template to be displayed in the form. As we mentioned above, we already have created the Template for Patient, select it from the list of existing templates.




4. Save the changes and go to the Work Portal to test the results.