Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Sharepoint - Add link into list item to file in document library

(0) ShareShare
ReportReport
Posted on by 10

Hello everyone,

this is what I'm trying to achieve, I need some guidance more than a step-by-step guide. Not sure if this approach is the best one.

 

I've a list in SharePoint called "Sales", where requests to enter a new Sales Order into our ERP are added by, guess, the Sales Team and received by our Data Entry Team;

The Title of the list is the Sales Order Number (with format "AB1234"), one of the columns in the list is called "pdf", where I'd like to add the link with the related file after it's been generated;

once the order is entered, a pdf is automatically generated and added into a SharePoint Document Library called "Spool",

and the file name structure would be "Sales Order No_AB-1234_Date 05-05-22.pdf";

at this point I'd like to automate, and add a link to this file into record "AB1234" under column "pdf"

 

if someone could point me to the right direction

 

Thanks

  • okeks Profile Picture
    802 Super User 2024 Season 1 on at
    Re: Sharepoint - Add link into list item to file in document library

    1) Use "When file is created" trigger of the Sharepoint connector on the spool library

    2) Use substring and replace function to get the sales order number from the file name in the correct format.

    3) Use "Get Items" action from the Sharepoint connector with a filter on the Sales Order Number to get the list entry.

    4) Update the lis tentry witht the link to the PDF file.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow