Notifications
Announcements
Hello,
Maybe someone can tell me what am I doing wrong here? I am trying to patch a form into table in dataverse but it shows me an error from my title.
'Part' is a text lookup but in my form it is: Distinct('CORR infos', Part).Result It is looking at other table and returning distinct part numbers in dropdown box.
The Distinct function will give you a table with unique values, in this case part.According to your error description, the part column is expecting a Record value due to the Look Up type.However you are currently referring to the distinct result of type String.
I don't know your database structure but this could be fixed by referencing the respective record via a LookUp:
LookUp(PartsTable, Part = YourDataCard.Selected.Result)
With this function we do expect that 'Part' is unique to each record in the look up table.
I hope this helps.
@marcy_pi
If you are using a form, why are you using patch instead of just SubmitForm()? If you delete the title field and add it back, what does the update property of the card show?
Hi,
If I use SubmitFrom() then I have the following error when I choose one of the options in my dropdown box:
See https://powerusers.microsoft.com/t5/Microsoft-Dataverse/Value-must-be-a-data-entity-record/td-p/931611
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Kalathiya 408
WarrenBelz 382 Most Valuable Professional
MS.Ragavendar 328 Super User 2025 Season 2