Skip to main content

Questions tagged [relatedrecord]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
27 views

Creates the number of contacts which are equal to the numberwhich we will enter in the Number of Locations field on the Account Object

//Code Sniippet public static void createNewContacts(list<account>AccountHasManyList) { list<contact> ListOfContact = new list<contact>(); for(account acc:...
tanishq vyas's user avatar
0 votes
2 answers
41 views

How to exclude a related object type from validation rule

I have an Object called 'Program' which is creating/inserting a Task record. On the Task I have a validation rule for a specific profile which is blocking the creation of Program indirectly through a ...
Niklaus's user avatar
0 votes
0 answers
298 views

getrelatedlistrecords is not getting refreshed

@wire(getRelatedListRecords, { parentRecordId: '$recordId', relatedListId: 'Histories', fields: '$fieldHistory', }) wiredFieldHistory({data, error}){ if (data) {...
shruti rawat's user avatar
0 votes
0 answers
87 views

Why Related Record component is displayed different with Profiles

I have 2 profiles: System Admin & Agent In Opportunity record page there is a Related Record (standard Salesforce component). The way fields display is different from 2 profiles. I've check field-...
Pam's user avatar
  • 107
1 vote
3 answers
438 views

Viewing and Updating Related Record when creating a Task

I might have been overly optimistic about coming up with a solution for the users. When a user creates a Task from an Account meeting certain criteria (Account Type = XX), they want to require some ...
user7417's user avatar
  • 341
1 vote
1 answer
289 views

Related record display fields that is not included in the layout and Account name has no label

I'm added a Account Related Record on the Contact Record Page but it displays some field which is not included in the layout and the Account name has no label. It only happens if the User has a Read ...
Mark Enriquez's user avatar
0 votes
1 answer
544 views

Junction Objects for the same object

I would like to be able to relate two records of the same object to one another. I was thinking of doing this by building a junction object. The junction object would have two lookup fields in it, ...
Zoom_v's user avatar
  • 3,894
-1 votes
1 answer
580 views

I want to make a URL from record in a custom object in lightning email template

"Hello everyone, I need help creating a URL in a Lightning email template in Salesforce. But what's special about my situation is that I need the email URL to take me to a path similar to this ...
Rodrigo Maldonado's user avatar
1 vote
1 answer
152 views

Unexpected flexipage behaviour when created 2nd gen package

I've meet the unexpected problem with flexipage when create 2nd gen package. I've received an error looks like (SObject_Record_Page) Component [console:relatedRecord] attribute [lookupFieldName]: ...
oldgunner's user avatar
0 votes
1 answer
3k views

Why is my screen flow not contextualizing to the current record?

I'm working on a very simple screen flow and I need your help... I have a contract object that has a tutor field, which refers to a contact record. On my contact page, I want my screen flow to include ...
Sebbie's user avatar
  • 91
1 vote
3 answers
1k views

Help with Data Load to Multiple object using the CSV

We currently have four custom objects in the system and there are linked. We need to do a data import and data is in the CSV like below From the csv, I need to create the Card first and then Section ...
user4912134's user avatar
0 votes
1 answer
405 views

Show Users Related Record Details Without Opening Access

I have what I thought would be a simple requirement to display related record fields on the account from a custom object. However, the related record component on the lightning page requires an update ...
KB2021's user avatar
  • 83
0 votes
1 answer
2k views

Trying to get a flow to create a new record in related object but only option is $Record

I'm learning to create a more complex flow, at least for me, and I'm stuck. I've been searching, but I might be missing the right keywords, so hopefully you can help me. I have those two objects: ...
Sebbie's user avatar
  • 91
0 votes
1 answer
55 views

What are the best way to automatize the creation of related records when the information is coming from Callouts?

I want to know if there is a way to relate records when the information is coming from Schedulable callouts, I created other classes to create the first and the second list of records but now I need ...
Gerson Baires's user avatar
1 vote
2 answers
3k views

Force refresh of getRelatedListRecords

I am trying to get my @wire getRelatedListRecords to refresh when insert a Contact related to an Account. Currently when I insert a new Contact, my wire method does not return the new record to be ...
Bryan Anderson's user avatar
6 votes
0 answers
2k views

How to refresh LWC component using getRelatedListRecords when related record edited

I have a component rendering a list of records related to the record on which the component is displayed using getRelatedListRecords (Beta). //Get Related List Records Info @wire(...
MooseAteJack's user avatar
0 votes
1 answer
987 views

Making a field Readonly in Lightning Related Record component doesn't lock field from editing

I've got the following relationship SBQQ__Quote__c SBAA__Approval__c On SBAA__Approval__c I need to show information from SBQQ__Quote__c record. Found that "Related Record" should work ...
EvAzi's user avatar
  • 1,051