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

Feature: added cmdlet to unfurl a link. #3224

Merged
merged 3 commits into from
Jun 25, 2023

Conversation

gautamdsheth
Copy link
Collaborator

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

NA

What is in this Pull Request ?

Added a cmdlet to support link unfurling

Summary

copilot:summary

Details

copilot:walkthrough

@gautamdsheth gautamdsheth merged commit 4472d8d into pnp:dev Jun 25, 2023
3 checks passed
@GeoArias
Copy link

GeoArias commented Nov 28, 2023

Is there a way to get the Relative link of the file with this function Get-PnPUnfurlLink ? like:
https://xenv.sharepoint.com/sites/TestGeo/Shared%20Documents/WSR/External%20Sharing%20Issue%20-%20Users%20List.xlsx

Because what I was only able to return is the .Resource.AbsoluteUri which looks like:
"https://xenv.sharepoint.com/sites/TestGeo/_layouts/15/Doc.aspx?sourcedoc=%7BC18dB-142B-4Fdfg9-Asa1-12555EBBB019%7D&file=External%20Sharing%20Issue%20-%20Users%20List.xlsx&action=default&mobileredirect=true"

The thing is that that one doesn't work for being used with: Get-PnPFile

Any suggestions?

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

Successfully merging this pull request may close these issues.

2 participants