I have an app that I have been building for a few months. I completed it 1.5 weeks ago and it was working until today.
I have an onstart = ClearCollect(ClientCollect,Contacts) and today im now getting the below.
"The requested operation is invalid. Server Response: Could not find a property named '*_label' on type 'Microsoft.Dynamics.CRM.*."
But nothing has changed.
Does this issue occur within your ClearCollect function?
I have made a test on my side, and don't have the issue that you mentioned. The screenshot as below:
I think this issue may be related to the connection to your D365 Entity (Contacts) from your app. Please take a try to remove the connection from your app, and then re-add a new connection to your Contacts entity, then re-publish your app to check if the issue is solved.
In addition, please also consider take a try to type your ClearCollect formula wihtin the OnVisible property of the first screen of your app instead of the OnStart property of the first screen, then re-load your app, check if the issue still exists.
Tested as you said and am still facing the same error.
I'm getting a similar issue with a CDS-based canvas app. It works fine in preview mode for me too, but I get the error in the Web player, and mobile player on both iOS and Android.
My app references two custom CDS entities, and I get a similar error for each, as follows:
I don't know what the "_statecode_label" refers to on the first of these. However, the "_cr933_supplierproductverification_label" looks as if it's referring to a "Multi Select Option Set" field (in case that helps!)
I have tried removing the data sources and re-adding them as suggested above, but with no change in the situation.
Is there anything else you can suggest, please?