Previous Topic: RunQuery Calling SequenceNext Topic: Dashboards


Parameters

Parameters for the sub-query can be specified as an XML fragment containing parameter specifications which will override those in the search definition for the sub-query. For example, to specify parameters to define a title parameter as 'My Title' and num_results parameter as 50 would need the following string:

'<parameters><parameter name="title" value="My Title"/><parameter name="num_results" value="50"/></parameters>'

Alternatively, parameters can be specified as a javascript array:

[{name:"title",value:"My Title"},{name:"num_results",value:"50"}]