web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / New Sharepoint Column ...
Power Apps
Unanswered

New Sharepoint Column Not showing up in Patch Statement - But is showing in other areas

(0) ShareShare
ReportReport
Posted on by

So as the title, I have a sharepoint list which had 2 columns, <Name> and <Reason for Adding>.  I had a PowerApps list setup to add to these columns, Name from a People Picker and Reason for Adding from a text box.  This worked fine.

 

I then went to add a third column to the Sharepoint, a choice column.  The idea was to add a Role, and have this selectable from a Choice column.  I have a dropdown in my powerapps form with the following formular in Items :

 

Choices([@'ServerOrderForm-AdminList'].Role)

 

This works fine, and I see the following choices in the dropdown when the program is active : 

 

Powertron_0-1654879077016.png

These are the correct choices as setup in Sharepoint.  If I change these columns in Sharepoint and Refresh the data source, they update in this dropdown.  Happy days, link working fine, right?

 

Wrong.

 

When I try to update my Patch statement to include this new column I see the following : 

Powertron_1-1654879194366.png

All the advice I've found for this issue suggests refreshing the data source, or adding and removing the data source.  I've tried this - however even if that did work, why does one part of my powerapps form find that column fine, but another part of it doesn't?  Why does my Patch statement not recognize that there is a Role column there?  I thought it might be because it was a choice column and I needed to do Lookup() instead of just straight patching, but that doesn't work either : 

Powertron_2-1654879307820.png

I've been slamming my head into a wall with this all afternoon, and I really want this win before the weekend 😄

 

Halp!

Categories:
I have the same question (0)
  • 4th8 Profile Picture
    on at

    I have run into this before. It is rather annoying. Best I can figure it PowerApps has cached the schema for the list and does not check again for the new column. The only fix I have found is to come back to it later and it suddenly works. If anyone has a better option I would LOVE to hear it.

  • MVP-Phipps Profile Picture
    3,508 Super User 2024 Season 1 on at

    You are right it is to do with the caching. What I do is remove the datasourc3 as a connector and re add it. Or force a refresh to the connection by closing and reopening the application.

  • Powertron Profile Picture
    on at

    I intitally thought it was a caching issue - but surely if it was cache the dropdown box wouldn't populate with the values from the Sharepoint list?  Like it KNOWS that column is there, because its pulling the Choice values from it.

  • Powertron Profile Picture
    on at

    Also I've now left this over the weekend, which I would consider a reasonable time to "recache" this Sharepoint list, and the column is still not recognized.

  • MVP-Phipps Profile Picture
    3,508 Super User 2024 Season 1 on at

    You are patching a SharePoint Choice field?

    This does not require a LookUp, you can patch a choice column like this:
    Role: {Value: "Administrator"

  • MVP-Phipps Profile Picture
    3,508 Super User 2024 Season 1 on at

    You are patching a SharePoint Choice field?

    This does not require a LookUp, you can patch a choice column like this:
    Role: {Value: "Administrator"

  • Powertron Profile Picture
    on at

    Even when trying to patch it that way the column name is not recognized : 

     

    Powertron_0-1655113149814.png

     

  • MVP-Phipps Profile Picture
    3,508 Super User 2024 Season 1 on at

    Can you send a picture of the formula but not with the error hovered over it. I think I know the issue but need to see this to confirm.

  • Verified answer
    Powertron Profile Picture
    on at

    Powertron_0-1655113750062.png

    Genuinely not sure if "Dropdown1.Selected" is correct as the Checker isn't getting beyond the column name.  

    Edit : I noticed the issue myself after taking a screenshot and checking it.  When adding the "Role:" column I had forgotten to move my "Curly Close" from after the "Title:" column.  With that moved the formula is no longer erroring.

     

  • MVP-Phipps Profile Picture
    3,508 Super User 2024 Season 1 on at

    That is what I was going to say and suspected that was the case. Hence I asked for the screenshot. Please can you mark this as resolved?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard