Try our conversational search powered by Generative AI!

Loading...
Area: Optimizely CMS
ARCHIVED This content is retired and no longer maintained. See the latest version here.

Recommended reading 

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>
Do you find this information helpful? Please log in to provide feedback.

Last updated: Sep 21, 2015

Recommended reading