Copy link to clipboard
Copied
Hello,
i am building an ILST plugin where extensions are embedded.
The extensions are built with HTML and JS/Jquery - so not with the SDK panelsuit.
Espacially with CSXSWindowtype = "Panel" extensions I have some problems:
I actually only want to hide the panel through JS or C++ (Like hitting the X-Button) - I know questions like these have been around for a while! But there are so many inconsistent answers.
When I do CSInterface().closeExtension() the panel stays open, only the HTML content closes - in addition this is an unload which I don't want to do.
In the old CSXSInterface there where alot more functions like hiding etc. and also events when the panel is closed, and many more.
Where did they go? Will they be implemented in future interface releases?
And is there any workaround for handling a panel (the CSInterface functions are so many less then the CSXS functions) - or is there just sth. I missed when reading everything possible - and fighting through forums within a week?
Thanks for any answer!
When I do CSInterface().closeExtension() the panel stays open, only the HTML content closes - in addition this is an unload which I don't want to do.
This is buggy! This doesn't work at all. I had to close extension using c++ plugin, controller and unload extension method.
For hiding or display extension I do the same. Using C++ plugin. And load and unload method in HTLMController.
Copy link to clipboard
Copied
I've been looking for an answer to this as well. How do you show/hide a HTML5 panel either from within the script, or preferably from within the C++ aip?
Copy link to clipboard
Copied
When I do CSInterface().closeExtension() the panel stays open, only the HTML content closes - in addition this is an unload which I don't want to do.
This is buggy! This doesn't work at all. I had to close extension using c++ plugin, controller and unload extension method.
For hiding or display extension I do the same. Using C++ plugin. And load and unload method in HTLMController.
Copy link to clipboard
Copied
Thanks for clarifying that. It is what I was doing, but you answer prompted me to look for errors in other places. It turns out I was missing a semicolon in my js file that messed everything up.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now