AnsweredAssumed Answered

customProperties for sites

Question asked by tgmweb on Nov 4, 2009
Latest reply on May 18, 2010 by fast3r
Hi.

I can see there are some custom properties available for sites. The site webscript:

<#if site.customProperties?size != 0>
      "customProperties" :
      {
         <#list site.customProperties?keys as prop>
            "${prop}" :
            {
               "name" : "${prop}",
               "value" : "${site.customProperties[prop].value?string}",
               "type" : "${site.customProperties[prop].type}",
               "title" : "${site.customProperties[prop].title}"
            }
            <#if prop_has_next>,</#if>
         </#list>   
      },
   </#if>

How do I create these custom properties in my webscripts?

Outcomes