cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ankita_Rane
New Member

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
v-xida-msft
Community Support
Community Support

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.

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.

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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (38,289)