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

Anyway to script opening a panel?

New Here ,
Oct 25, 2015 Oct 25, 2015

Is there anyway to script opening an extension panel from js?

I'm currently developing a panel acting as a toolbox.

I'd like for the toolbox to be able to open Modal dialogs.

Looking through the Samples project I found the HTML Test Modal dialog which looks like what I want.

I just need a way to trigger the dialog to open.

I also would like to script closing the panel as well.

Any ideas?

Thanks,

Brennan

TOPICS
SDK
916
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

Adobe Employee , Oct 26, 2015 Oct 26, 2015

From JavaScript? Yes; search the CEP_HTML_Test_Extension‌ you're already referencing, for 'requestOpenExtension'.

What would you like to do in your dialogs?

Translate
Adobe Employee ,
Oct 26, 2015 Oct 26, 2015

From JavaScript? Yes; search the CEP_HTML_Test_Extension‌ you're already referencing, for 'requestOpenExtension'.

What would you like to do in your dialogs?

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
New Here ,
Oct 26, 2015 Oct 26, 2015

Awesome!

That accomplishes everything I'm looking for.

Thanks!

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
Participant ,
Jul 26, 2017 Jul 26, 2017

I've got another, related question for you. Is there a way to launch several panels into a new panel, docked together as tabs?

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
Adobe Employee ,
Jul 27, 2017 Jul 27, 2017

One extension can provide a UI with multiple tabs.

Multiple extensions can be opened and docked into an Adobe app's Workspace. You could save a Workspace with all panels configured, to your liking.

There is no way to 'force' one independent extension, to open as a tab in another extension.

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
Explorer ,
May 05, 2023 May 05, 2023
LATEST

How about maintaining links? 9 out of 10 links on this forum are broken. 

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