Dialog Participant Step in the Touch UI | Community
Skip to main content
marissaw9851252
Level 3
October 16, 2015
Solved

Dialog Participant Step in the Touch UI

  • October 16, 2015
  • 10 replies
  • 4701 views

With AEM 6.1, can you use a Dialog Participant Step in the Touch UI?  If so, is there any documentation out there on how to do it?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by marissaw9851252

I figured out how to do this.  You need to add a "touchUiDialogPath" property to the classic ui dialog you create and set it to the path where your touch ui dialog is.  This appears to be supported in 6.1.

10 replies

Techaspect_Solu
Level 7
October 16, 2015

Hi,

1.Open the AEM Inbox.(for example, http://localhost:4502/notifications.html)

2.Activate the click box next to the item you want to take action on.

3.Use the Complete icon(Tick Mark)

4.The Complete Work Item page will open.
Select the Next Step and add a Comment if required. Use Complete to complete the step (or the Back icon to abort the action)

For Further reference you can check the link ( http://docs.adobe.com/docs/en/aem/6-0/author/site-page-features/workflows/participating-workflows.html ).
It clearly explains the differences of Touch UI and Classic UI for performing and delegating the participant step.

marissaw9851252
Level 3
October 16, 2015

In AEM 6.0, the Dialog Participant Step was not supported in the Touch UI.  Has this issue been resolved for 6.1?  The article above does not address the Dialog Participant step.

Lokesh_Shivalingaiah
Level 10
October 16, 2015

Also, dialog participant step has touch UI, if you go via the http://<domain>:<port>/notifications.html 

and the dialog you have used should be Touch UI dialog.

Lokesh_Shivalingaiah
Level 10
October 16, 2015

not everything is moved to Touch UI yet !!

marissaw9851252
Level 3
October 16, 2015

When I use the Dialog Participant Step, it only allows me to select a classic UI dialog for the Dialog Path.  Are there any instructions out there on how to configure this for a Touch UI dialog.

marissaw9851252
Level 3
October 16, 2015

Thanks. Do you know for sure that this is one of the items that has not been moved over yet in 6.1?

marissaw9851252
marissaw9851252AuthorAccepted solution
Level 3
October 16, 2015

I figured out how to do this.  You need to add a "touchUiDialogPath" property to the classic ui dialog you create and set it to the path where your touch ui dialog is.  This appears to be supported in 6.1.

Lokesh_Shivalingaiah
Level 10
October 16, 2015

Thats correct !! I was about to type the same..

Level 2
November 25, 2015

Hi ,

I am also using the dialog participant step to get the date from the user.

I would like to get the touchUI dialog  to get the date from the user.

I used the same methodology to update the classicUI dialog with a property touchUIDialogPath property with the touchUI dialog path. But still gives me an error of "'touchUiDialogPath' property invalid"

 

Here is my code for classicUI dialog:

<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
    jcr:primaryType="cq:Dialog"
    title="Publish Later"
    xtype="dialog">
    <items jcr:primaryType="cq:WidgetCollection">
        <absoluteTime
            jcr:primaryType="cq:Widget"
            allowBlank="{Boolean}false"
            fieldLabel="Please schedule the item for publishing"
            name="absoluteTime"
            touchUiDialogPath="/etc/workflow/dialogs/cbussuper/activate-later/cq:dialog"
            xtype="datetime"/>
    </items>
</jcr:root>

 

Code for touchUI dialog:

<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
    jcr:primaryType="nt:unstructured"
    jcr:title="absoluteTime"
    sling:resourceType="cq/gui/components/authoring/dialog"
    helpPath="en/cq/current/wcm/default_components.html#Title">
    <content
        jcr:primaryType="nt:unstructured"
        sling:resourceType="granite/ui/components/foundation/container">
        <layout
            jcr:primaryType="nt:unstructured"
            sling:resourceType="granite/ui/components/foundation/layouts/fixedcolumns"
            margin="{Boolean}false"/>
        <items jcr:primaryType="nt:unstructured">
            <column
                jcr:primaryType="nt:unstructured"
                sling:resourceType="granite/ui/components/foundation/container">
                <items jcr:primaryType="nt:unstructured">
                    <absoluteTime
                        jcr:primaryType="nt:unstructured"
                        sling:resourceType="granite/ui/components/foundation/form/datepicker"
                        name="absoluteTime"
                        required="{Boolean}false"/>
                </items>
            </column>
        </items>
    </content>
</jcr:root>

 

Your help is much appreciated.

Level 2
November 25, 2015

Sorry my mistake, found the way out. It works fine for me now.

I was using the touchUIDialogPath parameter at a different level than classic UI dialog level.

 

Cheers