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 Apps / Vibe Edit Mode (Read O...
Power Apps
Suggested Answer

Vibe Edit Mode (Read Only)

(1) ShareShare
ReportReport
Posted on by 81
I am prototyping an app that I used the Vibe interface for.  To continue testing, I need to connect to an internal SQL Database and tables to reference stored procedures.  I have the connection established, but when I try to edit the power.config.json it tells me it "Cannot edit in read-only editor."  I have tried opening in a number of different ways, but this is blocking me from moving forward.  Anyone experience this and have a work around or way to edit the code directly?
I have the same question (0)
  • Suggested answer
    Valantis Profile Picture
    6,341 on at
     
    as far as i know.
    Power Apps Vibe Code Apps are designed to be authored in VS Code with the Power Platform CLI, not in the browser editor.
     
    The in-browser editor for Code Apps is read-only by design it's a preview viewer, not an edit surface.
     
     
    To edit power.config.json and add your SQL connection:
     
    1. Install the Power Platform CLI: npm install -g @microsoft/powerplatform-cli
    2. Export your Code App to a local folder:
    pac app export --app-name "YourAppName" --output-folder ./myapp
    3. Open the folder in VS Code. The power.config.json will be editable there.
    4. Add your SQL Server connector to the config. The connection entry in power.config.json uses the connector reference format. Community resources (like the skill.md pattern) can help ensure the LLM or manual edits don't break the schema.
    5. For stored procedures specifically, once the SQL connector is added, in your app code use the connector SDK:
    const result = await context.connectors.sql.YourStoredProcedure({param1: value});
    6. Push back to Power Platform:

    pac app push --app-name "YourAppName"
     
    This is the confirmed workflow for Code Apps.
    The browser editor is intentionally read-only because Code Apps are meant to be developed locally with full code tooling.
     
     

     

    Best regards,

    Valantis

     

    ✅ If this helped solve your issue, please Accept as Solution so others can find it quickly.

    ❤️ If it didn’t fully solve it but was still useful, please click “Yes” on “Was this reply helpful?” or leave a Like :).

    🏷️ For follow-ups  @Valantis.

    📝 https://valantisond365.com/

    💼 LinkedIn

    ▶️ YouTube

  • Suggested answer
    11manish Profile Picture
    2,882 on at
    Please verify below first:
    • Confirm whether power.config.json is intentionally system-managed in your Vibe project.
    • Check whether the SQL connection and stored procedure configuration can be completed through the Vibe UI rather than the JSON file.
    • If this is a preview feature, review the current limitations documentation or raise the issue through the Power Apps community/support channels, as read-only access to power.config.json is often by design rather than a permissions problem.
     

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 392

#2
WarrenBelz Profile Picture

WarrenBelz 364 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 271 Super User 2026 Season 1

Last 30 days Overall leaderboard