With custom site properties, you can define and store frequently occurring content on your site. For example, you can store your address and phone number as a custom property so that it can be reused by anyone who is editing your site. You can apply stored properties to pages, headers and footers, and widgets quickly by using expression language syntax.
|Available in: Salesforce Classic|
|Available for purchase in: Enterprise, Performance, and Unlimited Editions|
Available (with limitations) in: Developer Edition
To use custom properties in your website, you must:
- Define the custom property. You complete this task from Custom Properties within Site Configuration.
- Use expression language syntax to replace the current definitions for these properties within your Cascading Style Sheets or custom code blocks.
After you create a new property and specify its value and type, you can access the property in custom code or content blocks by using expressions. Expressions are placeholders for data that will be replaced with the custom property when the page loads.