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
-1 votes
1 answer
40 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)...
1 vote
1 answer
55 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 ...
0 votes
1 answer
32 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 :
-1 votes
1 answer
57 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 ...
-1 votes
1 answer
114 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 ...
1 vote
1 answer
78 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(...
1 vote
1 answer
58 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 ...
0 votes
0 answers
32 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 ...
-1 votes
1 answer
244 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) ...
  • 15
0 votes
0 answers
107 views

Lightning Record Page Editor throwing Error [Cannot read property 'interactions' of undefined]

Page : Lightning record page of any object When I am trying to edit any lightning record page, I am getting the below error message: This page has an error. You might just need to refresh it. Action ...
2 votes
1 answer
70 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 ...
0 votes
1 answer
33 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 ...
0 votes
2 answers
50 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 ...
  • 15
0 votes
0 answers
28 views

Fetch Id of Record opened (Softphone)

I have a use case where a VF page is embedded in Softphone (Iframe), In the background, we can open any contact, account or leads record. What I want is that on a button click from softphone(vf page) ...
  • 45
0 votes
0 answers
157 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 ...
  • 19
0 votes
1 answer
74 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 ...
  • 1,959
0 votes
2 answers
88 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 ...
0 votes
0 answers
20 views

update name of record of dependent list fail

i'm trying to save a record of a flow with a meaningful name that derives from dependent picklist. i have created a screen flow, and a formula which contains {!roof_Utility.middlePicklistApiName}"...
  • 1
0 votes
2 answers
461 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), ...
1 vote
1 answer
338 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['...
1 vote
1 answer
130 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,...
0 votes
0 answers
49 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 ...
1 vote
0 answers
548 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 ...
0 votes
1 answer
518 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 ...
0 votes
1 answer
237 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?...
0 votes
1 answer
328 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 ...
0 votes
1 answer
36 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 ...
  • 25
0 votes
0 answers
91 views

Is There an Easy Way to Create a Feed Using Custom Feed Items?

Lightning-Aura-Component I have an array of feed elements not connected to an Id and I need to make a feed containing these elements. Is there an easy way to do this or must I recreate an entire feed ...
0 votes
2 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=&...
  • 823
0 votes
0 answers
58 views

How to add Emails & Log a call records to account record page in related list?

I have developed a account record page in Lightning app builder.But i am unable to add Emails & Log a call records belongs to that account record. can anyone assist is there a way to add Emails &...
0 votes
1 answer
681 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 ...
1 vote
1 answer
266 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 ...
  • 103
-2 votes
1 answer
792 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 ...
  • 1
1 vote
1 answer
1k 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....
  • 111
0 votes
1 answer
385 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)...
  • 1
1 vote
0 answers
409 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 ...
0 votes
1 answer
962 views

How to enable/show Activity Timeline for Custom Object on Salesforce Android App?

There is currently a feature to show Activity Timeline on the Salesforce Android App for some Standard Objects' record page, such as Leads, Opportunity, Accounts, and Contacts. Source. Example: My ...
  • 343
0 votes
1 answer
4k 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('...
  • 2,274
0 votes
2 answers
2k 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 ...
  • 51
0 votes
1 answer
260 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:...
1 vote
1 answer
220 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 ...
0 votes
2 answers
1k 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>...
1 vote
1 answer
642 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 ...
  • 155
0 votes
2 answers
229 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 ...
  • 245
3 votes
1 answer
827 views

Possible to get sObjectName in Utility Bar LWC?

I'm creating a LWC that I want to have context from the currently focused tab. I want to have both the recordId and the sObjectName. In fact, I've successfully done this for the recordId based on this ...
  • 581
0 votes
0 answers
58 views

How to get owner's photo in custom record page?

I made a custom record page, where I can get detail info about records. This includes the owner field. And next to the field I want to get a photo of the owner and maybe user's photo from "...
0 votes
0 answers
239 views

Is it possible to attach standard actions like 'Sharing' and 'Change Owner' to custom buttons when creating a custom Record Page in LWC?

Is it possible to attach standard actions like 'Sharing' and 'Change Owner' to custom buttons when creating a custom Record Page in LWC? For 'edit' and 'clone' I'm using NavigationMixin, but what can ...
0 votes
0 answers
45 views

salesforce toolkit php create duplicate records

I am using salesforce toolkit PHP to create an Opportunity. Everything works great but I random duplicate record creation which is driving me crazy. Does anyone know how to fix this problem? I can't ...
0 votes
1 answer
15k views

Fetching record data from Apex in LWC

I am trying to display the account name in the HTML by fetching the data from apex controller. The getter method in the JS file is used to fetch the data from apex using the wire method and return the ...
1 vote
1 answer
572 views

Can an object record's id repeat?

I know that Id records in an object are created randomly and are not repeated. My question is: this repetition does not occur because the records exist, but what if one or more records are deleted? ...

1
2 3 4 5