Inside Activate
Development
Using Web.Instance.List
4 min
introduction web instance list is a parameter available on activate provisioning objects (mainly services, assets and tasks) which allows the activate administrator to configure the columns and values that appear on lists of that object the list of serviceinstances on a service for example, which is accessible via the "manage access" button on the service properties page the web instance list parameter is not included by default, a new parameter of type xml needs to be created this definition represents the default column configuration text format for copying and pasting \<list> \<standard> \<user name="user" visible="true"> \</user> \<name name="name" visible="true"> \</name> \<status visible="true"> \</status> \<owner visible="true"> \</owner> \<costcentre visible="true"> \</costcentre> \<services visible="true"> \</services> \<properties visible="true"> \</properties> \<assets visible="true"> \</assets> \<computer visible="true"> \</computer> \</standard> \<columns> \</columns> \</list> row types the columns on a row are evaluated against the row context the object type of the context can differ based on the root object service serviceinstancequery asset assetinstancequery job job servicedeskprovider ticket it's important when configuring a web instance list column that the expression fits the context adding custom columns name is the property name of the object in context in the row, e g in the example below for a service, the column value in the grid would be the name of the service (serviceinstancequery name) \<columns> \<column title="service name" name="name" visible="true">\</column> \</columns> if the name attribute is not set on the column it uses the innertext which can be an expression, this example ends up with the same result as the example above \<columns> \<column title="service name" visible="true">=/name\</column> \</columns> values from data can also be shown on the list \<columns> \<column title="textbox1" visible="true">=/data/textbox1\</column> \</columns>