Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Dialog Participant Step in the Touch UI

Avatar

Level 3

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?

1 Accepted Solution

Avatar

Correct answer by
Level 3

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.

View solution in original post

10 Replies

Avatar

Level 7

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.ht... ).
It clearly explains the differences of Touch UI and Classic UI for performing and delegating the participant step.

Avatar

Level 3

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.

Avatar

Community Advisor

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.

Avatar

Community Advisor

not everything is moved to Touch UI yet !!

Avatar

Level 3

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.

Avatar

Level 3

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

Avatar

Correct answer by
Level 3

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.

Avatar

Community Advisor

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

Avatar

Level 2

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.

Avatar

Level 2

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