cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PapithaSekar1
Helper II
Helper II

Error in Patch - Dataverse

I want to Patch a lookup column in entity. Am getting "The type of argument does not match the expected Record,found type text" error

 

I can able to retrive the value on a label but the same formula if i use it in patch its showing error

Formula used in Patch

LookUp(Vaksinebeholdninger, Vaksine.'Vaksine ID' = DD_Vac_Type.Selected.'Vaksine ID').'Vaksinebeholdning ID'

 

Can anyone help me

1 ACCEPTED SOLUTION

Accepted Solutions
timl
Super User III
Super User III

Hi @PapithaSekar1 

If you just patch the record without 'Vaksinebeholdning ID', that should hopefully work.

LookUp(Vaksinebeholdninger, Vaksine.'Vaksine ID' = DD_Vac_Type.Selected.'Vaksine ID')

 

View solution in original post

2 REPLIES 2
timl
Super User III
Super User III

Hi @PapithaSekar1 

If you just patch the record without 'Vaksinebeholdning ID', that should hopefully work.

LookUp(Vaksinebeholdninger, Vaksine.'Vaksine ID' = DD_Vac_Type.Selected.'Vaksine ID')

 

View solution in original post

PapithaSekar1
Helper II
Helper II

Thank you it worked

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

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (35,644)