Questions tagged [updaterecord]

The tag has no usage guidance.

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

Updating record field using LWC (without APEX) inside a flow (LWC update doesn't work & Flow update doesn't show in LWC)

I am totally lost here and new to LWC. I have worked a bit with flows and now trying to connect the two while learning LWC. I have a custom object (Ticket) where I want to update one field (...
Omar Rabbat's user avatar
0 votes
1 answer
61 views

Do the Update Salesforce Object Activities in Journey Builder count towards CRM’s API limit?

When using the Marketing Cloud Connector, the documentation states that: “Connected App Authentication is a secure authentication mechanism used by Marketing Cloud Connect. It removes SOAP and REST ...
Jackson Chen's user avatar
  • 4,657
1 vote
1 answer
101 views

Update Fields on Object B, 5 days after the expiration on Object A

I am pretty new with Flows builder. I am trying to create a flow that updates a picklist field and a checkbox field on Object B's record after 5 days of an expiration date on Object A's. Object A is a ...
Patrick's user avatar
  • 11
0 votes
1 answer
305 views

Edit related child records in LWC

My objective is to build a LWC component which will display the list of related opportunity records based on account and also enable users to update the stage and amount fields. I am getting the child ...
sourav guha's user avatar
0 votes
0 answers
32 views

Filter Criteria or Decision Element in a Record Triggered Flow using an Update Record element

After some advice on the best practice approach to updating records in a Flow. I have a few flows that sum values of related records and update the parent with that summed value. I have set up the ...
Simon Baird's user avatar
0 votes
0 answers
29 views

Best way to phantom mass save all contact records

I have created a flow to calculate a roll up summary on Account for all that Accounts Contacts. It works well. However, I need to save the contact record in order for the flow to work initially. I ...
Quango Bruce's user avatar
0 votes
1 answer
65 views

Uploading multiple records to a related tab for a specific ID

everyone! I've recently started working on a project and there's an issue where I'm stuck and need help with. Scenario: I've an excel sheet where there hundreds of types of House Numbers. For every ...
The Burgeoning Developer's user avatar
0 votes
0 answers
332 views

Record - trigger flow: update a field after one day of the record's creation but not possible to do with a scheduled path

I have to build a flow that runs when a record is created or updated. The context is the following: When the user creates a record in this custom object they have to choose a value from a picklist we ...
Rocio's user avatar
  • 3
0 votes
0 answers
53 views

Problem with updating DE record via SSJS

When trying to update DE record via SSJS nothing gets updated, but I don't know which step is wrong. Any help would be appreciated. Thanks in advance. Here's the SSJS Code. <script runat = "...
Sujin Hwang's user avatar
0 votes
1 answer
1k views

How do I bulk update records using simple-salesforce?

I am successfully performing a bulk query operation using simple salesforce to obtain the Id's I want to work with, but when I perform a bulk update like this: data=[{'Id': '1', 'Date__c': '12/01/2022'...
Tyler Davis's user avatar
-2 votes
1 answer
144 views

How to get data from a public form and update the salesforce leads? [closed]

I am trying to achieve this: Create a public form Send this form to the customer via email Customer opens the form and fill in the required fields Get the required field and update the salesforce ...
Abdul Qayyum's user avatar
-1 votes
1 answer
106 views

How to populate a dynamic value from a data extension and link it to the customer record by ContactUpdate Step in JourneyBuilder

At the end of all journeys, I have a "Update Contact" activity step that captures a hardcoded values from journey branch to a data extension (to keep a track which branch customer is ...
kuml2's user avatar
  • 305
0 votes
1 answer
174 views

How to make an empty DateTime field in an update trigger?

I want my DateTime field (Due_Date__c) in the custom object to be empty once I update the record. However, it's not changing to null when I update the record. public class TestObject2Class { public ...
TheRipper's user avatar
0 votes
0 answers
50 views

UpdateSingleSFObject function is not working correctly

I need help with my code snippet. It's part of an automation that first of all use a query to get the emails from contacts that I need to update in Salesforce CRM. Next to get the emails, I execute a ...
pvpolo's user avatar
  • 1
1 vote
0 answers
550 views

LWC when lightning data table save multiple rows get error

I have a lightning data table, I am able to edit 1 row and save it, but if I edit 2 rows and save, I get the error. Can you please help? Thanks in advance. HTML: <template> <...
Lei's user avatar
  • 21
0 votes
1 answer
525 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
Shreyash Anarase's user avatar
1 vote
2 answers
764 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 ...
Ayush Goyal's user avatar
0 votes
1 answer
5k 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 ...
user110290's user avatar
0 votes
1 answer
1k 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 ...
Mack Brooks's user avatar
1 vote
1 answer
966 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 ...
Thomas's user avatar
  • 2,294
-1 votes
1 answer
2k 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 ...
nehal zade's user avatar
2 votes
1 answer
5k 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 ...
CodeMonger's user avatar
0 votes
1 answer
516 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=...
unique user's user avatar
2 votes
0 answers
233 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 ...
Clare's user avatar
  • 127
2 votes
1 answer
437 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 ...
vino's user avatar
  • 133
1 vote
1 answer
979 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 ...
Max's user avatar
  • 476
0 votes
1 answer
3k 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-...
Max's user avatar
  • 476
0 votes
1 answer
1k 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 ...
Shalini goyal's user avatar
3 votes
6 answers
11k 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 ...
Irene's user avatar
  • 1,703
0 votes
1 answer
1k 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 ...
GroundToCloud's user avatar
0 votes
1 answer
145 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 ...
Brian Kessler's user avatar
3 votes
1 answer
11k 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 ...
Arthlete's user avatar
  • 4,793