Service Studio 6.0 Help
About Site Properties
In Service Studio, a site property is a variable instantiated before the deployment of the tenant site. The site properties can be pre-defined or user-defined as explained below.
Usually site properties are used to manage constant values or values with small mutability.
Pre-defined Site Properties
The pre-defined site properties, created and handled automatically by Agile Platform, are the following:
TenantId: contains the identifier of the current Tenant; this identifier is generated internally by Agile Platform.
TenantName: contains the name of the current Tenant; this name is used by Service Center to identify the tenant.
User-defined Site Properties
To create a site property, simply right-click on the Site Properties folder (in the eSpace tree under the Data layer), and select the Add Site Property option.
When the tenant is deployed, the site properties that you create have the default value specified, if any.
Internally, Site Properties are stored in the cache of each Front-end Server. Although this is an implementation detail, you must be aware of it due to the fact that whenever the cache is removed, all the site properties are also re-initialized.
How to effectively change the value of a Site Property:
After changing its value, you must invoke the built-in TenantInvalidateCache function.
Site Property Properties