Altio Blog » AltioLive: Repeating actions using List controls

AltioLive: Repeating actions using List controls

Filed under: Developers | February 6, 2009 Tom Martin @ 13:42

It is possible to call a service request once for every selected row in a List control. This approach is often used when there is no other mechanism to handle batch processing and so the only option is to call a service repeatedly.

List Properties

Property Value
Multi-row select Y

 

The name of the columns in the list control need to match the parameter names expected by the service request, otherwise the service request will be called incorrectly.

Service Request Event Parameters

Property Value
Multi-select (List) {Name of the list that will provide the required values}
Parameter source STRING
Parameter string (Optional) Additional data to be supplied to the service request. This data will be supplied with the data in each row of the list.

The parameter source string cannot contain references to the list, however - service function parameters configured in the App Manager must map directly to column names in the list. 

Example parameter string value:
addtionalData=”eval(${TextBox.value})”

 

Configure the service request to accept repeated calls

Data passed from the client is referenced using normal parameter syntax e.g. ${client.addionalData}. The columns in rows from the list used for multiple row processing are referenced using their column name e.g ${client.COL1} assuming there is a column name COL1 in the list.


No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Show/Hide All
    Follow us on Twitter