Is there any documentation on how to use the cd_dynamic_conf.xml?

There's the online reference, but nothing describing usage and why you might need/want to use it.

StaticMappings nodes appear to be straight forward enough - dynamic links can be generated as absolute URLs not relative ones using the Host node information.

The StorageMapping node is a little less clear - is the IdentifyPublicationByProperty an enumeration, what other value can it be and why would you change it?


As i understand it, the cd_dynamic_conf is only revelant if you wish to use REL in XPM sites. Normally XPM can figure this out by looking at the tags in the page, but session preview through REL can't access this and therefor looks at this configuration file. I always keep it in the default state since i don't use REL ...

| improve this answer | |
  • Interesting Rogier - I didn't know the file was only in use for REL. – Neil Jun 19 '14 at 8:14

This section of cd_dynamic_conf.xml is very important for XPM & Session Preview to work correctly.

            <!-- The Publications element is a container for separate Publication elements. -->
                <!-- The publication element allows you to specify Publication specific settings.
                 The Id indicates the id of the publication. This should be a number. -->
                <Publication Id="xx">
                    <!-- The Host element allows you to specify information about the site that
                        can be used to create URLs for Dynamic Links.
                        The following attributes are specified:
                           Domain    The domain of the website, for example www.tridion.com.
                           Port      The port of the website, for instance 8080.
                           Path      The path of the virtual directory of your website.
                           Protocol  The protocol used for the website. -->
                    <Host Domain="xyz.building-blocks.com" Port="80" Protocol="http" Path=""/>
        <StorageMapping IdentifyPublicationByProperty="publicationUrl"/>

If this is incorrectly configured you will see symptoms like:

  • Not redirecting to page correctly when creating new page via XPM
  • Temporary Session Preview files not being created correctly
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.