PDF Viewer will support class UI? | Community
Skip to main content
Level 2
June 15, 2021

PDF Viewer will support class UI?

  • June 15, 2021
  • 2 replies
  • 2871 views

I have tried adding a dialog for PDF Viewer, to check the feasibility of the component in the classic UI for business requirement.

Is it possible to just have a dialog to say it can not be edited in classic UI?

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Ritesh_Mittal
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
June 15, 2021

Hi @gowtham_ford ,

 

I did not get your question quite clearly. Did you mean, if you can enable pdf viewer component authoring just for Classic UI by adding dialog? Then the answer is yes, we can extend any core component and can add new features (including dialog/ CQ dialog for Touch UI).

Gowtham2103
June 16, 2021

Hi Ritesh,

 

Yes your understanding is correct i need to enable the component in classic UI but if i add dialog it is not being enabled in classic UI.

What else i need to do for seeing the component in classic UI?

Dipti_Chauhan
Community Advisor
Community Advisor
June 16, 2021

Hi @gowtham_ford 

   You can probably add some custom informative message after checking current mode (u can use : Placeholder.isAuthoringUIModeTouch(request) to identify current editing mode)

Thanks

Dipti

kautuk_sahni
Community Manager
Community Manager
June 16, 2021
@dipti_chauhan, good to see our great AEM SME back into the community to assist others. Keep the great work going. Looking forward to your more participation here.
Kautuk Sahni