Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

PDF Viewer will support class UI?

Gowtham_ford
Level 1
Level 1

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?

Gowtham_ford_0-1623760205234.png

 

0 Replies
Ritesh_M
Community Advisor
Community Advisor

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
Level 1
Level 1

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

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
@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.