cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
skelecopter
Helper I
Helper I

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.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
skelecopter
Helper I
Helper I

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

View solution in original post

1 REPLY 1
skelecopter
Helper I
Helper I

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

View solution in original post

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,969)