Documentation Center

Configuring inclusion rules

You can configure different types of inclusion rules: global inclusions, URI inclusions, URL inclusions, and Dynamic Component inclusions. For all types of inclusion rules you can define one or more inclusion URLs. For Uri and Url inclusion rules you can specify one or more conditions, in which case they are treated as "and" style conditions.

Procedure

  1. Open your Archive Manager cd_archivemanager_conf.xml configuration file, by default located in your Tridion Installation directory, in a text editor:
  2. Add <InclusionRule> elements as children of a <Publication> element and specify the Type attribute to specify the type of inclusion you want to define:
    <Publication Id="2" BaseUrl="https://host:8443">
       
      <InclusionRule Type="DynamicComponent">
        <Uri Value="tcm:2-123-16"/>
        <Include Value="website/index.jsp?component-id=[COMPONENT ID]"/>
      </InclusionRule>
    
      <InclusionRule Type="Uri">
         <Uri Value="tcm:2-123-16"/>
         <Include Value="website/index.jsp"/>
      </InclusionRule>
    
      <InclusionRule Type="Global">
        <Include Value="website/index.jsp"/>
      </InclusionRule>
      
      <InclusionRule Type="Url">
        <Pattern Value="image"/><Include Value="website/index.jsp"/>
      </InclusionRule>
    
    </Publication>
  3. Save and close cd_archivemanager_conf.xml.