Login

Recover Your Password

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

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.


Syntax


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


Parameters


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.


History


V3.2.405, AllowAdminAccess was added

This page was last reviewed 10/28/2022 11:29:40 AM