I am opening a speak dialog from a custom step that I have introduced to the uiDeleteItems pipeline. How can I get access to data from the pipeline (fx the items being deleted) in the javascript code of the dialogue?
In my pipeline step I open the dialog like this:
SheerResponse.ShowModalDialog(new ModalDialogOptions("/sitecore/client/Applications/Dialogs/MyCustomDialog")
{
Width = "400",
Height = "800",
Response = true,
ForceDialogSize = true,
Message = args.Parameters["items"] //this was an attempt to pass data..
});
I was hoping that I somehow could acces the Message with the item ids. But I can't find a property on the dialog that gives me access to the message.