Table Layout Template
The Table Layout Template is a layout template that can be used on a Data Page to format your data in a table. You have complete control over which columns to display, the column width, alignment, and how to format the data within each cell.
You may also consider the option of using a Grid Layout template to display your data, depending on your requirements.
On This Page
- Creating a Table Layout Template
- Configuring Columns
- Adding Columns
- Deleting Columns
- Re-Arranging Column Order
- Column Types
- Editing the Cell Template
- Row Actions and Edit Fields
- Quick Search
- Limiting Quick Search to Specific Fields
Creating a Table Layout Template
You can create a Table Layout Template from within the Publishing & Workflow Wizard. If you later decide to insert a page, the wizard will also give you the option to choose Grid or Table layout. You can also change your layout to Table on the Page Template property on the Layout Settings property panel.
Configuring Columns
To configure the columns used by the table:
- Click on the Data Page
- Expand the Layout Settings Property Panel
- Click the Column Config Icon to launch the Column Configuration Dialog.
Adding Columns
To add a new column, click the 'Add Column' button at the top of the Column Config Window
Deleting Columns
To delete a column, click the red X next to the column in the Column Config Window
Re-Arranging Column Order
You can drag and drop within the Column Config window to change the column order
Column Types
There are 3 column types to choose from when creating a new column.
Field/Value
Select this option when you want to output a Field Value. After selecting this column type and selecting the field you want to use, you'll be able to edit the cell template, apply wildcard modifier functions and any other formatting you see fit.
Text/Image
Select this option when you want to define your own custom content for the Cell. Note, you can also use wildcard values in this cell. Post creation, this table cell type behaves exactly the same as the Field/Value column.
File Download Link
Select this option if you want to include a link to download a file. Select the file field (or PDF field) and a link will be created to download the file.
Common Column Settings
All columns share the following common properties as shown below. Note, the column Config Rule button provides the ability to create a rule based on the currently logged in user (only applies when your Workflow is secured), to determine if the column is displayed at all to the user. This can be used in conjunction with a link to an Edit Page to, for example, only give the ability to edit to a specific logged in user.
Editing the Cell Template
Clicking the Edit Value button will launch the Rich Text Editor where you can insert Wildcards, use Wildcard Modifier functions and Conditional Content. If your Workflow is Secured, you can also use the CurrentUser Wildcards.
You can use Workflow Links and Workflow Widgets within any column cell template by clicking the toolbar icons within the column value editor.
Row Actions and Edit Fields
There are a couple of widgets that work particularly well within a table cell.
The Edit Field Widget inserts an editable field area in the table cell so that the field value can be quickly updated by the end user.
The Row Action Widget inserts a series of buttons to enable Delete, Edit and Trigger Action functionality.
Quick Search
Quick Search is the Type to Search box above the table. It appears when Include Quick Search is set to true in the page's Layout Settings.
What it searches:
- The saved values of the fields used in the table's columns. A field that is not used on the page is not searched.
- Part of a value is enough, and upper or lower case does not matter. Searching
ohfinds "John". - The Record ID, when the table has a Record ID column and the search is not limited to specific fields (see below).
- Text you type into a cell template yourself, such as a label or a button caption, is not searched. Only saved field values are.
Because part of a value is enough, a short number such as 165 finds every record that has 165 anywhere in the searched fields.
Limiting Quick Search to Specific Fields
You can choose which fields Quick Search looks in:
- Click on the Data Page.
- Expand the Layout Settings Property Panel (1).
- Click the icon next to Optmized Quick Search (3), spelled this way in the designer. The Select the Fields to include in the search window opens.
- Select the field you want searched and click Save.
- Click Save in the toolbar to save the workflow.
Before you limit the search:
- The window lists only your form's own fields. Record ID is not one of the choices.
- Once a field is selected, Quick Search looks only in that field. It no longer finds a record by its Record ID or by a value in any other column.
- To search by an ID you build yourself, such as a year and the Record ID together, save that value in its own form field and select that field here. A value that is only put together in a cell template is not saved, so Quick Search cannot find it as one piece.
For a separate search form with its own search fields, see Search Page.
0 Comments