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 / I need to clear my app...
Power Apps
Unanswered

I need to clear my app's cache...

(0) ShareShare
ReportReport
Posted on by 137

Hello,

 

I have an app that is integrated with a sharepoint list. In the sharepoint list there is a column named "Vendor", it is a 'Singe Line of Text' type column and when it was first created, it was called "Vendor3".

 

In the app, for the Vendor field, I'm using a combo box, to pull in choices from another sharepoint list.

At first, when creating an item, everything worked great. However, when editing an item, if the Vendor field wasn't re-entered or re-selected, it would clear it self once submitted. Saving a blank value.

 

I noticed, on the EditScreen, in the card for the Vendor field, the DataField property was set to"Vendor3"
I changed this to "Vendor", and it would then retain it's value when not re-entered/re-selected - however, now it will retain it's value even when trying to overwrite it.

*Also, in the card, under DisplayName & MaxLength, I can see the former column name as well:

DataSourceInfo([@'SharepointListA'],DataSourceInfo.DisplayName,"Vendor3")
When I try and change this to "...Vendor", it tells me that Vendor does not exist.

 

From what I can tell this seems to be a cache issue. I've found a couple sources saying I need to refresh my cache or collection, then update all the "Vendor3"s in the app to "Vendor"s since Vendor3 no longer exists.

However, I don't see that option in settings and formulas using ClearData & ClearCollect have been unsuccessful.

 

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

    Hi,

     

    I'm assuming you have renamed the column on your SharePoint List.

    Even if you renamed it PowerApps will refer to the old name. So it will show the error that the column doesn't exist.

     

    So from the PowerApps you need to use old name. Else you can delete the column (if no data) and then add the column with the new name.  Then refresh the SharePoint connection from the App and then apply the code to the new column named as vendor.

     

     

  • SebS Profile Picture
    4,582 Moderator on at

    @JeffT2022 

     

    You need to know one important aspect of SharePoint List renaming Column do not rename original reference name means Power Apps still will see it as Vendor3 no mater what. To change that you need to delate whole column and re create it than refresh data source in power app to apply that change and than you can rename all reference to that column in power apps if you have a lot of data I do not recommend delating column as it will result of lost of all data in it, and that Means in power Apps you need to use every ware vendor3 name or it will not pull right data.

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard