Skip to content
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

Obtaining a file URL #195

Open
reed-klein opened this issue Jan 8, 2024 · 1 comment
Open

Obtaining a file URL #195

reed-klein opened this issue Jan 8, 2024 · 1 comment

Comments

@reed-klein
Copy link

Is it possible to include functionality for retrieving a file's SharePoint URL based on the file name? For example, $list_files() will give me the names in a folder; I could then use one or more of those names to obtain the relevant file URLs (note: this is the URL as it appears when clicking "Copy link", or "Share link" for a file in SharePoint--not the URL as it appears in the web browser's address bar).

Many thanks for all of the work on this package--it is fantastic!

@hongooi73
Copy link
Collaborator

Do you mean a link that you would share to someone outside your team? If so, the create_share_link() method is what you're looking for.

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

No branches or pull requests

2 participants