Don't miss out Virtual Happy Hour today (April 26).

Try our conversational search powered by Generative AI!

Loading...

Recommended reading 

Introduction

This example shows how it is possible to add or remove components for a view through configuration, here to add a component to the plug-in path “Mainarea” of the view named “Test”:

CopyXML
<episerver.shell>
    <viewManager>
        <views>
            <add name="Test">
                <settings>
                    <add name="AddTestComponent" transformationType="Add" 
                        definitionName="EPiServer.Shell.UI.Test.Fakes.FakeComponentDefinition" 
                        plugInPath="ShouldNotContainComponent" />
                </settings>
            </add>
        </views>
    </viewManager>
</episerver.shell>
definitionName usually maps against the full name of the class including namespace.
Do you find this information helpful? Please log in to provide feedback.

Last updated: Mar 21, 2013

Recommended reading