Script_Block__c Object Reference

Object Name Script_Block__c
Type Custom StoreConnect Object
Description Script Blocks contain JavaScript code that will be included on your web store.

Field Definitions

Field Name Type Required Unique Description
Active__c Checkbox(true) No No Defines whether the Script Block is active. Only active Script Blocks will be included on the website.
Content__c LongTextArea No No The JavaScript code of the Script Block, without any
Global__c Checkbox(true) No No Defines whether the Script Block is automatically included on the website.
Position__c Number(18, 0) No No This defines the display order of the Script Blocks on the website. Lower numbers appear first. Only applies then Global is checked.
Store_Id__c Lookup(Store__c) Yes No The Store that the Script Block belongs to.
Url__c URL No No The URL of an external Javascript file to be included. If a value is specified, any value in Content will be ignored.
sC_Id__c Text No Yes StoreConnect External ID, do not modify in Salesforce

For more information about how or when to use the above, see our documentation.

 

 
Back to Documentation