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 Automate / Creating a note in Com...
Power Automate
Unanswered

Creating a note in Common Data Service (CDS) within a solution

(0) ShareShare
ReportReport
Posted on by 45

Hi

 

I am trying to create a note record with an attachment in CDS. Document attribute in CDS connector accepts base64 encoded string. 

 

When I create a Flow from CDS solution and save it, I get the following problem with base64 expression.

I did the same thing outside of the solution without any issue.

 

How do I solve this issue?

 

Screenshot 2019-11-03 at 7.27.26 AM.png

Flow error when it is created via CDS solution

 

FYI

When I looked the code view, they are different, especially parameters and method. I noticed curly brackets { } are missing at document body in a Flow created inside CDS solution.

 

Screenshot 2019-11-03 at 7.30.09 AM.png

Code from Flow created in the solution

 

 

Screenshot 2019-11-03 at 7.30.17 AM.png

Code from Flow created outside of the solution

Categories:
I have the same question (0)
  • v-alzhan-msft Profile Picture
    Microsoft Employee on at

    Hi @cakhaing ,

     

    Could you please explain more details about the Code from Flow created in the solution and Code from Flow created outside of the solution that you mentioned?

     

    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.

  • AKhaing Profile Picture
    45 on at

    I created a Flow in CDS solution. Screenshot 1 is the trigger and an action of the Flow. An action is to create a note in CDS, and it uses base64 expression. When I save the Flow, it shows me an error.

     

    I re-created a Flow outside of CDS solution, and this has the same trigger and the same action. I can save the Flow.

     

    Screenshot of peek code are from those Flows to highlight the differences.

  • ashlega Profile Picture
    103 on at

    Hey,

     

      I just tried the same, and I can reproduce the error. Can't explain the difference, but, it seems, it's just expecting a prefix to know what that base 64 represents. For example, if you use the following expression, it seems to work:

     

    concat('data:image/png;base64,',base64('12'))

     

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 Automate

#1
Valantis Profile Picture

Valantis 641

#2
Vish WR Profile Picture

Vish WR 640

#3
Haque Profile Picture

Haque 495

Last 30 days Overall leaderboard