Ektron CMS400.Net Reference

>>Helping Users Navigate Your Web Site > Using Web Parts to Personalize a Web Page > Web Configuration Tags that Affect Personalization

Web Configuration Tags that Affect Personalization

The following tags in the web.config file (located in your site root folder) affect some aspects of how Personalization works.

Important: When using the Personalization feature, the web config file’s authentication mode tag must be set to Forms.

<webParts>

   <personalization defaultProvider="EktronPersonalizationProvider">

       <providers>

          <add connectionStringName="Ektron.DbConnection" name="EktronPersonalizationProvider" type="Ektron.Cms.EktronPersonalizationProvider" />

        </providers>

        <authorization>

               <allow users="*" verbs="enterSharedScope"/>

               <allow users="*" verbs="modifyState"/>

        </authorization>

   </personalization>

</webParts>

Tag or Attribute

Description

webparts

Overall tag that surrounds other personalization tags.

personalization

Tags that surround personalization section of web.config.

defaultprovider

If EktronPersonalizationProvider appears, Ektron’s personalization controls are used instead of Microsoft’s.

providers

Tag that surrounds provider information.

add connectionStringName

Tells the .NET control to use the database being used by Ektron CMS400.NET.

name

Tells the .NET control to use Ektron CMS400.NET personalization feature instead of the .NET personalization controls.

type

Tells the .NET control to use Ektron CMS400.NET personalization feature instead of the .NET personalization controls.

authorization

Tag that surrounds the <allow users> tags.

allow users, enter SharedScope and modifyState

Tells Microsoft .NET to let users authorized by the Ektron CMS400.NET control the personalization features.


Visit the Ektron Dev Center at http://dev.ektron.com 1-866 - 4 - EKTRON

Ektron CMS400.NET Reference Version 8.02 SP1 Rev 1

Ektron Documentation,© 2011 Ektron, Inc.