I am trying to configure cd_storage and getting issue in setting up dynamic component presentation as they get over written by child and published to same folder from every publication.
I know we can define the publication level settings but once we define that then it expect us to define everything inside that publication tag. We do not want to define every thing 50 times in publication tag.
Could any one suggest the best practice for same.
this is for sdl tridion 2011 sp1
Thanks in advance...
Your problem is in how you defined your storage configuration for the storage which you use to store ComponentPresentations. There is a flag in the definition of a storage which sets exactly this type of behavior:
defaultFilesystem
. You probably have it set tofalse
which causes all ComponentPresentations from all publications to be stored in the same location. By setting this flag totrue
you will get ComponentPresentations from different publications stored in different locations. I will give an example to show how this works in cd_storage_conf.xml:This is really easy to maintain and will make the Broker to store ComponentPresentations to locations like:
c:\temp\cpRoot\pub109\dcp\jsp\***
(here I havepublicationId=109
).Hope this helps.