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

Error "the type of this argument does not match the expected type" while setting the Regarding lookup of Notes entity in Dynamics365 CE

Hi,

 

I am trying to create a Note Record in Dynamics365 through PowerApp using Patch function.

 

But I am getting the error as "the type of this argument does not match the expected type GUID.Found Text" while setting the "Regarding" field on Note record as shown in below screenshot:

Untitled.png

Previously, there was a app setting as below to avoid the above error as shown in below screenshot:

 

But the setting has been removed in the latest update which is causing the above error to appear again.

Untitled.png

Please can any one let me know how to resolve this error?Smiley Frustrated

3 REPLIES 3
Community Support Team
Community Support Team

Re: Error "the type of this argument does not match the expected type" while setting the Regarding lookup of Notes entity in Dynamics365 CE

Hi @Ankita_Rane ,

Do you want to add a new reocrd into your Note Entity using Patch function?

 

The "Use GUID data types instead of strings" functionality has been removed from Advanced settings of App settings, please check the following blog for more details:

https://powerapps.microsoft.com/en-us/blog/display-names-and-guids-for-canvas-apps-graduate/

 

I have made a test on my side, I afraid that there is no way to achieve your needs using Patch function within PowerApps currently.

 

If you would like the "Use GUID data types instead of strings" functionality to be added within PowerApps, please submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Best regards,

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.
Ankita_Rane
Level: Power Up

Re: Error "the type of this argument does not match the expected type" while setting the Regarding lookup of Notes entity in Dynamics365 CE

Thanks for the response.

 

Then how should I create a note record while linking the "Regarding" field in PowerApp?

 

As creating a note record in powerapps requires _objectid_value and _objectid_type. Please help.

Highlighted
Rkaur
Level: Powered On

Re: Error "the type of this argument does not match the expected type" while setting the Regarding lookup of Notes entity in Dynamics365 CE

Hi ANkita,

 

Did you find any solution for this ?

or any workaround?

Im getting the same error. "Specified column _objectid_type and _objectid_value do not exist"

If i remove these two varibales, my function validates but these are required fields to push data to Notes entity.

 

Team,

Please suggest a way we can send image from powerapps as attachments to CDS entity,

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (4,856)