Excel workbook shows old SharePoint property values
Bài viết
Áp dụng cho:
SharePoint Online, SharePoint Server, Excel for Microsoft 365
Symptoms
You have a Microsoft Excel workbook that's stored in a SharePoint Online or SharePoint Server document library. When you open the workbook in the Excel desktop app and view the file properties, the workbook shows the old property values instead of the values that are stored in SharePoint. In this case, when Excel does a Save or AutoSave operation, the old values that are stored in the local cache will overwrite the current values that are stored in SharePoint.
Cause
This is a known issue in Excel. This issue might occur if the workbook already exists in the app local cache of the Excel desktop app.
Workaround
To work around this issue, use one of the following methods.
Method 1: Delete files from local cache when closing them
In the Excel desktop app, select File > Options > Save.
Under Cache Settings, select Delete files from the Office Document Cache when they are closed, and then select OK.
Close and reopen the file.
Note: Setting this option might cause files to open more slowly and increase network usage. This is because Office applications always download files completely every time that they're opened.
Method 2: Disable SharePoint property sync
You can prevent a SharePoint document library from synchronizing the property values of files between Office applications and SharePoint. If properties are set on the Office Backstage, they won't be saved to SharePoint. If properties are set in SharePoint, they won't be pushed to the Office Backstage. This workaround is best suited for users who primarily use the SharePoint UI to view and set property values.
Note: You must have the SharePoint administrator permission to take the following step.
To disable the property sync, run the following PowerShell scripts:
If the ParserDisabled property is later set to $false, a significant side effect of this action is that the old property values that are stored in the file might overwrite the property values of all documents that are stored in the document library on SharePoint.
Excel is a Microsoft application that has been in use since 1985. You might be surprised that in addition to simple spreadsheets, Excel can enable modern analytics and business intelligence. In this Learning Path, you will learn how to modernize and empower data conversations within your organization using Excel & Power BI together with MS Teams, and SharePoint. You’ll gain awareness of the business intelligence landscape, technology capabilities, and their roles.