Expand my Community achievements bar.

Referencing shared text

Avatar

Level 3

I am in the middle of creating shared text to be used on multiple pages.
I am adding the shared text on a page, and then linking to it from another page using the OOB "paragraph reference" component.

When highlighting the "sharedtextpage" below and using the "Tools/References..." menu within siteadmin, I receive a message stating
"the selected item is not referenced" even though its content is being used on that other page.

Am I using the paragraph reference component correctly; is this a known flaw in AEM 6.0?

For example:

The shared text is stored like this:

/content
  /geometrixx
    /en
      /services
        /sharedtextpage (cq:Page)
          /jcr:content
            /par (parsys)
              /text (foundation/components/text)
                text: my shared text here


... and the page is referencing the shared text like this:

/content
  /geometrixx
    /en
      /services
        /banking (cq:Page)
          /jcr:content
            /par (parsys)
              /reference (foundation/components/reference)
                path: /content/geometrixx/en/services/sharedtextpage/jcr:content/par/text

1 Reply

Avatar

Administrator

Hi 

Please refer to this Community Article:- http://blogs.adobe.com/experiencedelivers/experience-management/default-components-in-your-parsys/

// Make Component part of Template. It is pre-filled template, so when you create a page, it would have pre filled component. So all the pages create by template would have same content. 

When you make changes to content of template, the changes would get reflected across the pages.

Reference links:- 

http://suryakand-shinde.blogspot.in/2015/01/how-to-create-page-with-predefined.html [HOW TO CREATE A PAGE WITH PREDEFINED COMPONENTS?]

http://stackoverflow.com/questions/22392147/cq5-preload-a-parsys-with-components

 

I hope you can use this Predefined components for content sharing. And form 6.2, there is content fragment to help you achieving content sharing. 

Link:- https://helpx.adobe.com/experience-manager/using/content-fragments.html

 

~kautuk



Kautuk Sahni