I have two separate SharePoint Sites that are the same (I created one from a template of the other). So all field names, settings, etc, same.
I have a PowerApp that uses a SP list in one site and I have a copy of the PowerApp that uses a SP list in the other site. I used export/import to get the duplicate PowerApp then went in and changed the data connections.
The weird part is the second powerapp comes up with an error in the formula for MaxLength on a dropdown box.
Original that works just fine:
DataSourceInfo([@VirtualPZone], DataSourceInfo.MaxLength, "OpeningType")
But in the duplicated PowerApp running with data from the duplicated SharePoint list, it doesn't like this formula and says the function has some invalid arguments. IT IS EXACTLY THE SAME..??
Then if I play with it, the only thing I can get it to accept without error is:
DataSourceInfo([@VirtualPZone], DataSourceInfo.MaxLength, "Opening_x0020_Type")
But then my PowerApp doesn't work...no errors just doesn't save the form.
How is this possible? Again everything is exactly the same between the two, just two different SP Sites that are exactly the same?
Thanks,
Terry