Salesforce Fact #967 | LWC GraphQLmutation with variables

We can pass variables in the mutation operations in LWC GraphQL.

In this example, we are passing the LastName, Email and Phone field values as variables in the Create Contact operation.

Reference: https://developer.salesforce.com/docs/platform/lwc/guide/reference-graphql-mutation.html

Attached are the screenshots.



Comments

Popular posts from this blog

Salesforce Fact #218 | Blank picklist value is actually NULL

Salesforce Fact #947 | Resolving dashboard logged-in user limit error

Salesforce Fact #929 | Nth highest in screen flow