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 / Power Apps form data c...
Power Apps
Unanswered

Power Apps form data card keys not are not updating when the corresponding Sharepoint list column names change.

(0) ShareShare
ReportReport
Posted on by

I have a Sharepoint list, for which have created a custom form in Power Apps.

 

All the data cards have their DataCardXXKey element's text set to Parent.DisplayName, which should mean that it would show the name of the corresponding Sharepoint list column. And while some of those update themselves after I refresh the Data, many times they do not and they retain their old names even if the new one is already visible in some UI elements.

 

You can see the different values shown in the app and in the Form field selection pane.You can see the different values shown in the app and in the Form field selection pane.Proof that text should be changing along with the column name.Proof that text should be changing along with the column name.

 

I'm able to force a refresh by deleting and adding a field, or changing it from Edit to View and back to Edit, but this is in no way a sustainable thing to do.

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

    @MWojtkiewicz 

    Changing column names in SharePoint is problematic because SharePoint retains the first name of the column and PowerApps sometimes uses the original column name.  Generally, it is not a good idea to rename SharePoint columns once the list is created, in particular renaming the Title column causes problems.  My suggestion is to unlock the card and replace Parent.DisplayName, with text enclosed in double quotes.   FYI, the only values in a form's card that matter are the Default property of the control in the card and the Update property of the card itself.  

  • MW-29071255-0 Profile Picture
    on at

    Unfortunately this is not a suggestion I can use as I need the data card labels to change dynamically. Which they do, for the most part, until some of them don't. And PowerApps sees the new names, and shows them in the UI (my attached screenshots), but doesn't update the labels. This is clearly a bug, as the behavior is not consistent as it sometimes work, and you can force it to work manually by toggling the fields default mode from EDIT to VIEW and EDIT again. I also don't think that it will cause problems, as PowerApps remembering the first name only keeps the connection valid and SP also doesn't change the system name of the column after the first one.

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 296 Most Valuable Professional

#2
11manish Profile Picture

11manish 224

#3
Valantis Profile Picture

Valantis 181

Last 30 days Overall leaderboard