Customize "Preview" button in edit mode to open a dropdown with options on click. | Community
Skip to main content
Level 4
September 19, 2023
Solved

Customize "Preview" button in edit mode to open a dropdown with options on click.

  • September 19, 2023
  • 2 replies
  • 1287 views

Hi,

I want to customize the "Preview" button in edit mode which when clicked on it should open a dropdown having 2 options(just like how 'Edit' button shows a dropdown when clicked on it).
Any thoughts here ?

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

The example I need is more on the Preview button, I tried implementing in the same way like how 'Edit' shows a popover and 4 options when clicked on it but I want to know how I can have my own options when clicked on the Preview button. 


Have you checked the customization console option I provided in the previous replies. You need to follow the same steps to add your options. 

2 replies

Adobe Employee
September 19, 2023

Hi @shibani06 ,

 

Yes you can achieve this by customizing the console . Please refer Customizing the Consoles | Adobe Experience Manager . Also Page editor console is available at /libs/wcm/core/content/editor.

 

Thanks,

Nikita Garg

SHIBANI06Author
Level 4
September 20, 2023

Thanks @nikita___garg but do you have an example specific to this use case?

Nikita___GargAdobe EmployeeAccepted solution
Adobe Employee
September 20, 2023

The example I need is more on the Preview button, I tried implementing in the same way like how 'Edit' shows a popover and 4 options when clicked on it but I want to know how I can have my own options when clicked on the Preview button. 


Have you checked the customization console option I provided in the previous replies. You need to follow the same steps to add your options. 

kautuk_sahni
Community Manager
Community Manager
November 23, 2023

@shibani06 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni