I have a report (attached) with a data source linked to the sample json-resource.
Data source has a master-detail structure (nested array fo childs) same as the json.
In the report childs are grouped by parent relation (parent group key) and each group is showed
If I try to open report in preview-mode - I see grouped result fine
If I try to generate report via SDK by C# code - then parent relations are empty and report shows only one empty group.
Code: Select all
var templateBody = request.TemplateBody;
report.Load(templateBody);
await report.Dictionary.SynchronizeAsync();
await report.RenderAsync(new StiRenderState(false));
Why there is the such big different between outputs (same template)?