Modify Power Automate, PCF response via Chrome without server changes.
Shashank Bhide
Principal Architect at Kerv Digital, Ex. Microsoft, Power platform, Azure and bodybuilding architect. Strength coach.
Sometimes we need to test an application with different values coming from the server, deploying the changes repeatedly on the server can be time consuming. This article explores how can we use chrome/edge browser's content overriding to change the response in real time.
Changing the power automate JSON response
For this example, we'll use an HTTP triggered power automate which responds with the JSON of all the active accounts.
Change the response with a local folder
Open the network tab, go to the request, right click and select override content
Use select folder.
Click on select folder and choose a local folder, this will open the file in edit mode.
Make desired changes.
Change the content as desired on the right side panel, e.g. we've changed from "Fourth coffee" to "Fifth Coffee". Save the file (Ctrl +s)
Your modified response is now served.
Where can this be used
PCF debugging, web resource debugging, web app debugging, including but not limited to only JSON types.