Skip to main content
Reference

Site SFO

Properties​

Methods​

MethodSignatureComments/Sample
attr (1)[SimpleAttributes](./simpleattributes-sfo.md) attr()returns all attributes configured for the site
attr (2)string attr(string key)
attr (3)string attr(string key, String defaultValue)
attrDefinitionList[DefinitionList](./definitionlist-sfo.md) attrDefinitionList(string key)
attrSimpleList[SimpleList](./simplelist-sfo.md) attrSimpleList(string key)
getAttributestring getAttribute(string attributeName)
getAttributeI18Nstring getAttributeI18N(string attributeName)returns the attribute, translated into the customer's desired language.
getAttributeI18NHtmlLangstring getAttributeI18NHtmlLang(string attributeName)returns the HTML lang attribute to be usd on the surround DOM element to tell search engines about how the content was translated.
getFileUrlstring getFileUrl(string filePath)returns a full url to a relative file path
getName()string getName()
getStylestring getStyle(string filePath)returns the contents of a css file relative to the storefront root.
isSupportCustomerProfilesboolean isSupportCustomerProfiles()

See Also​

Was this page helpful?