Skip to main content
Named parameters help you debug FlexiLayouts. Their values are checked when the FlexiLayout is applied.

Create a named parameter

1

Open the FlexiLayout properties dialog box

2

Select the Named parameters tab

3

Click Add new...

Screenshot of the Input Named Parameters tab in the FlexiLayout properties dialog box, listing named parameters with their Name, Type, and Value columns and Add new, Edit, Reset, and Delete buttons.

Named parameter properties

Each named parameter has the following properties.

How named parameters are inherited

The FlexiLayout’s named parameters are inherited by its batches, and a batch’s named parameters are inherited by its pages. The Inherited from column on the Named parameters tab of a batch or page properties dialog box shows where each named parameter was inherited from.
Screenshot of the Input Named Parameters tab in a batch properties dialog box, where the Inherited from column shows whether each named parameter was inherited from the FlexiLayout or the Batch.
You can copy named parameters that have a defined value. If the destination already contains a named parameter with the same name and type, the copied parameter’s value is assigned to the destination parameter.

Named parameter commands

The following commands are available on the Named parameters tab of a FlexiLayout’s properties dialog box.

Call a named parameter from a script

To call a named parameter from a script, use one of the following methods, depending on the parameter type.

Add named parameters to elements

You can add named parameters with regions to elements by using the reference layout. Select one or more pages, right-click them, and click Properties… to open their properties dialog box. The Named parameters tab contains a list of available named parameters. You can edit them by clicking Edit…, or reset their value to that of the closest parent from which they can be inherited. Use the Prefix to discard box to specify a prefix to remove from the named parameter’s name. For example, you can use it to remove the names of layout alternatives from the names of named parameters.