Index related files
Index related files
This article describes how to index related files on the records of any given Salesforce object.
Related files are also known as attached files or Salesforce ContentVersion
records.
Leading practice
The Index related files feature is enabled by default on all Salesforce objects that can have related files. If an object can’t have related files, the Index related files checkbox won’t be displayed. |
Procedure
-
On the Sources (platform-ca | platform-eu | platform-au) page, click Add source.
-
Add a Salesforce source linked to your Salesforce organization.
-
In the Add a Salesforce Source window, select the Content to index tab, and then select the objects you want to index.
NoteThe Index related files feature is enabled by default on all Salesforce objects that can have related files. If an object can’t have related files, the Index related files checkbox won’t be displayed.
-
(Optional) In the right pane, select the Salesforce fields you want to index.
Leading practiceAll the required metadata is selected by default.
Repeat this step for each object you want to index.
-
Configure the remaining settings in the Content security, Salesforce organization, and Access tabs.
Limitations
-
The Index related files feature only applies to Salesforce
ContentVersion
records. -
You can’t filter which related files are included or excluded from the index. All
ContentVersion
records linked to indexed parent records are indexed by default.Leading practiceTo obtain a list of all the IDs that act as parents of the
ContentVersion
record, access thesfcontentversionlinkedentityids
field. -
Folding isn’t possible at this time because the many-to-many relationship isn’t supported.
-
A source refresh doesn’t remove deleted related files from the index. A source rescan or rebuild is required to retrieve deleted related files.