Newer Version Available

This content describes an older version of this product. View Latest

OcrSampleDocument

Represents the details of a sample document or a document type that's used as a reference while extracting and mapping information from a customer form. This object is available in API version 50.0 and later.

Supported Calls

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

Fields

Field Details
ContentAssetId
Type
reference
Relationship Name
ContentAsset
Relationship Type
Lookup
Refers To
ContentAsset
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
ID of the associated content asset. This is a relationship field.
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

DocumentTypeId
Type
reference
Relationship Name
DocumentType
Relationship Type
Lookup
Refers To
DocumentType
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
ID of the associated document type. This is a relationship field.
Language
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Language of the OCR sample document.
MasterLabel
Type
string
Properties
Create, Filter, Group, Sort, Update
Description
The label for the OCR sample document.
NamespacePrefix
Type
string
Properties
Create, Filter, Group, Sort, Update
Description
For managed packages, this field is the namespace prefix assigned to the package. For unmanaged packages, this field is blank.