Skip to content

Templates UIs

Creating Templates UIs

There are two ways to create Templates UI: by Generating the Templates UI or Manually creating the Templates UI by adding templates, Generating UIs is a quick workflow when generating only one UI from a Template while manually creating the UI is useful when creating UI for Multiple Templates.

Generating Templates UIs

To generate a UI:

  1. Go to Templates UI and click Browse Templates (the button then reads Hide Templates)
  2. Select the Template you want to generate a UI
  3. Click the Create UI button or Right+Click and select Create UI
  4. A dialog appears:

    • If no UI is selected in the User Interfaces list, the dialog reads "Selected template does not have a custom ui - Would you like to create one?". Click Yes to create the UI and No to cancel.
    • If a UI is selected, you are asked "Would you like to create a new UI or assign to <UI name>?" and offered three buttons: Cancel, Assign (assign the template to the UI you have selected) and Create (make a new UI for it).

    Erizos will automatically create a new UI with the selected templates assigned.

Generate TemplatesUI

Info

If the template already has a UI, the button and the context-menu item read Edit UI instead of Create UI, and the context menu also offers Show UI in list, Re-assign to selected and Delete.

Note

A Combo template cannot be used to create or assign a UI, and neither can the parent row of a Layers template - select the individual layer instead. The Create UI and Assign actions are hidden when the selected row cannot be assigned.

Manually creating the Templates UI

Manually creating UIs is beneficial when you want to use multiple Templates at the same time, the process is similar to Assigning Templates to UI

  1. Click Create New UI ( icon)
  2. Name your UI and click Create. The name is pre-filled with NewUI, NewUI1, and so on.
  3. Select the UI to be used, then click Browse Templates
  4. Select the Template in Templates Manager that you want to assign in the UI
  5. There are two ways to assign a template to a UI. Erizos Studio will assign the selected template to the selected UI.
    1. Right+Click the Template you want to assign and select Assign to selected.
    2. Drag and Drop the Template to the Middle Window.
  6. Confirm the prompt "Are you sure you want to assign <template> to <UI> UI".

Manual TemplatesUI

Tip

You can select multiple templates by Ctrl + Click and selecting templates at the Templates Manager

Assigning Templates to UI

Assigning templates is used when you have existing UIs and you want to add data from other templates

  1. Select the UI to be used, then click Browse Templates
  2. Select the Templates in Templates Manager that you want to assign in the UI
  3. There are two ways to assign a template to a UI, as describe below. Erizos Studio will assign the selected template to the selected UI.
    1. Right+Click the Template you want to assign and select Assign to selected.
    2. Drag and Drop the Template to the Middle Window.
  4. Confirm the prompt "Are you sure you want to assign <template> to <UI> UI".

Manual Assign TemplatesUI

Tip

You can select multiple templates by Ctrl + Click and selecting templates at the Templates browser

Re-assigning a template

If the template you drop or right-click is already assigned to a different UI, the action becomes a re-assign: the context-menu item reads Re-assign to selected ( icon) and Studio asks "Are you sure you want to reassign <template> to <UI> UI". Confirming deletes the old assignment before creating the new one, so a template is only ever assigned to one UI at a time.

Show/Hide Empty UIs

Erizos Studio can quickly hide/unhide empty UIs. in the example below, we have two empty UIs named Empty UI and PlayerInfo,

The Show Empty UI checkbox is in the Filter drawer of the User Interfaces list - click the Filter button to reveal it.

  1. When Show Empty UIs is checked, it will show all UIs, including UIs with no Templates

    Show Empty UI On

  2. When Show Empty UIs is unchecked, it will only show all UIs that are NOT EMPTY

    Show Empty UI Off

Adding and accessing Modules

To add and access Modules, Please visit Modules documentation.