DocumentType

Represents the type of file being uploaded or attached. This object is available in API version 47.0 and later.

Supported Calls 

create(), delete(), describeLayout(), describeSObjects(), query(), retrieve(), update(), upsert()

Fields 

Description 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The description for the document category.

DeveloperName 

  • Type: string

  • Properties: Create, Filter, Group, Sort, Update

  • Description: The unique name of the object in the API. This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. In managed packages, this field prevents naming conflicts on package installations. With this field, a developer can change the object’s name in a managed package and the changes are reflected in a subscriber’s organization.

    When creating large sets of data, always specify a unique DeveloperName for each record. If no DeveloperName is specified, performance slows down while Salesforce generates one for each record.

    Note

ExternalIdentifier 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The unique identifier for the document type in an external system. This field is available only if you have enabled Integrated Onboarding for Financial Services Cloud.

IsActive 

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Indicates whether the document type is active.

Language 

  • Type: picklist
  • Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
  • Description: The language of the document type.

MasterLabel 

  • Type: string
  • Properties: Create, Filter, Group, idLookup, Sort, Update
  • Description: The label for the picklist value that appears in the UI.

MaximumFileSize 

  • Type: int
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Specifies the maximum file size in MB for each document checklist item. This field is available only if you have enabled Integrated Onboarding for Financial Services Cloud.

MaximumFileUploadCount 

  • Type: int
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Specifies the maximum number of file uploads allowed for a document category. This field is available only if you have enabled Integrated Onboarding for Financial Services Cloud.

NamespacePrefix 

  • Type: string

  • Properties: Filter, Group, Nillable, Sort

  • Description: The namespace prefix associated with this object. Each Developer Edition organization that creates a managed package has a unique namespace prefix. Limit: 15 characters. You can refer to a component in a managed package by using the namespacePrefix__componentName notation. The namespace prefix can have one of the following values:

    • In Developer Edition organizations, the namespace prefix is set to the namespace prefix of the organization for all objects that support it. There’s an exception if an object is in an installed managed package. In that case, the object has the namespace prefix of the installed managed package. This field’s value is the namespace prefix of the Developer Edition organization of the package developer.
    • In organizations that are Developer Edition organizations, NamespacePrefix is only set for objects that are part of an installed managed package. There’s no namespace prefix for all other objects.