This is the login panel

Return to Product Support > Learning Center > Developer References > Legacy Deprecated API > SetSiteProperty


Sets a site property programmatically. Site properties are the same all situations on a site (or application). To view the site properties on the site, go to the administration site, under the developer menu.

Unless you are changing a site property, it may be simpler to just use the GetSiteProperty method with a default value to set its initial value.


Call ccLib.SetSiteProperty( Name, Value, Optional AllowAdminAccess )


Name � the unique name of the property

Value � the string value for the property

AllowAdminAccess � if true, a new property will be added to Admin Site Properties, which is a child of Site Properties. It will therefore be accessible by administrators. If false or empty, it will be created in Site Properties, and will only be accessible by developers.


V3.2.405, AllowAdminAccess was added

This page was last reviewed 4/4/2009 11:57:55 AM