Showing results for 
Search instead for 
Did you mean: 
Helper II
Helper II

Removing Dataverse connector breaks a collection and some variables

I am developing an app for offline use, and it was originally connected to some Dataverse tables. I have removed all connections to those tables, but when I reload the app in the designer, a lot of my collection and variable functions are broken and giving me error messages about things that work perfectly fine in the old versions that are still connected.


What's more confounding is that this is only happening with one of my three main collections. The others are seemingly fine.


For example:


"We can't evaluate your formula because the context variable types are incompatible with the types of values in other places in your app." This is from trying to Set two number variables (longitude and latitude) that are set in multiple other places. I have no idea what it thinks is wrong here.


"Invalid argument type (Error). Expecting a table value instead." / "The function 'Clear' has some invalid arguments". From trying to clear a collection that is defined elsewhere. If I type out a dummy Collect function, first, it will stop complaining UNTIL I reload the app, and all errors have returned.


And lots and lots of "Name isn't valid" errors because it seems like it's stopped acknowledging that collection exists, even if I manually invoke it again. So it will stop complaining in one control but then be broken in all the others.


What am I doing wrong? I've been testing this code for a couple of months, so I know it works. I have tried to export and import the app, but that did nothing.




Accepted Solutions
Helper II
Helper II

Clearing my browser cache fixed this after fighting with it for several hours. Sigh.

View solution in original post

Helper II
Helper II

Clearing my browser cache fixed this after fighting with it for several hours. Sigh.

Helpful resources

Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,926)