Skip to content

Feature: added cmdlet to unfurl a link.#3224

Merged
gautamdsheth merged 3 commits intopnp:devfrom
gautamdsheth:feature/unfurl-link
Jun 25, 2023
Merged

Feature: added cmdlet to unfurl a link.#3224
gautamdsheth merged 3 commits intopnp:devfrom
gautamdsheth:feature/unfurl-link

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
@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