0

I want to add a button to EE edit frame so that when clicked it will open a popup window with some custom data/fieldValue.

For example, when you click "Usage: " button at the end of the edit frame menu.

enter image description here

How to achieve this..

2
  • What version of speak are you using? Commented Apr 3, 2019 at 12:27
  • on sitecore 9.0 Commented Apr 3, 2019 at 13:07

1 Answer 1

1

You can add a DialogWindow component on your app's presentation details.

In your javascript add a function to open the dialog window.

openUploadDialog: function () {
  this.UploadDialog.show();
},

Then, you can call this function with a button or other trigger.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.