Opening a dialog on click of a button component | Community
Skip to main content
Level 2
Aug 4, 2017 8:17 AM UTC
Solved

Opening a dialog on click of a button component

Hi,

I am using AEM 6.3 and have made a button component in touch UI. I want to open a dialog box which will have pathbrowser field on click of that button. Can anyone please help me on how to do it.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
VeenaVikraman
VeenaVikramanAccepted solution
New Participant
Aug 4, 2017 6:43 PM UTC

I do agree with scott and ratna. If you are trying to open a dialog in preview mode may be you have to revisit your requirements

13 replies

Level 2
Mar 26, 2022 3:30 AM UTC

Hi @rohits64600205 ,

 

were you able to get any solution for this use case?

 

 

Translate
Level 2
Aug 7, 2017 5:44 AM UTC

Hi Veena,

You are correct I am working on tool. I have already attached one screen shot. Please can you look into this. I want a dialog to open on click of the button in author preview environment.

Translate
VeenaVikraman
VeenaVikramanAccepted solution
New Participant
Aug 4, 2017 6:43 PM UTC

I do agree with scott and ratna. If you are trying to open a dialog in preview mode may be you have to revisit your requirements

Translate
smacdonald2008
Level 10
Aug 4, 2017 5:34 PM UTC

Ratna is correct - you cannot open an AEM dialog for a component in Preview mode.

Translate
Ratna_Kumar
Level 10
Aug 4, 2017 5:32 PM UTC

Hi Rohit,

As far as I know in AEM, you can view the page in preview mode that how the page looks after authored.

It is not possible to open the dialog in preview mode. You can author or open the dialog only in Edit mode.

Hope this helps!

~Ratna.

Translate
VeenaVikraman
New Participant
Aug 4, 2017 2:31 PM UTC

Hi rohits64600205​

          What are you trying to achieve here ? is it some kind of tool you are working on which needs a dialog to open ?  If you have Mock up can you add the screenshots here ?

Thanks

Veena

Translate
VeenaVikraman
New Participant
Aug 4, 2017 2:13 PM UTC

I agree with scott smacdonald2008 For end users , anything you open can be handled via Jquery actions.

     Can you let me know your exact use case? May ne I can help? I am trying to understand the requirement like this in preview mode in author ?

Translate
Level 2
Aug 4, 2017 2:08 PM UTC

Hi seems the link You shared is for opening dialog in author mode. I want a dialog should open on click of a button . i dont remember any example in Adobe but I can give some screen shots of how it should work . Please note on click of create this dialog box is appearing.

Translate
smacdonald2008
Level 10
Aug 4, 2017 1:29 PM UTC

I am looking for an example - if we have one within Adobe.

Translate