Overview of Problem
When trying to retrieve the local path of a file or folder stored on Box using functions in Microsoft Office, the returned path is in a URL format instead of the actual local path. Users encounter this problem when the Box for Microsoft Office Co-authoring feature is enabled.
https://api.box.com/wopi/files/[file_id]/WOPIServiceId_TP_BOX_2/WOPIUserId_-/[filename]sheet name
Process for Resolution
-
Disable Box for Microsoft Office Co-authoring:
- Open Microsoft Office (Word, Excel, etc.).
- Go to File > Account.
- Under Connected Services, find Box and click Remove.
-
Verify the Change:
- Restart Microsoft Office.
- Attempt to retrieve the local path again.
Outcome
Disabling the Box for Microsoft Office Co-authoring feature should allow you to obtain the actual local path for files or folders stored on Box. The links will no longer be converted to the URL format.
Alternatives
- If you continue to experience issues, enable debug logging, reproduce the error, collect Office Logs, and open a support ticket at support.box.com for further assistance.