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 Automate
Unanswered

How to edit the code?

(0) ShareShare
ReportReport
Posted on by 5

Hi, hope everyone is well.

 

I just finished creating my automated flow but there are lines in the json file that I need to edit. However, per screenshot attached, it says "cannot read in read-only editor". How can I edit the codes then? Do we have an editor for this? Thank you.

 

Capture.JPG

Categories:
  • Expiscornovus Profile Picture
    34,005 Most Valuable Professional on at

    Hi @scahyadi,

     

    The peek code/code view is read-only:

    https://learn.microsoft.com/en-us/business-applications-release-notes/october18/microsoft-flow/peek-code-in-the-microsoft-flow-designer

     

    You can however, copy paste into the expressions tab.

     

    Typically the code view can be useful when trying to write expressions:

    https://powerautomate.microsoft.com/en-us/blog/use-expressions-in-actions/

     

  • scahyadi Profile Picture
    5 on at

    Thank you so much for the explanation! I will look into it.

  • Maxime_Guerin Profile Picture
    8 on at

    Just came across this thread, I had the same frustration with the read-only code view, so I ended up building a small browser extension for it.

    It adds a JSON editor directly to Power Automate, so you can edit the flow definition, validate it and save it without going through the export/unzip/import process.

    It’s called Power Automate Editor if you want to try it:
    https://chromewebstore.google.com/detail/mfdmecomnlocbddniidddpkkomhmpkgl?utm_source=microsoft

    Would be interested to know if it covers the use case you had here.

    EN - 1.png

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 244

#3
Henil Profile Picture

Henil 102

Last 30 days Overall leaderboard