Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • You can only create a record with fields on that object. It looks like you're to create a record and update the Account at the same time? Or am I misunderstanding the situation? If you want to update a field that is on the Account object (lookup to ClientMember) then you'll need to use updateRecord on the specific Account record after creating your new record. Commented Mar 21, 2022 at 14:50
  • @KrisGoncalves I don't want to update any record here I'm trying to create a ClientMember object when I have to fill the lookup to the Account I want, but I don't have his Salesforce ID, I just have one of Account's External Id (which is Client_UID__c in our case) I know that we can create object and link lookup by their external id in API calls but it seems that it doesn't works with CreateRecord from uiRecordApi in LWC Commented Mar 22, 2022 at 14:42