Questions tagged [updaterecord]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
62 views

Lightning datatable inline edit doesn't work. the below pop-up appears on clicking save

this is the message which appears on clicking save after edit
user avatar
0 votes
2 answers
30 views

Why won't updateRecordApi take a list of records to udpate?

This might seem very simple on the surface, but I am wondering why won't the updateRecordApi take a list of records to be updated at once? The documentation says that it would take only one record at ...
user avatar
0 votes
0 answers
43 views

Update smart store record in Salesforce Mobile SDK Version

The issue we are facing is in: update smart store record in Salesforce Mobile SDK Version: 9.2.1 Platform: Android Target Android SDK Version: 31 Programming language: Kotlin Here I have one list of ...
user avatar
0 votes
1 answer
905 views

Update records using lwc

I have created an lwc component to enter the date picklist and text values and when I click save it gets recorded in the opportunity objects related fields.Right now I have created another object ...
user avatar
0 votes
1 answer
122 views

Flow Trigger when Field is changed from Certain Value

This has been tricking me up all day and I would love some assistance. I have a flow that I need to update field1 when field2 is updated. The tricky part is I only want this to happen when field2 is a ...
user avatar
0 votes
0 answers
50 views

Updating a value in a text field based on the value in a multi-select picklist field of a related object

I have a text field (SName) in my Tickets object whose value updates from a picklist field Unit ID in the related object Resources. One ticket can have more that one resources and hence Unit IDs ...
user avatar
  • 1
0 votes
1 answer
83 views

Inline mass edit datatable Lightning Web component

I have an assignment to update a checkbox on multiple records on a lightning web component datatable. I found several examples where each record has to be clicked to edit(pencil),edit,update(save). So ...
user avatar
  • 2,090
0 votes
0 answers
25 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 ...
user avatar
-1 votes
1 answer
489 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 ...
user avatar
2 votes
1 answer
1k 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 ...
user avatar
0 votes
1 answer
57 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=...
user avatar
2 votes
0 answers
154 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 ...
user avatar
  • 107
2 votes
1 answer
209 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 ...
user avatar
  • 103
1 vote
1 answer
542 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 ...
user avatar
  • 466
0 votes
1 answer
2k 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-...
user avatar
  • 466
0 votes
1 answer
761 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 ...
user avatar
3 votes
6 answers
6k 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 ...
user avatar
  • 1,377
0 votes
1 answer
557 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 ...
user avatar
0 votes
1 answer
73 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 ...
user avatar
3 votes
1 answer
5k 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 ...
user avatar
  • 4,441