Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Multiple components referencing single DCR
ssharma
Suppose we created a component named PAGE1_TEASER and displayed the underlying DCR using teaser.xsl. Therefore, when an author created a DCR (say) "Living_in_Canada.xml", it would be rendered thru the component PAGE1_TEASER on a PAGE1.
Now, we created another component PAGE2_ARTICLE which references the same DCR and displays it using article.xsl.
If we put component PAGE2_ARTICLE on a seperate page PAGE2 it will render "Living_in_Canada.xml" using article.xsl.
Now, our requirement is that the author/content-contributor should be able to go to PAGE1, click on the component PAGE1_TEASER, create a new DCR (say) "Housing_in_America.xml" and publish/assign it to that component. This new DCR "Housing_in_America.xml" should now become automatically available on PAGE2 thru PAGE2_ARTICLE component.
In other words, the components PAGE1_TEASER and PAGE2_ARTICLE reference the same DCR - which is frequently changed (replaced by NEW ONE) by the author.
Please advise if there is some mechanism available whereby we can achieve this out-of-the-box.
Find more posts tagged with
Comments
Logicee
If I understand correctly, you want to use the same DCR to update two different pages and if a new DCR is used for the first page, then the second page should automatically switch to the new DCR as well? I am not sure if it can done out-of the box. But with customizations automatic update of the different .page files can be done. Usually it is done using triggers. But needs some research.
ssharma
Thanks Logicee - you understood our problem correctly.
Could you give some leads regarding the triggers approach that you mentioned.