Creating a variable slice
To create a variable slice requires an XML variable with a specific structure.
To see the required structure of the XML variable, you can create a standard slice, select it in the Accessories pane, and copy its XML definition from the Advanced section of the Properties pane.
You use the INITSLICERS function to create the XML, and the SETPPROPERTY function to modify the XML.
- In Design mode right-click the Slices folder in the Accessories pane and select .
- Select as the type of slice.
- Specify a name for the slice and, optionally, a description.
- Select the variable that contains the slice definition and click .