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.
Required Editions
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.
Setting Up Custom Properties You can use custom properties in your website by using expression language syntax within a style sheet, code block, widget, or the HTML page editor.
Custom Properties for Page Templates or Widgets Overview When you create a page template or a widget, you can add custom properties to it and specify the value and type of each property to achieve greater flexibility over how templates and widgets are reused.
Custom Property Types Property types are available when designers or site administrators create site branding properties, site custom properties, widget branding properties, and widget custom properties.
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.