Questions tagged [record]

The term sObject refers to any object that can be stored in Force.com. This could be a standard object, such as Account, or a custom object that you create, such as a Merchandise object. An sObject variable represents a row of data, also known as a record.

Filter by
Sorted by
Tagged with
0 votes
3 answers
119 views

How can I limit the creation of new records to 1 record per parent record?

Is there a solution to limit the creation of 1 record, per parent record? If I disable the "new" button, is there a specific filter for this scenario? If I should establish database control, ...
user avatar
-1 votes
1 answer
37 views

Get ID of newly created record in screen flow

I know there is a similar question, however it did not help me all the way through. I have a screen flow to clone a Quote record. I use a screen flow because my Quote object is master to 4 other ...
Matheus Boechat Alcântara's user avatar
0 votes
1 answer
48 views

Create New Record Window Blank

I am a Salesforce Admin and I am trying to create a new record from a related list on the the Opportunity Object. I have FLS on all fields on both objects. It works on one app but not the other. I ...
Patrick's user avatar
  • 19
0 votes
1 answer
54 views

How do you configure a lookup field's dropdown list preview content?

When you have an input control for a lookup field, suggested options are presented in a drop-down menu as you type. Can you change which fields are used in the suggestions and, if so, where is that ...
kennyc's user avatar
  • 307
0 votes
0 answers
17 views

Conflict of Standard button override

InTesting==> Firstly, we have users who use both Lightning and Classic. On the account object, we have a lightning page for lightning users and vfpage for classic users. To achieve a new record ...
Harish Korlepara's user avatar
0 votes
1 answer
103 views

Includes formula in record triggered flow not triggering

Ive got a multipicklist field that i want to use in the entry criteria of a record triggered flow and it seems to never trigger the flow. When i choose "All conditions evaluate to true" and ...
AES's user avatar
  • 1
0 votes
2 answers
86 views

Is there a way to commit custom object records via VS Code to a repo?

I could notice we can commit Custom object fields and layouts and such, but can we commit the custom object records which we created in org?
SF Learner's user avatar
0 votes
1 answer
48 views

Lead Import is creating blank records

Another Admin is mass importing Leads via Dataloader. The load is working correctly, and all the records are created as expected. But for some reason, it also seems to be creating "phantom" ...
Dan Watkoski's user avatar
-1 votes
1 answer
55 views

Record Lock in salesforce

How to record lock once status is completed as per UI, but in backend using automation process we can like roll up field ,record can be updated
Deepsikha Rajpoot's user avatar
0 votes
0 answers
51 views

How to implement FlowRecordRelation with an LWC launched flow

My LWC launches a flow, and the user has the option to pause the flow. If the flow is paused and the user navigates away and comes back to the page, there is the option to resume the flow. The only ...
Ravi Patel's user avatar
0 votes
1 answer
25 views

Simple question about page layouts and record detail components

I am having some trouble trying to do some basic lightning app builder work in my developer org, where I am making an app. I am working on a record detail page for a custom object. I want to have a ...
smith's user avatar
  • 1
0 votes
2 answers
59 views

Error in PDF VisualForce

I am trying with this code to retrieve the score of year-1 and year -2 and display it on my PDF. the error I have is: Unknown property 'Retail_NFT__cStandardController.records' =>VisualForce : <...
laila19's user avatar
  • 13
-1 votes
1 answer
2k views

Passing Record id to flow through list view button

There is button placed on account list view which calls a flow, it enables user to select multiple accounts and pass those id's to flow. now i have placed thais list view on 'Training'(custom object)...
Veeru P's user avatar
1 vote
1 answer
2k views

LWC update Record field without Apex controller

I have an LWC Component and i am trying to update the field Images_Uploaded__c to true once the lightning input has finished the upload. I would like to do it in the component without having to modify ...
Brian23Gt's user avatar
  • 109
0 votes
1 answer
127 views

How to open records with right click from list view

i have this this list view made with LWC but i want to open these records with right click - > open in a new tab i want someting like this :
Andrea Vitangeli's user avatar
-1 votes
1 answer
249 views

How to implement read lock on record in salesforce?

We have a requirement to implement the read lock on record such that no other transaction can read that record until the first transaction is completed or committed and other transaction have to wait ...
ZeroX's user avatar
  • 21
-1 votes
1 answer
737 views

Unable to delete record: Value does not exist or does not match filter criteria

I am trying to delete some records but I am stopped by the error message "Value does not exist or does not match filter criteria." I have already disabled all filters all lookup-fields on ...
Corné van Klink's user avatar
1 vote
1 answer
746 views

