Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

External Storage Search Result

Describes a single document that matched an external storage search, including where the content lives, why it matched, and how it maps back to a Salesforce record.
Property Name Type Description Filter Group and Version Available Version
contentDocumentIds String[] Salesforce ContentDocument IDs associated with this result. A single external file can map to more than one ContentDocument when multiple orgs stamp the same S3 object. Big, 68.0 68.0
contentType String MIME content type of the matched document, such as application/pdf. Big, 68.0 68.0
endTimeMs Long End of the matching segment for audio or video content, in milliseconds from the start of the file. Null for non-media content. Big, 68.0 68.0
excerpt String Snippet of text from the document that shows the matched content in context. Big, 68.0 68.0
externalDocumentInfo2 String S3 URI that maps to ContentVersion.ExternalDocumentInfo2. Use this value to find the Salesforce record that corresponds to the external document. Big, 68.0 68.0
pageNumber Integer One-based page or slide number where the match was found. Populated for paged formats such as PDF and presentations; null for non-paged content. Big, 68.0 68.0
relevanceScore Double Relevance of the match on a scale from 0.0 to 1.0, where 1.0 is the most relevant. Big, 68.0 68.0
sourceUrl String Full source URL for the matched document. Big, 68.0 68.0
startTimeMs Long Start of the matching segment for audio or video content, in milliseconds from the start of the file. Null for non-media content. Big, 68.0 68.0
title String Document title as returned by the search provider. Big, 68.0 68.0