xml SDL Tridion 2013 SP1中cd_storage_conf.xml的项类型映射示例

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了xml SDL Tridion 2013 SP1中cd_storage_conf.xml的项类型映射示例相关的知识,希望对你有一定的参考价值。

<!-- This is part of the cd_storage_conf.xml -->

    <ItemTypes defaultStorageId="defaultDataFile" cached="false">
		<!-- Query type mapping is replacement for Query gnenerator. If there was query generator defined in a Broker configuration then  Query type mapping should be binded to default DB. -->
		<!--
		<Item typeMapping="Query" storageId="defaultdb"/>
		-->
		<!--Optional:-->
		<!-- If the item type mapping is defined and storage defined by storageId is the existing one then that one will be used.
			 If storage defined by storageId does not exist then default storage defined by ItemTypes element will be used. -->
		<!--
		<Item typeMapping="Binary" itemExtension=".pdf" storageId="defaultFile" cached="true"/>
		<Item typeMapping="Binary" itemExtension=".iso" storageId="defaultFile" cached="false"/>
        <Item typeMapping="ComponentLinkClick" cached="true" storageId="defaultFile"/>
		<Item typeMapping="Metadata" cached="true" storageId="defaultFile"/>
        <Item typeMapping="ComponentVisit" cached="true" storageId="defaultFile"/>
        <Item typeMapping="DynamicLinkInfo" cached="true" storageId="defaultFile"/>
        -->
        <Item typeMapping="Page" cached="false" storageId="defaultFile"/>
        <!--
		<Item typeMapping="Personalization" cached="true" storageId="defaultdb"/>
		<Item typeMapping="Taxonomy" cached="true" storageId="defaultdb"/>
		<Item typeMapping="Timeframe" cached="true" storageId="defaultFile"/>
		<Item typeMapping="TrackedPage" cached="true" storageId="defaultFile"/>
		<Item typeMapping="XSLT" cached="true" storageId="defaultFile"/>
		<Item typeMapping="ExtensionData" cached="true" storageId="defaultdb"/>
		-->
		<!-- UGC -->
        <!--
        <Item typeMapping="Comment" storageId="ugcdb"/>
        <Item typeMapping="Rating" storageId="ugcdb"/>
        <Item typeMapping="UGCUser" storageId="ugcdb"/>
        <Item typeMapping="UGCItemStats" storageId="ugcdb"/>
		-->
		
		<!--Optional:-->
		<!-- If the publication is defined and storage defined by defaultStorageId is the existing one then that one will be used for that publication unless it is overwriten on a lower level.
			 If storage defined by storageId does not exist then default storage defined by ItemTypes element will be used unless lower level type mappings are not matched. -->
		<!--
		<Publication Id="1" defaultStorageId="defaultFile" cached="false">
		-->
			<!--Optional:-->
			<!-- If there is a type mapping match and storage is defined for storageId then that storage will be used.
				 Otherwise; first storage defined within publication element will be referenced, and if that one does not exist then the storage from Item elements will be referenced. 
				 and at the end storage defined within ItemTypes will be used.-->
			<!--
			<Item typeMapping="ComponentPresentation" itemExtension=".Jsp" storageId="defaultFile"/>
			<Item typeMapping="ComponentPresentation" itemExtension=".Asp" storageId="defaultFile"/>
			<Item typeMapping="ComponentPresentation" itemExtension=".Xml" storageId="defaultFile"/>
			<Item typeMapping="ComponentPresentation" itemExtension=".Txt" storageId="defaultFile"/>
			<Item typeMapping="Metadata" cached="true" storageId="defaultFile"/>
            <Item typeMapping="Binary" itemExtension=".pdf" storageId="defaultFile" cached="true"/>
            <Item typeMapping="Binary" itemExtension=".iso" storageId="defaultFile" cached="false"/>
            <Item typeMapping="ComponentLinkClick" cached="true" storageId="defaultFile"/>
            <Item typeMapping="ComponentVisit" cached="true" storageId="defaultFile"/>
            <Item typeMapping="DynamicLinkInfo" cached="true" storageId="defaultFile"/>
			<Item typeMapping="Page" cached="true" storageId="defaultFile"/>
            <Item typeMapping="Personalization" cached="true" storageId="defaultdb"/>
            <Item typeMapping="Taxonomy" cached="true" storageId="defaultdb"/>
            <Item typeMapping="Timeframe" cached="true" storageId="defaultFile"/>
            <Item typeMapping="TrackedPage" cached="true" storageId="defaultFile"/>
            <Item typeMapping="XSLT" cached="true" storageId="defaultFile"/>
            <Item typeMapping="ExtensionData" cached="true" storageId="defaultdb"/>
            -->
            <!-- UGC -->
            <!--
            <Item typeMapping="Comment" storageId="ugcdb"/>
            <Item typeMapping="Rating" storageId="ugcdb"/>
            <Item typeMapping="UGCUser" storageId="ugcdb"/>
            <Item typeMapping="UGCItemStats" storageId="ugcdb"/>
			-->			
		<!--
        </Publication>
		-->
    </ItemTypes>

以上是关于xml SDL Tridion 2013 SP1中cd_storage_conf.xml的项类型映射示例的主要内容,如果未能解决你的问题,请参考以下文章

xml 安装介质中的SDL Tridion 2013 SP1内容交付Logback配置示例。这是你的logback.xml的一部分

xml 安装介质中的SDL Tridion 2013 SP1内容交付Logback配置示例。这是你的logback.xml的一部分

xml 安装了SmartTarget 2014的SDL Tridion 2013 SP1内容交付Web服务(odata)上的错误消息。检索触发器时

xml 安装了SmartTarget 2014的SDL Tridion 2013 SP1内容交付Web服务(odata)上的错误消息。检索触发器时

sql 检查SDL Tridion 2013 SP1 MS SQL数据库中的活动预览会话。

sql 检查SDL Tridion 2013 SP1 MS SQL数据库中的活动预览会话。