You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are experiencing an issue with the File Picker v8 for Microsoft 365 where the URLs and Id's returned for selected SharePoint files become invalid if the file is moved to another site and folders (for some type of files). The webUrl, webDavUrl and sharePoint.embedUrl fields in the returned JSON reference the file’s static location/ID out to the , which breaks upon relocation. This behavior is problematic as it prevents us from maintaining persistent links to files selected via the File Picker.
Steps to Reproduce:
Open the File Picker v8 and select a file from SharePoint.
Retrieve the webUrl from the returned JSON.
Move the selected file to another SharePoint site.
Attempt to access the file using the previously stored webUrl, webDavUrl and sharePoint.embedUrl. - Observe that the URL is no longer valid (results in a 404 error).
Expected Behavior:
The File Picker v8 should return a persistent URL or an identifier that allows accessing the file even after it is moved.
Suggested Improvement:
Include a field in the File Picker v8 JSON response that provides a persistent URL or a SharePoint/Graph API reference that remains valid even if the file is moved.
Supporting Information:
Below is an example of the JSON response returned by the File Picker v8:
Description:
We are experiencing an issue with the File Picker v8 for Microsoft 365 where the URLs and Id's returned for selected SharePoint files become invalid if the file is moved to another site and folders (for some type of files). The webUrl, webDavUrl and sharePoint.embedUrl fields in the returned JSON reference the file’s static location/ID out to the , which breaks upon relocation. This behavior is problematic as it prevents us from maintaining persistent links to files selected via the File Picker.
Steps to Reproduce:
- Observe that the URL is no longer valid (results in a 404 error).
Expected Behavior:
The File Picker v8 should return a persistent URL or an identifier that allows accessing the file even after it is moved.
Suggested Improvement:
Include a field in the File Picker v8 JSON response that provides a persistent URL or a SharePoint/Graph API reference that remains valid even if the file is moved.
Supporting Information:
Below is an example of the JSON response returned by the File Picker v8:
The text was updated successfully, but these errors were encountered: