Skip to content

Remaining SharePoint/OneDrive issue #1630

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
fzumstein opened this issue Jun 23, 2021 · 2 comments
Closed

Remaining SharePoint/OneDrive issue #1630

fzumstein opened this issue Jun 23, 2021 · 2 comments
Labels
Milestone

Comments

@fzumstein
Copy link
Member

fzumstein commented Jun 23, 2021

There are still some issues with SharePoint:

  • capitalized dummies are "folders" though AAA is probably a "site-collection" ? see https://sharepointmaven.com/the-anatomy-of-a-sharepoint-url/). Also note the German variant to /Documents, see also: https://stackoverflow.com/a/65967886/918626

    This is SharePoint

    ActiveWorkbook.FullName:
    https://mycompany.sharepoint.com/sites/AAA/Freigegebene Dokumente/BBB/CCC/DDD/myfile.xlsm
    
    Local Path:
    C:\Users\myuser\my company\AAA - BBB\CCC\DDD\myfile.xlsm
    
    OneDrive Env var:
    C:\Users\myuser\my company
    

    The issue here is that AAA/Freigegebene Dokumente/BBB becomes AAA - BBB locally. This seems to be a Office 365 Groups Site Collections, see: https://sharepointmaven.com/site-collections-sharepoint/

    Note: if the code is embedded via xlwings PRO, it fails (but shouldn't), but can be worked around for the time being by providing a dummy value in the settings for ONEDRIVE_WIN, e.g. %ONEDRIVE%.

  • mybook.fullname in the Python package hasn't been handled so far which can trip you off if you use it to find files that are next to the workbook

@fzumstein fzumstein added the bug label Jun 23, 2021
@fzumstein fzumstein modified the milestones: 0.23.6, 0.24.1, 0.24.2 Jun 23, 2021
@fzumstein fzumstein modified the milestones: 0.24.2, 0.24.3 Jul 1, 2021
@fzumstein fzumstein modified the milestones: 0.24.3, 0.24.4 Jul 14, 2021
@fzumstein
Copy link
Member Author

fzumstein commented Jul 20, 2021

More samples:

This is a OneDrive URL according to https://sharepointmaven.com/the-anatomy-of-a-sharepoint-url/

https://mycompany.sharepoint.com/personal/user_company_com/Documents/Documents/BBB/CCC/DDD/myfile.xlsm
C:\Users\myuser\my company\Documents\BBB\CCC\DDD\myfile.xlsm

@fzumstein
Copy link
Member Author

closed by #1745

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant