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.

39 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
103 views

25 million records - Multiple Objects and Growing

I need to load 25 million records in Salesforce for a new project. The questions that I have are It is a custom portal development, so is it good to store so much amount of data in Salesforce or we ...
3
votes
2answers
912 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 ...
2
votes
1answer
422 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 ...
2
votes
1answer
49 views

Record won't insert - Apex Trigger

I have created an apex trigger so that it will create a record for everyday of an opportunities contract, I have run the code without the insert statement and my debug shows it works fine. What am I ...
2
votes
0answers
203 views

How to delete a record from a non-queryable object

I'm trying to delete a record from MobilePushServiceDevice object. This object is not queryable, however, it is deletable. How can I delete a specific record from this object if I can't query it in ...
2
votes
0answers
131 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
25 views

Hiding certain records and their related records

I am trying to keep records separate from certain users when it is categorized in a specific group. For instance, when an account is created if it's in category A I want only group A to have access to ...
1
vote
0answers
406 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 ...
1
vote
0answers
49 views

Flow Finish Location For Newly Created Record

Has anyone successfully built a flow that creates a record then directs user to that newly created record? Trying to do this in Lightning with a VF page Action. This is my code so far: VF Page <...
1
vote
1answer
52 views

Updating of many records using Formula field meets any governor limits?

I am Trying to create a report on Object__c. So I am trying to use user custom field(projectName__c) value in custom object field(projectName__c) in filter in Reports. For that, I got a suggestion to ...
1
vote
1answer
112 views

transfer product from a record type to another record type

I have created a product in my "products" record type, now I want to transfer the product into my "product archive" record type and set it as private so that no one can see it. How can i do this?
1
vote
2answers
94 views

How do I find custom object records and connected objects?

I have recently been tasked with going through all of our custom objects and deleting the ones that aren't used. Being relatively new to Salesforce, I'm having a bit of difficulty finding if the ...
1
vote
2answers
194 views

Can a record type be a part of many business processes?

I kind of understand the difference between a record type and a business process. But, I am not comfortable with my understanding. Can a record type be a part of (or associated with) many business ...
1
vote
0answers
402 views

How to edit mode, can create a new record

My problem, I would like saving an edit mode don't update a records but create a new record. This is to keep a history of modifications. I can't find a solution. Should be create a relationship ...
0
votes
2answers
37 views

Standard Field Reference in Process Builder,Formula Field

I'm creating a work flow rule to update a check box field on contacts page layout to true. Rewards (custom object) is the related list on Accounts It has a custom field called RewardsContact which is ...
0
votes
0answers
22 views

Error occurs 'An unresolvable error occurred and your changes could not be saved' in mobile App salesforce'

I tried to edit account records and saved it, getting an error'An unresolvable error occurred and your changes could not be saved'. This is happening only in mobile App but not in salesforce website. ...
0
votes
0answers
14 views

“URL No Longer Exists” when accessing record from event/task reminder

When logging into SF, users get a pop-up Event/Task reminder for that day, which is great. But when users try to access these records through the pop-up, they're redirected to a "URL No Longer Exists"-...
0
votes
0answers
41 views

Insert a new record with multiple fields Error 431 HTTP

I am trying to insert a new records in my custom object Monitor__c with too many fields, when I execute my code in an anonymous window in the developer console, It delivers the following error: ...
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
21 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
21 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
2answers
439 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
0answers
46 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
0answers
55 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
71 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 ...
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 ...
0
votes
1answer
26 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
199 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 ...
0
votes
0answers
115 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....
0
votes
1answer
57 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 ...
0
votes
0answers
318 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 ...
0
votes
1answer
466 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
1answer
641 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'...
0
votes
2answers
48 views

Related list editing record by owner only

On a related list, How can i Ensure that only the person who initially created the record can edit it.
0
votes
0answers
228 views

SObject row was retrieved via SOQL without querying the requested field: Case.RecordType

I am getting error on the below Map<Id,RecordType> caseMap = new Map<Id, RecordType>([SELECT Id, DeveloperName FROM RecordType WHERE SObjectType = 'Case']); This is Case cs : Trigger....
0
votes
1answer
47 views

Records Owners in Apex tests

When trying to deploying from Sandbox to Production, one our test fails because a Record Owner is set to be a user whose license has been disabled in production. Given that the code is not setting ...
0
votes
1answer
24 views

How can i query to retrieve all the records as well as records that are shared to a user?

I have a requirement to query all records that a user owns for a specific object as well as shared to that user. ex: Need to send the nightly job for all opportunities that are marked as high value ...
0
votes
0answers
99 views

delete duplicate records but retain one record in visualforce page

VFPAGE::::::: <apex:page standardController="Contact" extensions="TestPopup" showHeader="false" sidebar="false"> <apex:form > <apex:pageBlock > <apex:commandButton value="show ...
0
votes
1answer
28 views

Object record in particular application

I have problem view record object difference in two application using general object. Example : I have created my object name "Company" and two application. Object Company have 3 field (Name, ...