Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building 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.

  • MW-29071255-0 Profile Picture
    on at
    Re: Power Apps form data card keys not are not updating when the corresponding Sharepoint list column names change.

    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.

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at
    Re: Power Apps form data card keys not are not updating when the corresponding Sharepoint list column names change.

    @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.  

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,026 Most Valuable Professional

Leaderboard