ContentDocumentLink
Links Content Documents to multiple records, allowing files to be associated with various objects.
テーブル固有の情報
SELECT
Salesforce connector では、クエリを実行するためにId、ContentDocumentId、またはLinkedEntityId によるフィルタリングが必要です。フィルタやWHERE 句を作成する際には、次のいずれかの演算子を使用できます。次に例を示します。
SELECT * FROM ContentDocumentLink WHERE Id = 'your value' SELECT * FROM ContentDocumentLink WHERE ContentDocumentId = 'your value' SELECT * FROM ContentDocumentLink WHERE LinkedEntityId = 'your value'
Columns
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
Unique identifier of the content document link record. | |
| LinkedEntityId | String | False |
ID of the record (such as a user, group, or object) the content document is linked to. | |
| ContentDocumentId | String | False |
ID of the content document associated with this link. | |
| IsDeleted | Bool | True |
Indicates whether the link record has been deleted (true) or not (false). | |
| ShareType | String | False |
Level of access granted to the linked entity. For example, 'V' for viewer, 'C' for collaborator, or 'I' for inferred permission. | |
| Visibility | String | False |
Field containing Visibility information. | |
| SystemModstamp | Datetime | True |
Date and time when the link record was last modified. |
Pseudocolumns
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるデータを詳細に制御することができます。
| Name | Type | Description |
| LinkedEntityIdType | String |
Specifies the type of the 'LinkedEntityId' polymorphic field to use in the statement. |
| LinkedEntityIdExternalFieldName | String |
Specifies the external field name of the 'LinkedEntityId' polymorphic field to use in an INSERT/UPDATE/UPSERT statement |
| SOQL | String |
Specifies the SOQL query to execute against the Salesforce servers. If this pseudo column is set from the WHERE clause it will take precedence over the original query. |
| ExternalIdColumn | String |
Specifies the external Id column to use if performing an insert. If this value is specified, upsert will be used when the INSERT command is called. |
| FilterScope | String |
Optional scope to limit the records returned from queries. This property can take one of these values: Delegated, Everything, Mine, MineAndMyGroups, My_Territory, My_Team_Territory, or Team. |