Skip to main content
marissaw9851252
Level 3
Okt. 16, 2015 2:28 AM UTC
Beantwortet

Dialog Participant Step in the Touch UI

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?

Dieses Thema wurde für Antworten geschlossen.
marissaw9851252
Level 3
Okt. 16, 2015 2:28 AM UTC

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 Antworten

Lokesh_Shivalingaiah
Level 10
Okt. 16, 2015 2:28 AM UTC

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

Übersetzen
marissaw9851252
marissaw9851252AutorAntwort
Level 3
Okt. 16, 2015 2:28 AM UTC

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.

Übersetzen
marissaw9851252
Level 3
Okt. 16, 2015 2:28 AM UTC

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

Übersetzen
marissaw9851252
Level 3
Okt. 16, 2015 2:28 AM UTC

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.

Übersetzen
Lokesh_Shivalingaiah
Level 10
Okt. 16, 2015 2:28 AM UTC

not everything is moved to Touch UI yet !!

Übersetzen
Lokesh_Shivalingaiah
Level 10
Okt. 16, 2015 2:28 AM UTC

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.

Übersetzen
marissaw9851252
Level 3
Okt. 16, 2015 2:28 AM UTC

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.

Übersetzen
Techaspect_Solu
Level 7
Okt. 16, 2015 2:28 AM UTC

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.

Übersetzen
Level 2
Nov. 25, 2015 5:47 AM UTC

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.

Übersetzen
Level 2
Nov. 25, 2015 6:23 AM UTC

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

Übersetzen