London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

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

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>

Last updated: Sep 21, 2015