Hi,
I'm trying to build a custom panel that uses the API to do a query related to the selected item in screen, but the documentation doesn't really explain how to use the "advanced" section of the custom panels definition. I need to get the id of the parent project of the selected task and then do a query with this value. However, I'm not able to put this id as a javascript variable to properly build the query. If I use the HTML section and put a "<script>" tag it gets removed by Clarizen when the panel is rendered. In the script section I cannot use Clarizen variables or formulas. And finally in the data section (JSON format) it says I can use variables or formulas but they don't actually get evaluated when the page is rendered. I don't even know how it is possible to mix curly brackets from the JSON objects and the Clarizen formulas and still make sense of it. Can you please help me?
Thanks in advance.