Publish to Preview Option for Content fragments | Community
Skip to main content
Level 3
May 22, 2024
Solved

Publish to Preview Option for Content fragments

  • May 22, 2024
  • 1 reply
  • 1528 views

Hi, 

I'm using AEM On Premise

Can anyone let me know how to set Publish to preview option/button for content fragments.

I have referred this - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-assets/preview-url-content-fragment-model-s-properties/m-p/591112. It says minor customization done but didn't mention any.

 

Thanks in Advance!

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 avesh_narang

@priyak-1 I doubt this feature is available on On Premise , since its supported for onCloud instance only that too with special configurations provided on request .

It's basically to support Remote SPA and provides WYSWYG experience for authors in headless architecture .

 

But if you want to customize the code and its functionality , here is the path

/libs/dam/cfm/models/console/components/model/cq:dialog/content/items/tabs/rankedItems/basic/items/details/items

 

to add new field . You should overlay and customize as per your need .

 

 

 

 

1 reply

gkalyan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
May 22, 2024

@priyak-1 

 

You can try this link

https://experienceleague.adobe.com/en/docs/experience-manager-learn/getting-started-with-aem-headless/how-to/preview

 

To enable the "Publish to Preview" option for Content Fragments in AEM On-Premise, you need to configure the Preview URLs for your Content Fragment Models. Here are the steps:
  • Select the Content Fragment Model you want to configure and click on "Properties" in the top action bar.
  • In the "Properties" dialog, locate the "Preview URL" field.
priyak-1Author
Level 3
May 22, 2024

@gkalyan I'm unable to see the Preview URL field. I'm using 6.5.14. Attaching below screenshot for the same.

 

And the link you've attached refers to AEM as Cloud.

 

avesh_narang
avesh_narangAccepted solution
Level 3
May 23, 2024

@priyak-1 I doubt this feature is available on On Premise , since its supported for onCloud instance only that too with special configurations provided on request .

It's basically to support Remote SPA and provides WYSWYG experience for authors in headless architecture .

 

But if you want to customize the code and its functionality , here is the path

/libs/dam/cfm/models/console/components/model/cq:dialog/content/items/tabs/rankedItems/basic/items/details/items

 

to add new field . You should overlay and customize as per your need .