Editing a template's layout makes it easy to create fill-in forms for journalist. With drag & drop functionality, creating new fill-in forms is quick and easy.

  • When a template is created, only the auto-generated form is displayed. The layout of this form cannot be modified.

  • Adding new tabs enables you to quickly create additional fill-in forms based on selected fields.

  • When adding new tabs, the default auto-generated form is accessible in the All tab. The auto-generated tab can be hidden from the Pilot Edge user.

  • In the additional tabs, it is possible to resize, move, edit, add and delete fields quickly.

This section covers the following topics:

Follow the steps below to get started.

Creating a Template

  1. Open or create a new template and add a scene.

  2. Click Fill-in form. The default view is then displayed:

    image-20250221-123554.png
  3. The toolbar in the middle has the following functions for the Fill-in-form:
    image-20250206-160649.png Add a new Tab (fill-in form). All tabs are visible in Viz Pilot Edge.
    image-20250206-160719.png Enter layout edit mode. Only enabled in additional tabs, not enabled for the default auto-generated All form. Click this to be able to move and resize fields.
    image-20250206-160801.png Allow temporary editing of read-only fields. This is only when working with the template in Template Builder, it is not stored anywhere.
    image-20250206-160855.png Reveal hidden fields. In the auto generated All mode, some system fields are also revealed (for instance the title, the auto generated title, the resolved concept and variant).
    image-20250206-160909.png Refresh HTML panel(s) in the template or the full HTML panel if the template is represented by a custom HTML panel.
    Add field to view: Adds the field selected in the field tree to the current custom tab. Disabled on the All tab, when no field or more than one field is selected, and when the field is already in the tab.
    Label, Button, Panel, HTML fragment and HTML panel: Add a UI item of that type to the current custom tab, or into the selected panel. Not available on the All tab. See Panels, Buttons and Labels, Inline HTML Fragment and Inline HTML Panel.

Adding Alternative Layout Forms

To create an additional template representation, click the Create New Tab button :

Enter a new title for your new tab and click OK:

image-20250221-123838.png

There are 3 ways of adding fields to the new form by selecting one of the following options:

  1. The All option in the dialog box, then all fields in the auto-generated form are added to the new form.

  2. The Selected option only includes selected fields in the new form.

  3. None creates a new empty form.

Moving, Resizing and Aligning Fields

  1. Click the ruler button to enter edit layout mode

  2. Move and resize by grabbing the edges of each field.

  3. Holding the pointer at the bottom edge of the form for about a second while moving or resizing an item grows the form downwards, one row at a time.

  4. Align fields by:

    1. Selecting multiple fields and UI components.

    2. Right click and select Align > Left, Right, Top or Bottom.

    3. The components are now aligned.

      image-20250908-110437.png

Copying and Pasting Items

In layout edit mode on a custom tab, Ctrl+C and Ctrl+V, or Copy and Paste in the right-click menu, copy the selected fields and UI items and paste them into the current tab. This also works across browser tabs in the same browser. The clipboard is kept for 24 hours and holds at most 250 items. Name conflicts are resolved in the Field Name Conflicts dialog.

Renaming, Deleting and Reordering Tabs

Right click an additional tab (not the auto-generated All tab) to reveal the following functionality:

image-20250221-124047.png

Now you can rename (Rename), reorder (Move left, Move right) or delete (Delete) each tab, and switch its layout with Switch to stacked layout or Switch to grid layout. In stacked layout the items are placed one below the other, without positions or sizes. Switching to stacked layout asks for confirmation and permanently deletes the grid layout.

Hiding and Showing the Auto-Generated Tab

You can hide the auto-generated All tab from the Viz Pilot Edge user:

  • Click Template Properties.

  • Select Hide generated form:

image-20250221-124407.png

Component Tree

Click Toggle component tree at the right end of the tab row to show the items of the current custom tab as a tree. The button is disabled on the All tab. The tree lists all items of the tab, including hidden items and the items inside panels. Selecting an item in the tree selects it in the form.

Drag items in the tree to change their order, which sets the tab order and the z-order, or to move them into or out of a panel. Delete removes the selected items from the tab; their fields stay in the model.