GetViewList: get list of view names for a given module

GetViewList produces a list of: <SetVar View=”(view name)”/>

Tag Attributes

Attributes

Value Description

ListName

Name of list to fill with view names - required

ModuleName

Name of module to get views form - required

Verbose

When set to TRUE, displays a console trace for each element added to the list

Defaults to TRUE

 

Example Script

GetViewList creates a list that is used to feed a list in a UserInput dialog:

<GetViewList ListName="UserViews" ModuleName="Users"/>
<UserInput Title='Title'>
	<Variable Type='CheckList' Name='selViewUsers' Label='Views' Expand='True'>
		<ListItem Label='View' Value='View' ListName='UserViews'/>
	</Variable>
</UserInput>