Hide menu Last updated: Sep 21 2015

The following example shows how to add a component (for a view through configuration) to the Mainarea plug-in path of the Test view. definitionName usually maps against the full name of the class including namespace.

XML

<episerver.shell>
    <viewManager>
        <views>
            <add name="Test">
                <settings>
                    <add name="AddTestComponent" transformationType="Add" 
                        definitionName="EPiServer.Shell.UI.Test.Fakes.FakeComponentDefinition" 
                        plugInArea="ShouldNotContainComponent" />
                </settings>
            </add>
        </views>
    </viewManager>
</episerver.shell>

Comments