1

I am new to Dynamic Component Templates.

I have created a Component Template and made it "Published as Dynamic Component" and allowed "Allow on Page using Dynamic Assembly".

I don’t have Deployer configured in my system and all published items are getting stored at some local location.

I have published this Component Template and I am trying to find the published CT. I did not find this CT in published items.

Is Deployer compulsory to work with Dynamic CT and how to create pages using dynamic CT.

Can any provide some solution to this?

EDIT

Addinf storageconfig file.

<?xml version="1.0" encoding="UTF-8"?>
<Configuration Version="6.1"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="schemas/cd_storage_conf.xsd">
    <Global>
        <!--Optional:-->
        <ObjectCache Enabled="false">
            <!--Optional:-->
            <Policy Type="LRU" Class="com.tridion.cache.LRUPolicy">

                <Param Name="MemSize" Value="16mb"/>
            </Policy>


            <Features>
                <Feature Type="DependencyTracker" Class="com.tridion.cache.DependencyTracker"/>
            </Features>

        </ObjectCache>

        <Storages>

            <Storage Type="persistence" Id="defaultdb" dialect="MSSQL" Class="com.tridion.storage.persistence.JPADAOFactory" defaultStorage="true">
                <Pool Type="jdbc" Size="5" MonitorInterval="60" IdleTimeout="120" CheckoutTimeout="120" />
                <DataSource Class="com.microsoft.sqlserver.jdbc.SQLServerDataSource">
                    <Property Name="serverName" Value="MyserverName" />
                    <Property Name="portNumber" Value="MYPORT" />
                    <Property Name="databaseName" Value="Tridion_Broker" />
                    <Property Name="user" Value="TridionBrokerUser" />
                    <Property Name="password" Value="MyPassword" />
                </DataSource>
            </Storage>



            <Storage Type="filesystem" Class="com.tridion.storage.filesystem.FSDAOFactory" Id="defaultFile" defaultFilesystem="false">
                <Root Path="c:\temp" />
            </Storage>
            <Storage Type="filesystem" Class="com.tridion.storage.filesystem.FSDAOFactory" Id="defaultDataFile" defaultFilesystem="true" defaultStorage="false">
                <Root Path="c:\temp\data" />
            </Storage>


        </Storages>

    </Global>

    <ItemTypes defaultStorageId="defaultdb" cached="false">

        <Item typeMapping="Page" cached="false" storageId="defaultFile"/>


            <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"/>

    </ItemTypes>


</Configuration>

To be clear again I have published component Template which is Dynamic, though the CT is published I am unable to find in published Items in server. The published items are being stored at c:\temp

Thanks In Advance.

Patan
  • 17,073
  • 36
  • 124
  • 198
  • 1
    Let's start at the beginning. Did you link that dynamic CT to a schema? Do you have a component based on that schema? Is that component marked as 'published' in the GUI? That is to say: does it have a little globe on the icon? – Quirijn Oct 10 '12 at 07:17
  • @Quirjin. I have linked that dynamic CT to schema.I have linked schema to CT. I have published CT and component. Both are published and Globe is there on the top of the icons. – Patan Oct 10 '12 at 08:28
  • Even after specifying its location. I am not able to find CT under published items. – Patan Oct 10 '12 at 08:49

1 Answers1

3

Please check your storage config file (cd_storage_conf.xml) for Dynamic CPs location. If you have not specified it will use the default location.

You may specify your own location

<ItemTypes defaultStorageId="Default Storage" cached="CACHE_BEHAVIOR">

    <Item typeMapping="ComponentPresentation" itemExtension=".Jsp" cached="CACHE_BEHAVIOR" storageId="DCPStorage" />
......
</ItemTypes>
vikas kumar
  • 2,444
  • 15
  • 25