InvokeDataSourceProcess

Top  Previous  Next

Since v5.0

InvokeDataSourceProcess can be used to invoke the data sources. Typically data sources are invoked by the Display Page Service during preparing of the Page XML Data.

This process gives the possibility to invoke a data source at any time and to specify the target ADOM that will contain the generated data.

  <process name="Invoke_products" basedon="moremotion.InvokeDataSourceProcess">
    <param name="dsname">products</param>
    <param name="adomName"></param>
    <param name="scope"></param>
    <param name="force"></param>
    <param name="dsparam1"></param>
    <param name="dsparam2"></param>
     ...
  </process>

Parameters

dsname (Accepts MScript)

The name of a dataSource element that will ve invoked.

adomName (Accepts MScript)

The name of the target ADOM optionally preceded by a scope sign, that will contain the generated data by the data source. If left unassigned the name of the ADOM becomes the name of the data source. Examples: products, r:cats, s:userdata

force (Accepts MScript)

Whether or not to force the data source to regenerate the data even though the refresh timeout period is not yet expired.

dsparam1, dsparam2, .. (Accepts MScript)

The parameters used by the data source. Assume that a parameter with name "SCART_ID" is defined here. It, then, can be used in the data source properties either as @vof(SCART_ID) or better @vof(c:SCART_ID).