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
0answers
23 views

Toast Message after record creation showing URL ID and not auto number

The toast message that used to appear after record creation displayed an auto-number of the object. After sandbox refresh, the toast message is showing the ID of the record and not auto-number and I'm ...
0
votes
0answers
19 views

how can I process around 5 thousand of records in mkt cloud to make a segmentation and include them in a journey? [closed]

I understand that there is an update of records in mkt cloud every 15 minutes, but if I have that amount of records entering, I imagine that it will lower my performance
0
votes
1answer
31 views

Pass the recordId with Apex Trigger

I am writing my first apex trigger to call a flow after a comment is created in the chatter. I am having trouble sending the recordId of the FeedComment to the flow. It should be assigned to the ...
0
votes
0answers
43 views

My flow fails - why?

I do have the following scenario : Account can have multiple projects Account’s projects have specific practices. I am only interested in active projects I am only interested in projects with SOW date ...
0
votes
1answer
30 views

Get List View Fields

Is there a way to get API Names of fields through Apex, which are displayed in the list view? I tried using Metadata API, Rest API, User Interface API, LDS.
1
vote
0answers
40 views

Get RecordID based on ExternalID

I always stumble upon this situation - I have csv file with 200 records and each record has an ExternalId. These records may or may not exist in Salesforce. In Salesforce I have an ExternalID field. ...
0
votes
0answers
77 views

Not able to access record in lightning but able to in classic

I'm able to access records of a custom object in salesforce classic and was also in lightning. But recently i'm seeing Looks like there's a problem. Unfortunately, there was a problem. Please try ...
0
votes
0answers
28 views

Lightning: open in sub-tabs when click on list-view records

In lightning: Is that possible for list-view records to open in sub-tabs so that I can easily switch back and forth between the records? I have a custom_object and when the user clicks on the record ...
-2
votes
1answer
169 views

Not able to view the save record current record id lightning datatale and lightning-record-edit-form in lwc

used lightning record edit form and datatable ,I need to save current record data with the current record id but am getting all pervious record data in table.there is any solution. In this picture, I ...
0
votes
1answer
21 views

Record size with a picklist

I have a custom object My_Object. I have now created another object Shadow which has a single field My_Object__c which is a Lookup to My_Object. When I create a Shadow, each record is a whopping 2 KB. ...
0
votes
0answers
14 views

Issue with hyperlink

I am trying to create a link that opens into the record detail page in lightning componenet . {!ct.cdl.LinkedEntity.Name} ct is the aura iteration variable of wrapper list and idRec is auraenabled get ...
0
votes
2answers
375 views

getRecord, getFieldValue always return undefined values in LWC

Here is the javascript code of my LWC import { LightningElement, api, wire, track } from 'lwc'; import { getRecord, getFieldValue } from 'lightning/uiRecordApi'; import getAlertMetadata from '@...
0
votes
2answers
33 views

No more than one record creation and check record collision of similar type [duplicate]

I've created a custom object for Leaves which allows the users under my org to apply for leaves. I've added three types of leaves such as Casual Leave, Sick Leave & Leave without Pay. I've used an ...
0
votes
2answers
62 views

Create no more than one record of particular type per day

I've created a custom object for Leaves which allows the users under my org to apply for leaves. I've added three types of leaves such as Casual Leave, Sick Leave & Leave without Pay. I've used an ...
0
votes
1answer
30 views

Record dependency

I have a custom object to apply for leaves (such as Casual, Sick, Unpaid) for the users in my org. I have applied a validation rule to check different users cannot create or edit any record for other ...
0
votes
1answer
23 views

How to call the following apex class from apex trigger. the trigger needs to work on after update

