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/