cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DBTS7
Helper II
Helper II

Change table name in one place will automatically change in other places too.

Hi, 

I'm working on 2 environment in PowerApps. 

Development Environment and Stage Environment. 

For development, we have different table names and for stage there are different table names. 

I want that, like in development if I change table name in 1 place then the same table name will automatically change in other places too. 

Is there any way to do the same in powerapps? 

If there is please let me know. Because we are changing those table names manually and it takes like a whole day. 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @DBTS7 ,

Firstly you need to disconnect the old tables and then connect the new ones (you will have heaps of errors when you do this). You then should be able to change all the references (one Table at a time) using Find and Replace. Are we referring to the same function here ?

WarrenBelz_0-1658717287372.png

Also, have you considered cloned Table structures (same name and structure for both Tables) - it makes the task enormously easier - you just disconnect the old Tables and re-connect the new ones and it all works instantly.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

 

 

View solution in original post

4 REPLIES 4
WarrenBelz
Super User
Super User

Hi @DBTS7 ,

You have caused yourself a bit of work here, but you can use the Find and Replace in your Search in the left pane and the select Replace All at the bottom

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

DBTS7
Helper II
Helper II

Hi @WarrenBelz 

  • Yes I use find and replace technique to change table names everywhere. But by this, I cannot change in whole application. 
  • Is there any other way like if I change in one place then the same table name will change automatically in whole app? 
  • It's a big project so find and replace technique also takes lot of time. 

Hi @DBTS7 ,

Firstly you need to disconnect the old tables and then connect the new ones (you will have heaps of errors when you do this). You then should be able to change all the references (one Table at a time) using Find and Replace. Are we referring to the same function here ?

WarrenBelz_0-1658717287372.png

Also, have you considered cloned Table structures (same name and structure for both Tables) - it makes the task enormously easier - you just disconnect the old Tables and re-connect the new ones and it all works instantly.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

 

 

Hi @WarrenBelz 

Thanks for this Find and Replace solution.

Previously I was changing with the below Find and Replace.

DBTS7_0-1658736079605.png

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,406)