public class StatusClosedHandler { public static void statuschange(String RecordId){ integer count = 0; List<Service_Request__c> srequest = new List<...
-1
votes
1answer
56 views

Records being randomly deleted

I was informed of some weird behavior of some custom records missing from our SF instance and after a little research I found that all of these missing records had been moved into the recycling bin ...
-2
votes
1answer
53 views

Create one Record in a Week [closed]

I want a workflow to validate the creation of only one record in a week. If more than one created within the same week, should show error. How should I do this?
0
votes
1answer
42 views

Create Workflow without criteria

I am facing problem with my serial no. for records. When there is no record created due to some errors, that record also gets a count and I'm unable to get an uniform serial count. What should I do?
0
votes
1answer
24 views

Record duplication : One Record for a Day

I want to create requirement to create one record for a day. I want to do this through the E-mail field on my custom object. I have checked for "No Duplicate Value" for the email field but want to ...
0
votes
2answers
60 views

Validation rule for only One record per day

Can anyone help me with a validation rule, which prevents the creation of more than one record per day? I have tried using different Validation rules, but none of them worked as expected. I know this ...
0
votes
1answer
34 views

Create no more than one record per day [duplicate]

I want to develop a functionality for creating no more than one record per day. If more than one record is created should show error. How should I do this?
0
votes
0answers
53 views

Fetch Record ID from batch job id

I have a job id for a batch apex class.I need to fetch the record ids from the job id.Is it possible to use an SOQL to fetch the record id for which the particular job id ran. I need help on the query ...
0
votes
1answer
31 views

Can we bind old records to a new Record Type automatically? [closed]

E. g., in some object we haven't any Record Type yet. But we decide to create it and want to bind all old records of this object, that haven't Record Type, automatically. Is it possible? Or we have to ...
3
votes
3answers
163 views

Uncaught ReferenceError: Record ID (X) is not defined in VisualForce Page (RemoteAction)

I'm currently finishing an Apex controller which gathers data for a Google chart displayed on a Visual Force Page. The standard Query without the WHERE clause is just working fine for all the data ...
0
votes
2answers
445 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 ...
1
vote
2answers
65 views

How to loop trough map and get record by field value

I have a map<Id,String> subMap this is the id of a record where the string is a name of a Future_record__c yet to be made after a callout. How do I loop through the subMap and get the ...
1
vote
1answer
60 views

How to get id from concatenation of string in loop

I am looping trough some records and want to get the related id. This works fine as invoice.BillingAccount__r.BillToId__c. In my case BillToId__c is a field that I get from a custom metadata setting. ...
0
votes
0answers
42 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. ...
1
vote
2answers
40 views

Select records from a List with a specific RecordTypeId

I have a List of the object Animal, with records from two different record types, How can I return another List with the animals with one of those record types?? Preferrably using a query instead ...
4
votes
1answer
1k views

LWC recordId showing as undefined in Spring '20

This past weekend, our org was updated to Spring '20 and since our use of recordId and the getRecord method broke. The recordId is undefined when the getRecord method is wired and won't run again even ...
1
vote
2answers
878 views

force:chatter publisher not showing POST tab (cannot create posts on record)

As per documentation of forceChatter:publisher, forceChatter:publisher allows users create posts on records or groups and upload attachments from their desktops in Lightning. When the following line ...
0
votes
2answers
156 views

Set record type when creating an object without using RecordTypeId [closed]

I have a custom object with two record types, How can I set the record type using the record type name when creating a new object record?? Without using the RecordTypeId is possible?? I think is not ...
2
votes
2answers
68 views

CreatedDate of new record (Time)

My Org is set to GMT+1 which is my timezone. (Stated in the Company Information). I have created a record at 11:30 am but when I retrieve the CreatedDate field it says that it was created at 10:30 am....
0
votes
0answers
141 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
896 views

Get record Id in Apex class

I have a function that does API callouts. It takes a string as a parameter, which is the record ID. I need a way to make an InvocableMethod so I can call that method with the current record ID from ...
0
votes
1answer
53 views

How to get record from id map

I have a before trigger to compare dates on entry. I want to get a recond based on an id from a map, How do I achieve this. Below is my example with my question on line AAddress__c dummy = ...
1
vote
1answer
147 views

How to get a Lightning record page URL in a Visualforce page when in a Lightning Experience Community

We have a Visualforce page that provides a sophisticated graphical presentation of data, and part of this is to include links to open various objects' record pages when the link text is clicked. We do ...
0
votes
1answer
174 views

Ampersand in field while saved set &amp; then &amp;amp; until too large for update

Sorry if there are already subjects about this, didn't found anything. Here is my problem : some records contains "&" in fields (or accents). They have to. Those fields are automatically updated ...
1
vote
1answer
28 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 ...
0
votes
1answer
10 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
1answer
64 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
1k 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
193 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
111 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
57 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
1answer
169 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
3answers
3k 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
2k 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
2k 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 ...