Skip to main content
Skip table of contents

File Object Fields

If you create a custom file object, or you upgrade S-Drive and use custom file objects, these are the fields your custom file object needs to have.

Field Label

Field Name (Note: field name will fill in automatically and add the __c)

Data Type

Default Value

Bucket Id

Bucket_Id__c

Text(255)

Checked Out By

Checked_Out_By__c

Text(255)

Content Type

Content_Type__c

Text(255)

Created By

CreatedById

Lookup(User)

Description

Description__c

Text(255)

File Name

File_Name__c

Text(255)

File Size

File_Size__c

Formula (Text)

IF(!(ISBLANK(Shortcut__c )), RIGHT(Shortcut__c, (LEN(Shortcut__c) - FIND(':', Shortcut__c))),
IF(File_Size_in_Bytes__c > 1024,
IF(File_Size_in_Bytes__c > 1048576,
IF(File_Size_in_Bytes__c > 1073741824,
TEXT(ROUND((File_Size_in_Bytes__c /1073741824),2)) & " GB",
TEXT(ROUND((File_Size_in_Bytes__c /1048576),2)) & " MB"),
TEXT(ROUND((File_Size_in_Bytes__c /1024),2)) & " KB"),
TEXT(File_Size_in_Bytes__c) & " bytes"))

File Size in Bytes

File_Size_in_Bytes__c

Number(18, 0)

Is Deleted

Is_Deleted__c

Checkbox

False

Is Latest Version

Is_Latest_Version__c

Checkbox

True

Is Parent Deleted

Is_Parent_Deleted__c

Checkbox

False

Key

Key__c

Text(255)

Lock State

Lock_State__c

Picklist (Multi-Select)

values are:

checkedOut
legalHold
onlineEditing

Page Count

Page_Count__c

Number(18, 0)

Parent

Parent__c

Master-Detail (or lookup) to parent object

Parent Folder Id

Parent_Folder_Id__c

Text(255)

Preview Key

Preview_Key__c

Text(255)

Preview Version Id

Preview_Version_Id__c

Text(255)

Private

Private__c

Checkbox

False

Shortcut

Shortcut__c

Text(255)

Sync Id

Sync_Id__c

Text(255)

Tags

Tags__c

Long Text Area(4096)

Thumbnail Key

Thumbnail_Key__c

Text(255)

Thumbnail Version Id

Thumbnail_Version_Id__c

Text(255)

Version Description

Version_Description__c

Text(255)

Version Id

Version_Id__c

Text(255)

WIP

WIP__c

Checkbo

True

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.