Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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
1answer
9 views

Limit records based upon multiple criteria on object and user

I'm looking at limiting access to certain records such that should a record be assigned to a certain group of users (via some field on the object), only those users would be able see or edit those ...
0
votes
0answers
18 views

display multiple fields information in one inputfield

How can we show multiple fields information in one inputField? I would like to display multiple fields after select the searched record. In the attachment, multiple fields are shown in the search ...
0
votes
1answer
18 views

Update lead record on javascript button click in lighting

I am new to salesforce lightning. I have a button in classic that update the lead status. But I am not been able to figure out how the same thing will be written in lightning. Here is my classic ...
0
votes
1answer
539 views

How to share records for Territory group

I am trying to share record (Account) to Territory. I followed steps explained in Granting Access to Records. I have activated Enterprise Territory Management and created few territories. Still, I don'...
2
votes
2answers
845 views

How to create more than one temporary record with lightning components

Dear fellow Salesforce experts, I am building a lightning component where I am using a form with fields in order to create multiple records. I am already able to create multiple opportunity records ...
0
votes
1answer
380 views

Filtering records in a Napili Community Page?

I have a checkbox: Archive on a Custom object which gets checked on the records which were two hours old. I wanted to pull these records in a separate tab: Archived Records in a community page. I can ...
0
votes
1answer
401 views

How to override “New quote” standard action with lightning component

I want to override New quote action with a Lightning component to create a record page with only fewer fields : - Two dependant picklists ; - One hidden field. I have follow Trailhead Project - ...
0
votes
2answers
154 views

LWC Composition for Custom Layout inside a lightning-record-form

I have a SObject with multiple display layouts. Now, I want a way to display a particular layout in my lightning-record-form with different lightning-input-field. I don't wanna attach all the fields ...
0
votes
1answer
38 views

put text by link style in lightning datatable [duplicate]

I want to put data in lightning datatable by url link style like attached to express the record of relationship. I tried header type "url", but it showed "http//" in the cells. How can we put data ...
0
votes
0answers
37 views

mass merge accounts - tool suggestion anyone?

We have 2 sets of accounts in one org and would like to merge them. They are currently separated by Account Record Types, so I'm really asking if there is a way to merge 2 record types into one. We'd ...
0
votes
2answers
37 views

Input field not getting populated when selecting multiple records in a table as aura:id does not support dynamic id

I have a component which will display a list of records in the table format, and here I have a pick-list input field named Distance . Now on entering value in distance field and saving the record, ...
0
votes
0answers
36 views

Redirect to non-default tab on recordpage from Lightning Component

I'm using a lightning component to update a record. For the lightning whole application to work well, it has to reload completely. After updating the record, I use lightning-navigation to create the ...
0
votes
1answer
48 views

What a community user can do on the custom object record?

Has anyone implemented a community from a NPSP org ? I need to launch a community with a NPSP org, but I have a question that the documentation doesn't answer me. What a user can do on a record of a ...
1
vote
2answers
1k views

Getting the recordId in lightning web component in the utility bar

I'm fairly new to salesforce and lwc so apologies if this question has an easy answer. I'm trying to get the recordId in a component using @api. The component is being used in the Utility Bar. Using ...
0
votes
2answers
287 views

Salesforce Objects & record Counts

Is there any way to generate XLS/HTML output with below details from Salesforce? List of all STANDARD & CUSTOM Objects Record Counts associated with above objects Thanks Sri
0
votes
1answer
21 views

How do I pull a field in to a report from an associated record ( Accounting Seed )