How to get recordid in community page using LWC [closed]

mymodal.html <template> <lightning-modal-header label="My Modal Heading"></lightning-modal-header> <lightning-modal-body> Content: {recordId} console.log(...
Shivam Mishra's user avatar
1 vote
1 answer
89 views

Navigation don't work correctly

With this code, I want the moment I click on the button the user moves to the account object (redirection from obj__c to account_c). obj__c has a Master-Detail relation with the Account . When ...
Salesforce dev98908's user avatar
0 votes
0 answers
62 views

How to manage duplicates whith multiple managed packages integrations

In my org there are many managed packages(at least 4 - Hubspot, Apollo, Leadfeeder, Calendly), that can insert Contacts and manipulate them afterwards. Sometimes there is an issue with records ...
Michał Piątek's user avatar
-1 votes
1 answer
661 views

How to pass and insert Records from lightning web component to apex class

With this code I tried to insert into my object but I get this error : System.NullPointerException: Attempt to de-reference a null object => My Apex Class @AuraEnabled(Cacheable=false) ...
dev50's user avatar
  • 15
2 votes
1 answer
186 views

Deserialized JSON with Invalid Ids are ignored silently

Below String has invalid Id for Lookup(Contact). But it's deserialized without an error, which I hope is okay. My concern is Update DML is run without any error and ignoring the invalid value instead ...
Pasan Eeriyagama's user avatar
0 votes
1 answer
87 views

Decision is not being evaluated in Flow resulting it in passing every time

I am new to flows and have a record triggered flow whereby when a ServiceAppointment Record is updated or created that it sends the record ID to an Apex action. This works just fine. I have to modify ...
Strong Like Bull's user avatar
0 votes
2 answers
53 views

RecordId in action [closed]

This component is an action that I launch through a button that exits on a component for the object obj__C , I want to retrieve in File__c , the id of obj__C , but with this code I don't know what ...
dev50's user avatar
  • 15
0 votes
1 answer
905 views

Is there a way to hide the Standard NAME field?

Is there a way to delete/hide this field? It comes with object creation but I don't need it. Or is there a flow /formula field I can do to update this field with the user? This is for a tab called ...
123here's user avatar
  • 19
0 votes
1 answer
240 views

Can users without a financial services cloud license view/modify financial service cloud records in the same org?

I'm working with a org that wants to leverage FSC for a subset of users, but wants visibility of those records by non-FSC users. I have reviewed the FAQ guide and the developer documentation, but ...
S.B.'s user avatar
  • 2,049
0 votes
2 answers
143 views

Apex Method doesn't return any value

With this code I want to get the value of the myrecord (Volume__c). But with this code I don't get any value. @AuraEnabled public static List <Volume__c> getObj(String recordId){ Volume__c ...
ddev96160's user avatar
0 votes
2 answers
2k views

Remove duplicate values in a list

Hello Im Trying to remove duplicate values in this table The specific field is Sold_to_Broker_1_Commission_Rate_c, now my method is only returning the list with others parameters (more development), ...
Alex Barón's user avatar
1 vote
1 answer
895 views

How can we upsert a record in the object, querying by a particular field?

How can we upsert (insert if not found, update if found) a record in the object, querying by a particular field (in our case: UserID__c)? We tried to PATCH the following request URL: $userId = $_POST['...
Platoscave's user avatar
1 vote
1 answer
378 views

How do I get my record name instead of RecordID?

Currently, I have three objects namely: User, Review and Cases where a user can create a case and other users can make reviews on the cases. This is illustrated in the schema as shown below: In my UI,...
H4shBrown's user avatar
0 votes
0 answers
75 views

could an apex class somehow open a window with a specific record of my org?

I come with an interesting question, which I still can't find a solution. We have installed an app called Talkdesk to our org sandbox. Basically, it is an app that works as a callcenter and has a ...
Mauricio Vilar's user avatar
1 vote
0 answers
1k views

Salesforce flow with Scheduled Paths seems not to honour Entry Conditions

I'm trying to get a flow to run a scheduled path (Only on scheduled path). Expectation is to get a Time based workflow entry (Under Setup->Time based Workflows) so that scheduled path would be ...
Pasan Eeriyagama's user avatar
0 votes
1 answer
1k views

Autopopulate Fields on New Record Form

I have a requirement to create a follow-up task for an existing task and auto-populate field data from its parent task. I have created another object which looks precisely like a task and created a ...
itsaboutcode's user avatar
0 votes
1 answer
564 views

Aura Component Attribute Value

I would like to set a lookup id value for an Aura attribute, but it doesn't work unless i hardcode it. Instead I need to retrieve it from the lookup on the current recordId. How is this possible to do?...
Brian23Gt's user avatar
  • 109
0 votes
1 answer
642 views

Is there a direct link between CaseComment and FeedItem records?

Trying to find a way to link FeedItem records to the CaseComment they are related to. Have a Lightning Component pulling in Case information, but failing to find a reliable way to relate the replies ...
Tim Hunter's user avatar
0 votes
1 answer
41 views

How to check if field has enough space for inserting data

I want to check if my field has enought space for inserting. So if field__c has enough space for data - it should be inserted into field__c. If not and field2__c has enough space it should be inserted ...
raholed's user avatar
  • 25
0 votes
3 answers
2k views

Refresh LWC (record page) when record is updated

I'm trying to find a way to refresh a custom lwc that's embedded into my record page but I can't find a way to properly achieve this. I know you can handle this with aura using <aura:handler event=&...
molinet's user avatar
  • 877
0 votes
1 answer
840 views

Record-triggered Flows

If I update a field on record using Record-triggered flows, I want to know that according to the salesforce order of execution, will it cause the triggers and processes (process builders) to run again ...
Sfdc_Spider's user avatar
1 vote
1 answer
489 views

Set value immediately when creating Picklist Field on Existing Records

I'm trying to create a new Picklist Field. I know that I can assign a default value for it so that Newly Created Records would always have that value (unless manually changed). However, my concern is ...
VanceSOQL's user avatar
  • 103
-2 votes
1 answer
2k views

How do I pass the recordId from Aura to my Apex controller?

I have access to recordId in Aura and I want to access it in my Apex Controller. I am following the docs here. I keep getting an error that it can't find the serverEcho controller file. (See doInit ...
Nour's user avatar
  • 1
1 vote
1 answer
2k views

How to write SOQL query in Salesforce to get total row/record counts of each object along with the object name?

SELECT qualifiedapiname FROM EntityDefinition WHERE IsQueryable = true AND IsRetrieveable = true AND IsDeprecatedAndHidden = false LIMIT 2000 Above query lists all SFDC standard/custom objects....
ManiK's user avatar
  • 111
0 votes
1 answer
564 views

Record id and contact id?

I have a record id. How can I use that in an an Apex function to retrieve the contact id? Background: I have a react app that I have embedded using lightning container static resource (aura component)...
Nour's user avatar
  • 1
1 vote
0 answers
536 views

How to add seperate comma in list value after loop and input data in list?? -FLOW SALESFORCE

i am newbie in salesforce, I do a loop and store the data in a collection variable (multiple). but when the data is added the list is not separated by commas. Example of the resulting output: Data ...
Akun Premium1009's user avatar
1 vote
2 answers
8k views

Get object apiname based on recordid in lightning web component

Is it possible to het the object apiname based on a recordId in a lwc without a call to apex? Something like apex but then without going to backend: Id recordId = '001g000001jmmCA'; System.debug('...
Thomas's user avatar
  • 2,294
0 votes
2 answers
4k views

Export data and download file

I am exporting some data into csv from org and want to download that file. Now i can just send it to email. Any ideas? List<Account > acclist = [Select id,name , CreatedDate , lastModifiedDate ...
Terdivi's user avatar
  • 51
0 votes
1 answer
435 views

How to add a record data to this without using apex?

created a static table but now need to add record values to it ? Help me and thanks in advance. code: <aura:component implements="flexipage:availableForRecordHome,force:hasRecordId,force:...
bharath sambrani's user avatar
1 vote
1 answer
475 views

Record page link is not appearing in the email

I am sending out an email from my code after a certain action, and I am trying to add the record link to it. But in the email that is being sent out, the link of the record page is not appearing or ...
Akshay Vasu's user avatar
0 votes
2 answers
2k views

Get all object fields into map [duplicate]

I am trying to get all record fields and transfer them to another org. But getPopulatedFieldsAsMap doesn't give all fields. How can i retrieve all fields? conList is trigger.new for(List<Contact>...
Solmetirka's user avatar
1 vote
1 answer
1k views

force:hasRecordId interface doesn't provide recordId from "new" button override

I have two custom objects (let's call them House and Resident). The House record page has a related list containing all related residents. I also have two lightning components (ResidentDetails and ...
Jessica's user avatar
  • 155
0 votes
2 answers
375 views

Apex flow create record

I have a problem. If we create a record in salesforce flow (for example 'quote' object) and if we choose the option 'use all values from a record' than we have a variable that will contain that ...
Tema1995's user avatar
  • 274

1
2 3 4 5