Entity Template

<< Click to Display Table of Contents >>

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

Entity Template

Use

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.

 

Considerations

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

 

Properties

The following are properties exclusive to the Entity Template control:

 

Basic tab

 

PROPERTY

DESCRIPTION

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.

 

note_pin

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

 

Example

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.

 

EntityTemplate01

 

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.

 

EntityTemplate02

 

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.

 

EntityTemplate03

 

4. Save the changes and go to the work portal to test the results.

 

EntityTemplate04