
Announcements
I have a button patching records into a Common Data Service table from table passed to a screen as a context argument. I want to set the patch record to
{RelatedEntity: LookUp(RelatedEntities, Id=relatedEntityId)}
However the PowerApps environment doesn't recognise a relationship as a valid column. It also doesn't accept setting the relationship entity ID in this format either.
How do I set a related entity to an entity to be patched?
Hi tomw,
Please make sure the Lookup function you are using will return proper value.
Please check the doc about Lookup function for a reference:
https://powerapps.microsoft.com/en-us/tutorials/function-filter-lookup/
I assume that RelatedEntity and RelatedEntities have a Lookup relationship.
Please show me the whole code you are using on your side.
When you are using the code, what’s the error message you are getting?
Best regards,
Mabel Mao