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 / Nasty bug with system ...
Power Apps
Unanswered

Nasty bug with system fieldnames when moving app to new environment.

(0) ShareShare
ReportReport
Posted on by 711

Hi,

As you all know dataverse table fields have sytem names, like cra27_myfield.

Recently an IT company looked at my app and notice I made it in the default environment. This was not right so they made a new environment. My app was exported from old and immported to new and the company painstakingly copied all the data from the old to the new environment, some with a flow, some with excel. In the end it all worked.

Now one table I added some fields. These fields have a different prefixed fieldname cr856_mynewfield. 

All was well until I saveclosed my app and opened it again. I got a bunch of red lines under the cra27 fieldnames in my code which according to my table editing section are still right. When I change all fieldnames to the non system names all is well again (no red lines) but then I saveclose again all my changes are undone (it says somehting about changed collections and if i want to adapt or go on, doesn't matter what I choose) and my red lines are back. It's like a vicious circle. How do I get out of this and am I in a lot of trouble for all future operations on my tables?

Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @HansHeintz 

     

    In that case, can you get the field name with Publisher from your Dataverse instance.

     

    Steps to follow:

    1) Go to make.powerapps.com and navigate to Data -> Tables.

    2) Open the table, and locate the column. Now, copy the logical name of the columns.

    3) Use the copied name in place of cra27_myfield everywhere in the app.

    4) Save and Publish the app. It should not show any errors to you.

     

    You can also try opening this app in a different browser to verify any issue related to caching or cookies.

     

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • HansHeintz Profile Picture
    711 on at

    >>I got a bunch of red lines under the cra27 fieldnames in my code which according to my table editing section are still right.

     

    The logical names of my old fields did not change like I said

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    @HansHeintz 

     

    Thanks for sharing the details. Have you tried opening this app on a different browser? You can also try refreshing the datasource from within the app.

     

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • HansHeintz Profile Picture
    711 on at

    It is no so simple. Powerapps keeps chanching my code into something that DOESNOT work.

    Browser does not matter. What can refreshing the datasource do above saving,closing,openeing the app.

    I also get the error on the "new file names". It is completely messed up

     

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    @HansHeintz 

     

    PowerApps requires third party cookies enabled to carry out the overall process. Can you please check if it is enabled on your browser? At times, checking in a different browser helps. Can you try to log-out from your current browser and login again?

     

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

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

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 166

#3
sannavajjala87 Profile Picture

sannavajjala87 71 Super User 2026 Season 1

Last 30 days Overall leaderboard