cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Rentatank
Level: Power Up

Error with no change to app or CDS

Hi,

 

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.

 

Regards,

Conor

 

5 REPLIES 5
Community Support Team
Community Support Team

Re: Error with no change to app or CDS

Hi @Rentatank,

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:6.JPG

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.

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Rentatank
Level: Power Up

Re: Error with no change to app or CDS

Hi Kris,

 

Ill test this now. I should of also mentioned that it works in preview. Just not on the published app.

 

Regards,

Rentatank

Rentatank
Level: Power Up

Re: Error with no change to app or CDS

Tested as you said and am still facing the same error.

 

The requested operation is invalid. Server Response: Could not find a property named '_*_label' on type 'Microsoft.Dynamics.CRM.contact'.
 
 
Interlock
Level: Powered On

Re: Error with no change to app or CDS

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:

 

  • The requested operation is invalid. Server Response: Could not find a property named '_statecode_label' on type 'Microsoft.Dynamics.CRM.cr933_sftfperson'.
  • The requested operation is invalid. Server Response: Could not find a property named '_cr933_supplierproductverification_label' on type 'Microsoft.Dynamics.CRM.cr933_sftforganisation'.

 

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?

Interlock
Level: Powered On

Re: Error with no change to app or CDS

Solved. I turned off "Explicit column selection" in Advanced Settings, and things are working again. See https://powerusers.microsoft.com/t5/General-Discussion/App-works-in-editor-preview-but-not-published....

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Users Online
Currently online: 206 members 6,159 guests
Please welcome our newest community members: