Published dynamic component template not found under published items

276 Views Asked by At

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.

1

There are 1 best solutions below

9
On BEST ANSWER

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>