cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
uogadmin
Level: Powered On

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
Gristy
Level 10

Re: create a link to a file in document library

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
Gristy
Level 10

Re: create a link to a file in document library

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

uogadmin
Level: Powered On

Re: create a link to a file in document library

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?

 

 

 

 

Gristy
Level 10

Re: create a link to a file in document library

It looks like your document is inside a folder make sure to include that
Sarah_Bull
Level: Powered On

Re: create a link to a file in document library

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. 

uogadmin
Level: Powered On

Re: create a link to a file in document library

Thanks Sarah

uogadmin
Level: Powered On

Re: create a link to a file in document library

thanks Gristy

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 338 members 5,246 guests
Please welcome our newest community members: