Loading

File owner shows who created the file Instead of the Current Owner in Salesforce Lightning Experience.

Дата публикации: Apr 3, 2026
Описание
Updating the "OwnerId" field of a ContentVersion or ContentDocument object will update the File owner but not the Owner field of a Files related list of an object in Lightning Experience.
Решение

 

Why the File Owner Column Shows the Creator Instead of the Owner:

 

In Salesforce Lightning Experience, the Owner column in the Files related list on a record displays the value of the CreatedById field — the user who originally uploaded or created the file — rather than the current OwnerId. This is working as designed. Although the OwnerId field on ContentDocument and ContentVersion can be updated via API, the Files related list UI does not reflect that change in the Owner column. Audit fields such as CreatedById are immutable and cannot be updated, which is why the column continues to show the original creator.

 

This behavior is a known limitation tracked under a Known Issue.

 

As a Workaround, administrators can query the ContentDocument or ContentVersion object via API to verify the current OwnerId value directly.

 

 
Real-Life Example
 
A Salesforce administrator at a company uploads a set of contract PDF files to an Opportunity record on behalf of a sales representative who is out of the office. Because the administrator performed the upload, their name appears in the Owner column of the Files related list — even though the sales rep is the intended owner of those contracts.
 
The administrator then updates the OwnerId field on the ContentDocument record via Data Loader to reassign ownership to the sales rep. However, after refreshing the Opportunity page in Lightning Experience, the Files related list still shows the administrator's name in the Owner column instead of the sales rep's name.
 
This occurs because the Owner column in the Lightning Experience Files related list reflects the CreatedById field — the user who originally uploaded the file — and not the OwnerId field, even after it has been updated. The CreatedById field is an audit field and cannot be changed. To verify the current OwnerId value, the administrator can query the ContentDocument or ContentVersion object directly via the API or Data Loader.

 

Номер статьи базы знаний

000381067

 
Загрузка
Salesforce Help | Article