web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Advanced Form Note Att...
Power Pages
Answered

Advanced Form Note Attachment. Send Attachment to mail or similar by Flow.

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi there,

 

I am using a Power Portal Advanced Form Note attachment. This means a file can be uploaded in the form and is attached to the record and thus "Note" table as well.

 

How can I retrieve the document from the Note Attachment in a Flow; in order to send it to a email or similar? I cannot find the right Syntax or Variable to retrieve the File Attachment from the "Note" record. 

 

Thanks for your help and Best,

Kadro

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi  @Anonymous 

    I had similar requirements and here is what i did:

    1- one the step that customers need (will) upload attachments as notes, add metadata with a certain flag, for example grab attachment (yes/no) default to no and it will change to Yes if customer pass this page (using metadata)

    2-set the flow to be triggered if the grab attachment = yes, list all the notes that were created within the last 1 hour AND regarding the triggered record, add this to filter rows/filter query in flow

    (Microsoft.Dynamics.CRM.LastXHours(PropertyName='createdon',PropertyValue=1))

    Manar_0-1646149010634.png

     

    3-use the note attachment to send email , use this example 

    https://community.dynamics.com/365/b/linn-s-power-platform-notebook/posts/send-email-from-dynamics-365-cds-with-attachment-from-notes-using-flow 

     

    let me know if that helps

    Manar

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hei Manar,

     

    Thanks for your efforts. I didn't know such an attachment would be so difficult and time consuming to get. I would have to familiarise first with metadata and flags in code, as well as common data service, which is not available in my flow actions.

     

    Is there really no way to grab the attachment, which is obviously stored in the Note table? It even has a document body, which is a long string. What to do with this?

     

    Thanks and best,

    Kadro

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Anonymous , its not really complicated as it may look but it requires a few steps, powerapps portal sites on top of dataverse (previously called common data service) and you should be able to grab the attachment from dataverse directly and email it.

    lets break it down, first create a flow that grab note attachment and email it (use the link i provided but look for datavrse instead of common data service as name has changed)

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks for your reply and Infos about CDS.

    I found out that you can grab the attachment from note in a Flow by using Base64toBinary expression on "documentbody" in a "New File" Action, which contains a string.

     

    This creates the excel file in my case, which I can then send via Email in a next Action.

     

    Hope it helps,

    Best

    Kadro

  • v-yujincui-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    Glad to see you solved the problem.
    You could mark your answer as a 'solution' so that it will be useful for others and close the case.

     

    Best Regards,

    Charlie Choi

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
rezarizvii Profile Picture

rezarizvii 64

#2
DP_Prabh Profile Picture

DP_Prabh 36

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 30 Most Valuable Professional

Last 30 days Overall leaderboard