Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CEP vs. CSXS - what about the old extension functions?

Explorer ,
Feb 09, 2015 Feb 09, 2015

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!

TOPICS
SDK
1.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Enthusiast , Mar 08, 2016 Mar 08, 2016

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.

Translate
Adobe
Engaged ,
Mar 08, 2016 Mar 08, 2016

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Mar 08, 2016 Mar 08, 2016

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Mar 09, 2016 Mar 09, 2016
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines