Please help , what's wrong with "Dialog Path" property of my "Dialog Participant Step"?
first I can't modify it to dialog level like the doc(http://dev.day.com/docs/en/cq/current/workflows/wf-ref.html) mentioned that "The following value is used for the Dialog Path property: /etc/workflow/dialogs/EmailWatch/dialog" , but only I can set it to "/etc/workflow/dialogs/myComponent" like this. Below is myComponent json format:
{"jcr:createdBy":"vi.lang","allowedParents":["*/parsys"],"jcr:created":"Mon Oct 14 2013 02:36:27 GMT-0700","jcr:primaryType":"cq:Component","dialog":{"title":"Video Approval Dialog","xtype":"dialog","jcr:primaryType":"cq:Dialog","items":{"jcr:primaryType":"cq:WidgetCollection","common":{"title":"Common","jcr:primaryType":"cq:Panel","items":{"jcr:primaryType":"cq:WidgetCollection","isApproval":{"fieldLabel":"Video Approval","xtype":"selection","name":"./metaData/isApproval","allowEmpty":"false","type":"select","value":"yes","jcr:primaryType":"cq:Widget","fieldDescription":"Whether to approve","options":{"jcr:primaryType":"cq:WidgetCollection","yes":{"value":"yes","jcr:primaryType":"nt:unstructured","text":"Yes"},"no":{"value":"no","jcr:primaryType":"nt:unstructured","text":"No"}}}}}}}}
Another question is the doc ( http://dev.day.com/docs/en/cq/current/workflows/wf-ref.html) mentioned an example of EmailWatch component , where can I find the example ?
Solved! Go to Solution.
Views
Replies
Total Likes
I dragged a Dialog Participant Step onto my Workflow model and clicked the Dialog tab:
[img]ABox1.png[/img]
Now to drill down to the node in CQ that you want (that represents the dialog you want) -- you click the Search icon - this brings up the Select Path dialog that lets you drill down in the CQ JCR:
[img]ABOX2.png[/img]
The Dialog Path property is the path to the cq:Dialog node of the dialog you want to use. So you drill down into the JCR to locate the dialog. You have to know where its located. If for example, you placed it under apps/myapp/components/page/dialog - you have to drill to this location.
The EmailWatch compponent is not an out of the box CQ component -- it is an example used for this doc topic.
When you say you cannot modify the Dialog Participant Step - do you mean that you cannot get to the Select Path dialog that appears (the 2nd pic above)
Views
Replies
Total Likes
I agree it does not allow to select dialog node, But Please specify the path in the textbox. ex:- /apps/widgets/components/content/Samplecomp/dialog
Views
Replies
Total Likes
I dragged a Dialog Participant Step onto my Workflow model and clicked the Dialog tab:
[img]ABox1.png[/img]
Now to drill down to the node in CQ that you want (that represents the dialog you want) -- you click the Search icon - this brings up the Select Path dialog that lets you drill down in the CQ JCR:
[img]ABOX2.png[/img]
The Dialog Path property is the path to the cq:Dialog node of the dialog you want to use. So you drill down into the JCR to locate the dialog. You have to know where its located. If for example, you placed it under apps/myapp/components/page/dialog - you have to drill to this location.
The EmailWatch compponent is not an out of the box CQ component -- it is an example used for this doc topic.
When you say you cannot modify the Dialog Participant Step - do you mean that you cannot get to the Select Path dialog that appears (the 2nd pic above)
Views
Replies
Total Likes
The created dialog(/etc/workflow/dialogs/videoApproval/dialog) may has some problems, click the Search icon,can not choose to go to this cq:Dialog node
[img]20131022-01.PNG[/img]
[img]20131022-02.PNG[/img]
Views
Replies
Total Likes
Can you specify the path in the textbox as Sham suggests?
Views
Replies
Total Likes
Very thankful, i have specify the path in the textbox, but there is a problem, the dialog look and see when I'm editing different, how to adjust it?
[img]20131022-03.PNG[/img]
[img]20131022-04.PNG[/img]
Views
Replies
Total Likes
Can you provide snapshot?
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies