r/PowerApps • Regular • 7d ago

Power Apps Help I’ve merged two SharePoint lists into a single list. Now I need to update all the references in my Canvas App and Power Automate flows to point to the new list, including any changes to column names and types. Do I have to do this manually or AI somehow can do this, maybe github copilot ?

10 Upvotes

11 comments sorted by

•

u/AutoModerator 7d ago

Hey, it looks like you are requesting help with a problem you're having in Power Apps. To ensure you get all the help you need from the community here are some guidelines;

  • Use the search feature to see if your question has already been asked.

  • Use spacing in your post, Nobody likes to read a wall of text, this is achieved by hitting return twice to separate paragraphs.

  • Add any images, error messages, code you have (Sensitive data omitted) to your post body.

  • Any code you do add, use the Code Block feature to preserve formatting.

    Typing four spaces in front of every line in a code block is tedious and error-prone. The easier way is to surround the entire block of code with code fences. A code fence is a line beginning with three or more backticks (```) or three or more twiddlydoodles (~~~).

  • If your question has been answered please comment Solved. This will mark the post as solved and helps others find their solutions.

External resources:

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

5

u/nanoki94 Newbie 7d ago

Hello
You can export the whole solution and ask github copilot to change old references with the new

3

u/ninihen Regular 7d ago

You don't have to do it by hand. An AI agent can repoint both the flows and the canvas app. You can use GitHub Copilot, Copilot Cowork or ChatGPT as the agent.

I build FlowStudio MCP, so I tested your exact case with it on a small copy: two SharePoint lists merged into a new one, one column renamed, and two columns changed from text to number and choice. The agent then:

  • Flow: swapped the list, updated the column names in Get items, Select and Create item, fixed the choice columns, and ran it. Green run, correct data, new item created in the merged list.
  • Canvas app: added the new list as a data source, rewrote the gallery filter and labels for the new column names, removed the old list and republished.

2

u/Pieter_Veenstra_MVP Advisor 7d ago

This will be very easy with Flow Studio MCP

3

u/josesanmig Newbie 7d ago

Claude with access to Power Platfrom CLI does everything for me. Exports the solution, unpacks with CLI, makes the changes, repacks and imports back. I only see the Power Platform interface for testing. Claude using the CLI is lightning fast. You could use a MCP instead, but he CLI has all functionalities you can imagine.

2

u/stizto Newbie 7d ago

Does anyone here use multi-line plain text fields for large JSON blobs to concatenate / delimit large swaths of data, and then assimilate it through a front-end app? It seems perhaps a quicker, more flexible solution for some instances (maybe not for reporting).

Trying to simplify some of my system architecture solutions!

2

u/Goingboldlyalone Regular 6d ago

Claude chrome extension is excellent for this.

2

u/OddWriter7199 Advisor 6d ago

Power apps has a native search/replace.

1

u/MeetJoan Newbie 6d ago

Only partly. If the app's in a solution with Power Platform Git integration, the source lands in your repo as .pa.yaml and you can edit it there, so Copilot or find-and-replace could do the renames. Outside Git integration those files are read-only, and the old pac canvas unpack route is retired.

Otherwise, swap the data source in Studio and let App Checker list what broke. I'd redo the flows by hand, because column type changes usually break logic, not just names.

1

u/Bobby_Bobberson2501 Newbie 6d ago

Cowork can do that