I have a salesforce report ( Accounting Seed ) that includes a number of fields. When you click on the actual entry, you can get details including a reference to an other associated record ( it is ...
0
votes
1answer
429 views

Get Record Data for Custom Object

I have been following this guide to create a Web Component that gets a records information, however I am having trouble getting this to work with custom object... Is there extra steps you need to take ...
0
votes
1answer
180 views

How to perform mass merge for duplicated records in a custom object?

I have a custom object A and a custom object B. Custom object A is the parent object. Custom object B is the child object. The relationship between custom object A and custo object B is a master-...
1
vote
1answer
119 views

How to upload files to a related record using lightning components?

I'm trying to upload a file to a related record using just the <lightning:input> component. The <aura: component> includes the force:hasRecordId and by using {!v.recordId} I am able to ...
1
vote
1answer
200 views

Notes & Attachments Cant find using soql

I did not get any result from querying notes and attachment. Setup I create a custom object. I added notes and attachment to the custom object I created soql that filter by parentId and it looks like ...
0
votes
1answer
32 views

Configure a many-to-many relationship with one side being a fixed set of records, which may have different types [closed]

What is the best way to configure a many-to-many relationship with one side being a fixed set of records, which may have different types? I think it will be a lot easier to understand what my ...
1
vote
1answer
23 views

Record Insertion using Lightning,

I need to insert a record to a custom object throught the lightning page that I have created. but i am getting the attached SS error. Could any1 tell me what I am doing wrong ? CMP:- <aura:...
0
votes
1answer
22 views

Best Practice for Canine profile

I work for a nonprofit that trains service dogs for Veteran's with PTSD and we just started using salesforce. I am the admin, and still learning as I go... I am struggling with the best practice to ...
1
vote
1answer
263 views

How to specify the Lead owner when creating with REST API?

I searched through the documentation and it seems Lead creation is done by sending a hash of attributes. How do you specify the Lead owner? By email? User ID? Is there any documentation?
1
vote
1answer
183 views

Can't set a picklist default value when creating Person Account, because Person Account not visible

a bit long but I'm a bit stuck. I have Person Accounts enabled. I'd like to set a picklist default value when someone chooses to create a new Person Account. The picklist is not a controlling field ...
8
votes
1answer
5k views

Maximum length of Autonumber name field

I know that if you create a custom object, with an Auto-number Name field with a format, e.g. MYC-{0000} you will be able to create records from MYC-0000 to MYC-9999. The moment you create 10,000 ...
0
votes
1answer
41 views

Update record page after record is updated by calling external API

I have trigger on contact which validates phone by calling external API. To be able to call the the API from trigger, I'm using future annotation. The callout method writes the result to custom field ...
0
votes
0answers
215 views

Multiselect picklist type of flow is not supported in Field service lightning mobile application (Android)

Here I have created one visual flow and in that flow i have used 'Multi-Select Picklist' for choose multi record and it's working fine in my desktop & iOS application but not in "Android" ...
0
votes
3answers
110 views

How do you delete a custom object with a Lightning record page from Managed package?

I believe we can delete custom objects in a managed package once all dependencies are removed. Unfortunately we have a Lightning record page created for one of these custom objects. It seems we ...
0
votes
1answer
14 views

How to update a package in test environment after I changed it in development environment?

How to update a package in test environment after I changed it in development environment? After creating a package I forgot to add a few records of a specific Custom Metadata Type. Now I went to the ...
0
votes
1answer
330 views

How do I check the RecordType of an Opportunity?

We have a trigger in our org that will clone Opportunities if they meet certain criteria. Due to recent changes in our business though we now have to account for certain record types (i.e we only want ...
0
votes
1answer
25 views

getting error while filling in assigned to field of new task of Account

I am getting error while filling in assigned to field of new task of Account.When I am saving the task record, I am getting No User found error and not able to save the record. User that I have filled ...
0
votes
1answer
125 views

How do I edit a field in a record from Component.js in a lightning component?

I am new to Salesforce development (apologies in advance for not knowing all the Salesforce jargon) and I am trying to build a lightning component that will read fields from a record, add the values ...
5
votes
1answer
3k views

Is there some event to delete record from Lightning component like e.force:deleteRecord

There are a couple of events in Lightning to operate with records like e.force:createRecord or e.force:editRecord, but I did not find anything to remove record. https://developer.salesforce.com/docs/...
2
votes
1answer
60 views

RecordType.Name Visibility

I am going slightly crazy over here. I want to pull the RecordType.Name off of the Opportunity and write some logic depending on what the name is. public void onlineCalculatorShortenedLink(Map<Id,...
2
votes
2answers
141 views

How to make custom object record only visible to certain users based on field checkbox

So I have a custom object in my org called Promotion Events. I would like to add a field called 'Private' that is a check box, and if it is checked and the event is created, this event(Promotion Event ...
1
vote
1answer
407 views

How to check if record field is empty using just the component syntax?

Using force:recordData to load a record data to a component, how can I check if a numeric field is null, to work with the aura:if syntax? I've tried != null, != undefined, != '', empty(v.record....
2
votes
0answers
125 views

Salesforce Optimistic Record Locking and JavaScript Updates

Is there a way to implement field only updates for Salesforce? Even if fields could be updated concurrently through JavaScript/JavaScript remoting calls, would Salesforce still save the record using ...
1
vote
1answer
616 views

Lightning lookup component NOT working when added to Record Home

I am trying to use Lookup component by Tony Scott from github. Component works perfectly when used in a standalone app but the search result list doesn't render when added to the record home page. ...
0
votes
1answer
922 views

Get record id in lightning component which was added to a record page

Let us suppose that I go to a record. Then I am editing its page by adding a custom component on the page. Now I would like to be able to get a record id in the custom component which was added to ...
1
vote
1answer
300 views

Unable to insert records using Iterable Batch class

I'm trying to create an Iterable Batch class for inserting records. I'm able to insert my records in my normal class. I have created the Batch class and am trying to call it my current class in the ...
0
votes
1answer
1k views

How to create records of a custom object?

How to create records of a custom object? I can create a record of any standard object type (for example Account) by going to App Launcher and selecting the standard object type (for example Account)...
0
votes
0answers
101 views

set picklist values on profile basis

I created a picklist field on custom object and couple of record types to separate values of picklist field. Than assigned one recordtype to internal users profile and other to external user's profile....
1
vote
1answer
50 views

Record Sharing Salesforce

Below trigger is giving error while creating sharing records, can some suggests where is the issue. Sharing setting is set to private for external user on this object. Error: AccessLevel (trivial ...
1
vote
0answers
333 views

How to mark a status close/open in Path for Custom Object

I created a custom object and a Path based on the status field. However, there are a few status which would be equal to closed. How do I mark it as the end of the process like Closed Won and Closed ...
0
votes
1answer
54 views

Is current record Id accessible before record has been saved?

I have created a Skuid page that overlays Contact record pages. There is a "New" button which creates a new Taskrecord. on load of this new Task record, I wish for a TaskRelation record to be created ...
39
votes
5answers
23k views

can salesforce handle 50 or 70 million records?

Can salesforce handle 50 or 70 million records? in the past I worked on the org which had 20 million tasks and it was real problem, so wanted to get experts thoughts on what is the impact if we ...
0
votes
1answer
280 views

Create Child Record if a lookup on a Parent Object Changes

I'm pretty close to being maxed out on workflows for my custom objects. So I decided to see if apex classes could help, I'm still currently trying to learn how to write triggers and classes so Im ...
0
votes
0answers
290 views

Unable to lock row - Record currently unavailable error

I know there has been lot of things available online for record locking errors but I am putting my analysis based on client issue that we are facing, would appreciate if I can get any thoughts. We ...
2
votes
1answer
9k views

i cannot retrieve the current record id in lightning experience

I trying to do some processing for contracts, for that, i created a custom button on the contract that call a visualforce page. I am using ligntining experience and thus i created an application to ...