getreport() and save() will not include the "caption" property of the columns or rows


I use getreport() function to save report config, but it will not save the “caption” property (that I customized for my columns). How can I get the “caption” in the getreport() function?
Thank you.

2 answers

WebDataRocks Team WebDataRocks February 25, 2019

Hello, Wackiri!
Thank you for posting your question.
After setting a caption for a certain hierarchy, it is saved within the first JSON object (data types definition) of your data source.
Hope this demo will be helpful for you. It shows how to retrieve the caption of the specified hierarchy by getting an access to a Data Source Object.
Best regards,
WebDataRocks Team

wackiri February 26, 2019

thank you! (y)