Display AEM Content Fragment in a Workflow Step | Community
Skip to main content
Level 2
May 26, 2018

Display AEM Content Fragment in a Workflow Step

  • May 26, 2018
  • 1 reply
  • 6037 views

In AEM 6.2 I created a simple workflow model with only participation steps. This is for reviewing/approving/publishing AEM Content Fragments.

I tried two options, but one doesn't work and the other seems to have an error...

  1. I created a workflow launcher that listens to the AEM Content Fragment section in /content/dam. When a change is made, the workflow gets triggered correctly. In the Inbox is also the link to the content fragment. When clicking the link, a download box appears that will download the content fragment as a physical file. This is not good for review purposes.
  2. In the navigation page I selected the content fragment. Then I selected "Timeline" and from there "Workflow". I selected the workflow model and started the workflow. The payload shows a different link now. When clicking on the payload link, nothing happens. If I select an asset, e.g. an image, these links show the image. But with an AEM Content Fragment the link does nothing.
    When I though mouse over the link, the status message shows a complete different link (see image).

What is the process to display an AEM Content Fragment from a workflow step when clicking on the payload?

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

1 reply

smacdonald2008
Level 10
May 29, 2018

A Content Fragment needs to be hosted in a page so ppl can see it - as discussed here - Adobe Experience Manager Help | Working with Adobe Experience Manager Content Fragments

Level 2
May 29, 2018

Yes, the link shows how to create an AEM Content Fragment. However, how do you review the content fragment in a workflow step? The payload has the link to the content fragment and will never have a link to another page containing the fragment.

It's similar to an asset in the workflow step: clicking on the payload link will display the asset.

If you look at the screenshot, you see that the payload link is not resolved propertly.

arunpatidar
Community Advisor
Community Advisor
May 29, 2018

FYI

I don't know if there is a bug, In notifications page it is creating assets link with assetdetails.html to open assets in Asset editor(which is correct) but for content fragment it should be opened like page with editor.html to see content fragments

http://localhost:4502/assetdetails.html/content/dam/we-retail/en/experiences/arctic-surfing-in-lofoten/arctic-surfing-in… 

http://localhost:4502/editor.html/content/dam/we-retail/en/experiences/arctic-surfing-in-lofoten/arctic-surfing-in-lofo…

even http://localhost:4502/bin/wcmcommand?cmd=open&path=%2Fcontent%2Fdam%2Fwe-retail%2Fen%2Fexperiences%2Farctic-surfing-in-l…  also opening Asset editor in classic UI.

Arun Patidar