Hi There,
I am trying to get my canvas app to add a record to a CDS table called 'Notes' where the column the defines the relationship between the note and another object id called 'Regarding'. On the Note entity it's quite clearly there :
But when I try and Patch it I get this error :
Looking at the table in CDS / Dynamics, I can't see the 'Regarding' column there either.
Has anyone come across / solved this?
Thanks!
Solved! Go to Solution.
Sometimes the actual name of the table is different from the display name. Check your table in Dataverse to see if they are the same and if not, try using the actual name in your patch.
Sometimes the actual name of the table is different from the display name. Check your table in Dataverse to see if they are the same and if not, try using the actual name in your patch.
You are absolutely right - I literally just stumbled across the solution - it turns out to be :
{'Regarding (_objectid_value)': Gallery2.Selected}
Where the column display name is 'Regarding' but the actual column name in the table is 'objectid'
The Power Apps intellisense gave me this solution, but hadn't before I'd posted my rant! 🙂
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
184 | |
51 | |
47 | |
32 | |
32 |
User | Count |
---|---|
265 | |
91 | |
78 | |
68 | |
67 |