In Experience Editor Mode when we click on the work flow command,the below dialog box comes up, How can I show a customized dialog instead of default:

enter image description here

  • That is similar, How can i add field in this. Suppose i want to add EmailId or a Subject text field.
    – Debaparna
    May 6 '20 at 12:43
  • Just replace the Context.ClientPage.ClientResponse.Input("Enter a comment:", string.Empty); args.WaitForPostBack(); with whatever you want May 6 '20 at 13:32
  • It is not working for me, I am using Sitecore 9. I have created a custom class with the method comment and added the custom Field and in Shell/Application/WorkBox/Workbox.xml i have updated the code beside as my custom class. The changes are not getting reflected in Page. Also I have a custom xml in shell/Application/Dialogs/Custom.xml, this file contains custom Fields and its code beside is a custom cs.When i click on a workflow from Gutter in Content Editor mode the above custom dialog box comes up. Why is it not coming for ExperienceEditor.the behaviour of Gutter and EE workflow isnt same?
    – Debaparna
    May 7 '20 at 6:11

Create a new custom template for comments. enter image description here

Assign this template to the respective workflow command in the Comment Template field

enter image description here

Now you can see your customized dialog

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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