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 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.
thank you! (y)