Thanks for the reply, I'm a colleague of Darren's continuing his investigation, and your answer worked fine up to a point - I'm looking at the next two problems:
1) My XML now contains this:
<Dimension Initial="STUDY" Label="Dimension 1" />
<Initiate Name="Chart.Dimension.0.Field" Value="STUDY" />
<Dimension Initial="GROUP_ID" Label="Dimension 2" />
<Initiate Name="Chart.Dimension.1.Field" Value="GROUP_ID" />
<Dimension Initial="THING" Label="Dimension 3" />
<Initiate Name="Chart.Dimension.2.Field" Value="THING" />
If I right-click on my new object in the Ajax client, I see 3 dimensions, labelled 1, 2 and 3, and the first is initiated to STUDY and the second to GROUP_ID.
The third dimension field however is blank, as if you can only initiate a maximum of two dimensions. Is this the case or am I doing something else wrong?
2) How do I similarly pre-populate my incoming Measurements?
<Measurement Label="Measure 1" Initial="Sum(Measure)"/>
<Initiate Name="Chart.Measurement.0.Field" Value="Avg(VALUE_NUMBER)" />
The above lines in XML don't seem to work. I can't find any documentation about how to use the QV object model as above. What exactly is "Chart" in this context? Will the API documentation help me because I can't seem to find a "Chart" object type?
Thanks very much,
I've answered number 2) for myself with some more investigation.
The answer is use the following term:
<Initiate Name="Chart.Expression.0.0.Definition" Value="Avg(VALUE_NUMBER)" />
which I think is a tad unintuitive.
For the record, I found this information in the SDK documentation here:
which has lots of other interesting information, and is linked from the main SDK page for QlikView Version 11 which is here: