PRELIMINARY INFORMATION - SUBJECT TO CHANGE
Forces the flex layout for the current item. Must be the first FlexLayout viper method invoked.

Syntax

Smartsite SXML CopyCode image Copy Code
integer this.forcelayout(locator sourceItem)

Parameters

Name Data Type Description
sourceItem Locator The flex layout item to be used to render the current item (use 0 to load configured layout).

Return Value

Data Type Description
Integer The flex layout itemnumber on success, 0 on failure.

Used in

Macro Description
SXML