Media Object Reference

Overview

The media object holds the meta data of all media (images, videos, URLs) you are using for your store across Products, Categories, Articles, Pages and Content Blocks.

Property Value
API Name s_c__Media__c
Label Media
Plural Label Media
Type Custom Object

Fields

Field Label API Name Type Required Description
Alternate Text s_c__Alt_Text__c Text(255) No The alternate text supplied for this media item, used by SEO to say what the media object is.
Console Folder s_c__Console_Folder_Id__c Lookup (s_c__Console_Folder__c) No The folder this media belongs to within the console.
Description s_c__Description__c TextArea No Internal description of this media item. This is not displayed in the store.
File Type s_c__File_Type__c Picklist Yes Type of the media being uploaded. It could be an image, video, document, file or a URL.
Height s_c__Height__c Number(10,0) No Physical pixel height of the media asset, populated for image and video files where applicable, as returned by Cloudinary.
Identifier s_c__Identifier__c Text(255) No The identifier is used for the front end of your store to identify this media object within the pages in special cases. This is automatically generated and changing this could have unintended consequences on your site.
Image Preview s_c__Image_Preview__c Formula (Text) No Helper column to allow the image to be previewed in SF.
Import Url s_c__Import_Url__c Text(255) No Allows media files to be uploaded directly from URL. Ensure that the URL is publicly accessible.
Key Frame Seconds s_c__Key_Frame_Seconds__c Number(18,0) No This determines what frame will be used as preview image given video url.
Retry Count s_c__Retry_Count__c Number(18,0) No The number of times the media import has been retried.
URL s_c__Url__c Url No URL of the media uploaded. This is autogenerated either from the Media Uploader or from the Import_Url__c.
Width s_c__Width__c Number(10,0) No Physical pixel width of the media asset, populated for image and video files where applicable, as returned by Cloudinary.
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__Console_Folder_Id__c Lookup s_c__Console_Folder__c Medias_Console_Folder