ShortPoint Web Part displays the following error message:
ShortPoint asks the browser to cache these files for 7 days to reduce the network time and to provide our customers with better performance and user experience. By default, the browser will not check for CORS policy (Cross-Origin Resource Sharing) on these files and does not ask the remote server (the CDN) for cross-origin policy headers, and in return, our CDN will send the files without any CORS headers.
Recently, Microsoft did an update to some selected tenants that forces the browser to check for CORS policies. While our CDN can return the correct CORS headers, our files are still cached on the customer's browsers without these headers, for the users who have opened ShortPoint before.
Microsoft & the SharePoint team already indicated that they have fixed the issue, more information about this incident can be found here: Webparts with assets deployed on Azure CDN #7103.
For more information about Cross-Origin Resource Sharing, please refer to this article: Cross-Origin Resource Sharing (CORS).
Our team has built an app that can be deployed across your tenant, and will force the browser to clear the cache for all ShortPoint files.
If you don't wish to install any app, you can ask your users to clear their browser cache, and they should not experience the issue anymore.
You only need to have this app installed on your tenant for one week, after that you can remove it and ShortPoint Web Parts will not be affected at all.
To install the app, please do the following:
Step 1. Sign-in into Office.com with your Global admin account
In the side App Launcher menu, scroll down and click All Admin Centers:
From the expanded options, choose SharePoint:
Step 2. Open the SharePoint App Catalog
Select More features from the side menu options:
Under the Apps section, click Open:
Open the App Catalog:
Then, choose Apps for SharePoint from the side menu:
Step 3. Download ShortPoint Cache Cleaner app
- Download ShortPoint Cache Cleaner App.
- Extract the file ShortPointCacheCleaner_vX.X.X.X.zip.
- You will find after extracting the following file: short-point-cache-cleaner.sppkg.
- Upload short-point-cache-cleaner.sppkg as described in the following step.
Step 4. Upload ShortPoint Cache Cleaner App to App Catalog
In the pop-up, click Choose Files:
From your PC, choose the short-point-cache-cleaner.sppkg file from the downloaded ShortPointCacheCleaner folder. Press Open:
Then, press OK:
I cannot add the new package to the App Catalog!
If the step is not completed successfully, and you have encountered a problem adding the package to the App Catalog, please check this solution article: I Can Not Upload ShortPoint App to SharePoint App Catalog.
After the upload is completed successfully, you will be prompted to deploy the solution.
Make sure that Make this solution available to all sites in the organization is checked. Press Deploy.
After this step is completed, you will see a message on the top highlighted with green, indicated that the upload is completed successfully.
Important: You should see that ShortPoint Cache Cleaner is Deployed and Tenant Deployed:
You might get the following error that the App was not deployed:
In that case, all you have to do is to select the app (1) and click Deploy from the Files tab in the Ribbon (2):
To get more information about the deployment error, check our solution article: Known Issue: ShortPoint SPFx App Deployment Error - Deployment Failed. Correlation ID.