Content Block Object Reference

Overview

Content blocks are reusable pieces of content that are used within the StoreConnect CMS. They can be used within Pages, Articles, Products, Product Categories and other Content Blocks. Each content block can be one of many types and sub types which each display different liquid templates according to the type

Property Value
API Name s_c__Content_Block__c
Label Content Block
Plural Label Content Blocks
Type Custom Object

Fields

Field Label API Name Type Required Description
Alignment s_c__Alignment__c Picklist No Alignment__c is a field used to define the orientation of this content block. Depending on the type of content block being implemented this could have different meanings.
Content s_c__Content_Markdown__c LongTextArea(131072) No This is the main text content used by the content block. It is only used in the case of the content block has its own content
Document s_c__Document_Id__c Lookup (s_c__Media__c) No An associated document media object for this content block
File s_c__File_Id__c Lookup (s_c__Media__c) No An associated file media object for this content block
Identifier s_c__Identifier__c Text(255) No The Identifier__c is a slug like field with alphaneumeric and dashes. It's used to allow the front end system to find specific Content Blocks
Image s_c__Image_Id__c Lookup (s_c__Media__c) No An associated image media object for this content block
Layout Style s_c__Layout_Style__c Picklist No Layout_Style__c is a field used to define the orientation of a content block. Depending on the type of content block being implemented this could have different meanings
Link Label s_c__Link_Label__c Text(255) No The label used on the content block link target
Link Target s_c__Link_Target__c Text(255) No The URL target used on the content block link
Media s_c__Media_Id__c Lookup (s_c__Media__c) No An associated media object for this content block
Pull Text s_c__Pull_Text_Markdown__c LongTextArea(131072) No The content block pull text call to action
Type s_c__Sub_Type__c Picklist No Defines the sub type the a Content_Block__c. Depending on the Template__c of content block being implemented this could have different meanings
Subtitle s_c__Subtitle__c Text(255) No The subtitle used for the content block
Summary s_c__Summary_Markdown__c LongTextArea(131072) No The content block summary
Content Template s_c__Template__c Picklist Yes Determines the how the content is displayed for this content block using the associated template
Title s_c__Title__c Text(255) No Title of the content block
Video s_c__Video_Id__c Lookup (s_c__Media__c) No An associated video media object for this content block
StoreConnect External ID s_c__sC_Id__c Text(36) No StoreConnect External ID, do not modify in Salesforce

Relationships

Field Type Related Object Relationship Name
s_c__Document_Id__c Lookup s_c__Media__c Document_Content_Blocks
s_c__File_Id__c Lookup s_c__Media__c File_Content_Blocks
s_c__Image_Id__c Lookup s_c__Media__c Image_Content_Blocks
s_c__Media_Id__c Lookup s_c__Media__c Media_Content_Blocks
s_c__Video_Id__c Lookup s_c__Media__c Video_Content_Blocks