Use Power Automate to create hyperlinks

Anonymous
2021-04-16T18:10:43+00:00

Hi Everyone

I'm trying to create a flow that works like this: every time someone adds a new file to a document library in SharePoint, the flow creates a hyperlink to it in a sister document library. Each time I try to do this I find that the functions I use do not have dynamic content and I'm struggling. Any help would be gratefully received.

Cheers

Paul.

Microsoft 365 and Office | SharePoint | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

10 answers

Sort by: Most helpful
  1. Anonymous
    2021-04-22T13:20:47+00:00

    Hi

    I'll be looking at this tomorrow and will respond back with my results.

    Kind regards

    Paul.

    0 comments No comments
  2. Anonymous
    2021-04-17T05:07:04+00:00

    Hi Doctre_P,

    I go through your post carefully and as per your description, when you use a trigger when a new file is added to a folder in SharePoint online document library you cannot get the hyperlink (URL) as Dynamic Content.

    May I know have you check for a "Link to item" option in your Dynamic content. Link that can be used to get to the file or list item .

    Also, please try with the trigger “when a file is created (properties only)”, then you could get the dynamic content Link to item.

    Meanwhile, could you please upload a screenshot of your trigger flow here for better understand and we test in our side and verify the result with you.

    I appreciate your patience and understanding.

    Best Regards

    Waqas Muhammad

    0 comments No comments
  3. Anonymous
    2021-04-19T08:11:12+00:00

    Hi, 

    Thank you for the quick response. Your screenshots showed me a way that I wasn't using before and now the flow runs. The only trouble is that I can't find the link that is being created!! Can you look at my flow please and tell me what is the next step to have a usable link?

    Kind regards

    Paul.

    0 comments No comments
  4. Anonymous
    2021-04-20T08:18:44+00:00

    Hi Doctre_P,

    I see your Flow generates a link to new created file, if this is your need, after the Create sharing link action, you should add a new action, like "send an email", "initialize a variable" or "compose", so you can see the output of the "create sharing link" output:  Please see image below.

    Additionally, if you want the link to appear somewhere (e.g.: sharepoint), you need to use an update file properties action to add the link to a column you have created for this purpose. Just FYI, you cannot easily write a value to a Hyperlink column, so use a simple text column instead. 

    I appreciate your patience and understanding.

    Best Regards

    Waqas Muhammad

    1 person found this answer helpful.
    0 comments No comments
  5. Anonymous
    2021-04-21T05:19:13+00:00

    Hi Doctre_P,

    Have you checked above reply? Do you need further assistance please feel free to post back?

    Best Regards,

    Waqas Muhammad

    1 person found this answer helpful.
    0 comments No comments