Questions tagged [updaterecord]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

flow not always saving case status

Just dropping this as a question on your experiences. I have a quick action launched flow that I use to set new statuses on cases. it has a bunch of logic to manage several record types and special ...
-1
votes
1answer
28 views

Update failed. First exception on row 0 with id 0015g00000SAP87AAH; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, duplicate account not allowed: []

Create field called “Count of Contacts” on Account Object. When we add the Contacts for that Account then count will populate in the field on Account details page. When we delete the Contacts for that ...
1
vote
1answer
47 views

LWC - Issue Updating Record within @Wire

I am getting an error of [LWC component's @wire target property or method threw an error during value provisioning. Original error: [Invalid recordInput]] when trying to use updateRecord Below is the ...
0
votes
1answer
26 views

Why is the data of the "lightning-record-edit-form" field recorded if the value does not pass verification?

//html <template> <section role="dialog" tabindex="-1" aria-modal="true" class="slds-modal slds-fade-in-open"> <div class=...
0
votes
0answers
19 views

Update Case record with custom object record ID

I created a new custom object (DR), and am using Process builder to create a new DR record when Case Status = "Pending - Draft". The new DR record is successfully being created, and filling ...
0
votes
0answers
30 views

Update contact from Salesforce Entry Data Extension

Im trying to update a Salesforce Data Extension that has composite attributes like "Lead:Id" Im using this doc but i reviece this error I tried to put the id like this : /hub/v1/dataevents/...
0
votes
0answers
38 views

updateRecord working very slow/inconsistently on conditional input text

I have an lightning-input text box and I'm trying to add the input value to one of multiple fields using updateRecord of the uiRecordApi, depending on if it has a value already or not. It either works ...
2
votes
0answers
104 views

Why Would Journey Builder Update Some Service Cloud Contacts But Not Others?

I have a serious problem with a journey which is supposed to create and/or update Sales cloud objects. The journey is supposed to do the following: Create Individual Record in Individual Object for ...
2
votes
1answer
126 views

Format for specifying field value in updateRecord LDS call for mutiselect picklist in LWC js

I'm referring to the document to make use of out of box import { updateRecord, } from 'lightning/uiRecordApi'; It is straight forward to understand how to pass field values from the given example in ...
1
vote
1answer
328 views

Unable to edit StateCode & CountryCode in LWC lightning-record-edit-form

I currently have a set of address fields in a Lightning-record-edit-form. I am able to update all of the fields except for the StateCode & CountryCode Fields. They display as disabled. Here is the ...
0
votes
1answer
1k views

Address Field on LWC Lightning-record-edit-form

I am having difficulty updating the standard lead address field on a LWC in a Lightning-record-edit-form. I am able to update the other fields in the form though. Here is the HTML: <lightning-...
0
votes
1answer
555 views

List not updated in LWC

When I create, edit and delete the record list get not updated by default but all these functionality is working. import {LightningElement, track, wire} from 'lwc'; // importing apex class methods ...
1
vote
5answers
3k views

Validation rule Error message not displaying in LWC UpdateRecord toast event

I have a record which I'm updating via the UpdateRecord method from LWC, using Toast events to display success or error messages, which all works fine. What I'm not getting though, when there's a ...
0
votes
1answer
303 views

Bypass Required Field Missing error when Bulk Updating Opportunity Stage Name to Closed Lost

When bulk updating old Opportunities to 'Closed Lost' via Data Loader, some records failed to update with following error - Required fields are missing: [Custom_PickListField__c] How can i bypass ...
0
votes
1answer
50 views

Is it possible to update both a record and its parent from an external system using the Rest API?

On Salesforce, we have our Opportunity sObject contains a lookup to a custom SObject BankDetails__c. We would like to create an integration from the Microsoft Azure platform which would update both ...
3
votes
0answers
2k views

LWC: Unable to fetch custom field through the schema

I have a LWC component in which I am trying to pull the metadata from the schema so I can use updateRecord. I've done this before for a different custom object(and it worked) but this time I am ...