Is it possible to use Sitecore specific prompt dialog in Experience Editor, like this below? enter image description here If so, can somebody provide an example, please?

2 Answers 2


ExperienceEditor.Dialogs.prompt usually used for this, here an example below for Experience Editor ribbon button:

define(["sitecore", "/-/speak/v1/ExperienceEditor/ExperienceEditor.js"], function (Sitecore, ExperienceEditor) {
    Sitecore.Commands.MyCommand =
        canExecute: function(context) {
            return true;
        execute: function (context) {
            ExperienceEditor.Dialogs.prompt("Enter a value:", "Default value", function (newValue) {

I have used this blog before to create a custom dialog when publishing an item through the experience editor: https://blog.istern.dk/2015/03/02/running-sitecore-field-editor-from-a-speak-command-in-sitecore-experience-editor/

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.