Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

HomeDev GuideRecipesAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsGitHubNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

Configure dynamic content

Describes how to configure dynamic content.

🚧

Caution

Dynamic content is deprecated in Optimizely Content Management System (CMS 12). Use blocks instead. While existing solutions will continue to work, you should not build new solutions on this API. It will be phased out in the future.

If you use the DynamicContentPlugIn attribute, you do not need to register your plug-in in this way manually. If you do not use the attribute, you need to register the plug-in in the <episerver> section of web.config as shown in the following example:

<episerver>
  <dynamicContent>
    <controls>
      <add description="My example dynamic content class"
           name="ExampleDynamicContent"
           type="MyNamespace.MyDynamicContent, MyDll" />
    </controls>
  </dynamicContent>
    ...
</episerver>