cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

Create a document in One Drive for Business

Hello everybody,

 

I have a SharePoint list (In this list we store info about contracts) with a column type "Multiple lines of text (enhanced rich text".   We use this column to insert a link to the contract which is stored in a  SharePoint library.

 

I have the following scenario:

 

1. 1 month before the contract reach the due date

2. The flow must send an email to a person who should decide if the contract can be ended or it should be prolonged

 

What I need, is to be able to send via email the document which is stored in SharePoint library.

 

The common information between the SharePoint list and the SharePoint library is the Title and File name.

 

I manage to send the email, but I cannot create the document on One Drive and attach it to the email.

 

Any idea, would be more than welcome!

 

Thank you!

 

Screenshot 2020-09-29 095427.pngScreenshot 2020-09-29 095614.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Hi @claudia ,

 

Would you please share the full screenshot of the configuration of the flow?

Please make sure the file name with expression is exists in the library.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
Highlighted
Resident Rockstar
Resident Rockstar

@claudia 

Please check below

Mira_Ghaly_0-1601368563831.png

 

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.
Highlighted

Thank you @Mira_Ghaly !

 

I have tried this, but it is not working at this moment.

First I need to pick-up the file (from the SharePoint library) which is related with record from the SharePoint list.

 

Highlighted
Community Support
Community Support

Hi @claudia ,

 

Could you please share the run history of the flow?

I find that you miss a space in the expression:

1.png

Please add the space and let me know if the issue still exists.

 

Best Regards,

Alice

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Highlighted

Thank you for your answer @v-alzhan-msft.

 

I have added the space, but the output from Get files is null

 

Screenshot 2020-09-30 090248.png

 

 

Highlighted

Hi @claudia ,

 

Would you please share the full screenshot of the configuration of the flow?

Please make sure the file name with expression is exists in the library.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted

Thank you Alice ( @v-alzhan-msft )

Indeed, the Filename with extension does not exist in the library, so:

 

In Get files (properties only) I added in the ODATA filter: FileLeafRef eq 'Name.pdf' (the "Name" from the list).

 

 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (9,577)