cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

create a link to a file in document library

I create a flow that if a list item is created, its attachment will be created in a document library with item's ID and attachment file name as the document name (eg. 12-invoice.jpg)

I want to create an approval flow "Start an approval" and add a link to the 12-invoice.jpg inside the details field, how can I do this?

Thanks,

Joe

 

1 ACCEPTED SOLUTION

Accepted Solutions
Resident Rockstar
Resident Rockstar

Hey,

 

Two options

 

1. Create a flow to listen on the library for item created and you can insert the link to an item as dynamic paramater

 

1.png

 

2. use your existing flow - you already know the details of the item, so can populate using your already constructed information.

 

2.png

View solution in original post

6 REPLIES 6
Resident Rockstar
Resident Rockstar

Hey,

 

Two options

 

1. Create a flow to listen on the library for item created and you can insert the link to an item as dynamic paramater

 

1.png

 

2. use your existing flow - you already know the details of the item, so can populate using your already constructed information.

 

2.png

View solution in original post

Thanks Gristy.

 

I use the second method as below

photo1.png

 

I receive the email as below

photo2.png

 

When I click the link, it shows 404 error

photo3.png

But, the file "18-tshirt-black.jpg" is in document library.

photo4.png

 

Do I make any mistake?

 

 

 

 

Resident Rockstar
Resident Rockstar

It looks like your document is inside a folder make sure to include that

From your screenshot, @uogadmin, it looks like your file might actually be in a subfolder called "Vendor Bill", so that URL you're generating may not be right. Perhaps you can fix the URL to include the subfolder or follow Gristy's first option. 

Thanks Sarah

thanks Gristy

Helpful resources

Announcements
New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (84,529)