This plugin is used to import the view templates into Content List Viewer.

To use the plugin in the component configuration, you must use the following target-component:
{code:xml}<target-component>org.exoplatform.services.cms.views.ApplicationTemplateManagerService</target-component>{code}

The configuration is applied mainly in _packaging/wcm/webapp/src/main/webapp/WEB-INF/conf/wcm-extension/dms/application-templates-configuration.xml_.

*Sample configuration*:
{code:xml}<external-component-plugins>
    <target-component>org.exoplatform.services.cms.views.ApplicationTemplateManagerService</target-component>
    <component-plugin>
        <name>clv.templates.plugin</name>
        <set-method>addPlugin</set-method>
        <type>org.exoplatform.services.cms.views.PortletTemplatePlugin</type>
        <description>This plugin is used to import views templates for Content List Viewer</description>
        <init-params>
            <value-param>
                <name>portletName</name>
                <value>content-list-viewer</value>
            </value-param>
            <value-param>
                <name>portlet.template.path</name>
                <value>war:/conf/wcm-artifacts/application-templates/content-list-viewer</value>
            </value-param>
            <object-param>
                <name>default.folder.list.viewer</name>
                <description>Default folder list viewer groovy template</description>
                <object type="org.exoplatform.services.cms.views.PortletTemplatePlugin$PortletTemplateConfig">
                    <field name="templateName">
                        <string>UIContentListPresentationDefault.gtmpl</string>
                    </field>
                    <field name="category">
                        <string>list</string>
                    </field>
                </object>
            </object-param>
            <object-param>
                ....
            </object-param>
        </init-params>
    </component-plugin>
</external-component-plugins>{code}


In which:

* *Name*: _clv.templates.plugin_
* *Set-method*: _addPlugin_
* *Type*: _org.exoplatform.services.cms.views.PortletTemplatePlugin_

* *Init-param*:
||  *Value-param*  ||  *Type*  ||  *Value*   ||  *Description*  ||
|*portletName*| {{string}} | {{content-list-viewer}} | The name of the portlet. |
|*portlet.template.path*| {{string}} | {{war:/conf/wcm-artifacts/application-templates/content-list-viewer}} |The path to the configuration of the portlet. |

* *Object type*: _org.exoplatform.services.cms.views.PortletTemplatePlugin$PortletTemplateConfig_
||  *Field*  ||  *Type*  ||  *Description*  ||
| *templateName* | {{string}} | The name of the GROOVY template. |
| *category*|{{string}}| The category name. |
