Hi Youcef, Thank you for your feedback.
It is possible without an Adaptive Card, but from my example, you could only send a single SharePoint file or all the files, unless you had a pre-determined filter in the Flow. I have used the Adaptive Card just to act as a file selection interface for the user to allow them to select which files they want to send. Unfortunately, SharePoint can't seem to pass to a Flow selected files, just "Selected File"...
To start building the Flow for a given SharePoint Document Library, you need to start from that Library and then select Automate > Rules > Create a Rule. This creates the relationship between the Document Library and the 'For a Selected File' Flow Trigger. This is something I will update in my post.
I'm not aware that Dataverse Tables are able to show a list of related Flows. To build a similar Flow to this for Dataverse, you could use the the ‘Download a file or an image’ action to your flow to grab the files from the Dataverse record. You would likely need to trigger this from outside of the Dataverse table though.
I hope that is helpful.
Kind Regards
Matt
Hi Matt,
Thank you so much for your answer.
Sending a single file would suit me fine. I am using the SharePoint trigger "For a selected file". The problem is that my flow does show in the list of the flows related to the Documents library (trying to fire the flow when on the Documents Tab of a Dataverse Table). As a matter of fact, it appeared at the beginning and then disappeared....
Plus I did not quite understood your sentence "** you need to start from that Library and then select Automate > Rules > Create a Rule**" , can't see that when on a SP library.
I shall wait for your update
Thank you again.
Best regards.
Youcef
Hi Youcef,
No problem.
In my past experience, if I have not started creating the Flow from the SharePoint Document Library, but by building the Flow from make.powerautomate.com - then the Flow is not shown in the list under "Automate".
This is an ongoing issue reported by others for a while now: powerusers.microsoft.com/t5/Buildi...
I'm sorry I've no experience with the Documents Tab of a Dataverse Table. I was under the impression that Dataverse Documents were stored in Azure Blob Storage and not in SharePoint....
As a matter of fact I have been mistaken by the first image of your post. Indeed it shows the account library in SP and I thought it was the Document Tab of the Dataverse Account table.
What I am trying to do is to send selected files in that tab of Dataverse and send them as attachments by mail.
Thank you again.
Youcef
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Youcef, Thank you for your feedback.
It is possible without an Adaptive Card, but from my example, you could only send a single SharePoint file or all the files, unless you had a pre-determined filter in the Flow. I have used the Adaptive Card just to act as a file selection interface for the user to allow them to select which files they want to send. Unfortunately, SharePoint can't seem to pass to a Flow selected files, just "Selected File"...
To start building the Flow for a given SharePoint Document Library, you need to start from that Library and then select Automate > Rules > Create a Rule. This creates the relationship between the Document Library and the 'For a Selected File' Flow Trigger. This is something I will update in my post.
I'm not aware that Dataverse Tables are able to show a list of related Flows. To build a similar Flow to this for Dataverse, you could use the the ‘Download a file or an image’ action to your flow to grab the files from the Dataverse record. You would likely need to trigger this from outside of the Dataverse table though.
I hope that is helpful.
Kind Regards
Matt
Sorry not Automate > Rules > Create a Rule - I should have said. Integrate > Power Automate > Create a Flow
Matt
Hi Matt,
Thank you so much for your answer.
Sending a single file would suit me fine. I am using the SharePoint trigger "For a selected file". The problem is that my flow does show in the list of the flows related to the Documents library (trying to fire the flow when on the Documents Tab of a Dataverse Table). As a matter of fact, it appeared at the beginning and then disappeared....
Plus I did not quite understood your sentence "** you need to start from that Library and then select Automate > Rules > Create a Rule**" , can't see that when on a SP library.
I shall wait for your update
Thank you again.
Best regards.
Youcef
Hi Youcef,
No problem.
In my past experience, if I have not started creating the Flow from the SharePoint Document Library, but by building the Flow from make.powerautomate.com - then the Flow is not shown in the list under "Automate".
This is an ongoing issue reported by others for a while now: powerusers.microsoft.com/t5/Buildi...
I'm sorry I've no experience with the Documents Tab of a Dataverse Table. I was under the impression that Dataverse Documents were stored in Azure Blob Storage and not in SharePoint....
I hope this makes sense.
Kind Regards
Matt
Hi Mat,
Thank you so much for your valuable answers.
As a matter of fact I have been mistaken by the first image of your post. Indeed it shows the account library in SP and I thought it was the Document Tab of the Dataverse Account table.
What I am trying to do is to send selected files in that tab of Dataverse and send them as attachments by mail.
Thank you again.
Youcef