Loading
Salesforce Help 사이트 “Help Agent powered by Fin” 도입 안내더 많이 읽기
Tableau 고객 대상: Tableau를 이용하는 고객이 Help 사이트에서 사례(케이스)를 등록할 수 없는 경우의 대체 수단더 많이 읽기
Slack 관련 문의처가 Salesforce Help로 통합 및 변경됩니다.더 많이 읽기

Experience Site User cannot view 'Files' migrated from 'Attachments'

게시 일자: Jul 9, 2026
상세 설명

Why Migrated Files Are Not Visible to Experience Cloud Site Users

When Experience Cloud site users cannot view Files after a mass migration from Attachments to Files, this is caused by the default sharing settings on the migrated File records.
By default, Files in Salesforce are only shared with internal users. When Attachments are migrated to Files, the ContentDocumentLink records that link the files to their parent records retain the original internal sharing settings: ShareType is set to "I" (Internal Only) and Visibility is set to "InternalUsers." These settings make the files invisible to Experience Cloud site users, regardless of the user's license or permissions.
To fix this, you must update the ShareType to "V" (Viewer) and Visibility to "AllUsers" on the ContentDocumentLink records. Because there may be a large number of records to update, this is best done using the Salesforce Data Loader.
For background on Experience Cloud file sharing, see the Additional Resources section.

솔루션

Step 1: Export ContentDocumentLinks Using Data Loader

  1. Open Data Loader.
  2. Click Export and log in.
  3. Select Content Document Link (ContentDocumentLink).
  4. Click Next then Finish.

On the exported .csv file, retain only these field columns: LINKEDENTITYID, CONTENTDOCUMENTID, SHARETYPE, and Visibility. Save the result as a new CSV file.
Update the field column values as follows:

  • SHARETYPE → change value to V
  • Visibility → change value to AllUsers

Step 2: Delete Existing ContentDocumentLinks Using Data Loader

Before inserting the updated ContentDocumentLink records, you must delete the existing ones to prevent a duplicate error: "Document with ID: 069000000000000 is already linked with the entity with ID: 500000000000000: Linked Entity ID."
Use the ID column from your original exported ContentDocumentLinks CSV file for the deletion.

  1. Open Data Loader.
  2. Click Delete and log in.
  3. Select Content Version (ContentVersion). Map the ID column from the original ContentDocumentLinks .csv file.
  4. Click Next then Finish.

Step 3: Insert Updated ContentDocumentLinks Using Data Loader

  1. Open Data Loader.
  2. Click Insert and log in.
  3. Select Content Document Link (ContentDocumentLink). Map the available field columns from your updated CSV file.
  4. Click Next then Finish.

After the insert completes, verify that Experience Cloud site users can now view the previously invisible files.

 

Knowledge 기사 번호

000384546

 
로드 중
Salesforce Help | Article