Questions tagged [parent-to-child]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
39 views

Can I use Apex and SOQL to import data from other objects into a new custom object?

This is my first time posting in stack exchange :) I have a Salesforce Admin Cert, but I have very little experience in the realm of writing code. So here goes. The goal of my apex code is to import ...
0
votes
1answer
33 views

Best practice: Architecture for accounts with many locations 10k+

I'm facing an architectural design where a company could have more than 10k locations, and I would like to save the location data, according to this link it's a good practice to use a hierarchical ...
0
votes
1answer
13 views

How to fetch Contact and Case data with LiveChatTranscript using SOQL Lookup relationship

I have Contact and Case relationship mapped to LiveChatTranscript through ContactId and CaseId like the following: I need to fetch LiveChatTranscript data along with Contact and Case in a single ...
0
votes
1answer
54 views

Record ID is not passing from Aura component to LWC component

I have a requirement to validate a few fields before submitting the record. I have created an Aura component and calling the LWC code to do some validation. Aura Cmp: <aura:component implements=&...
0
votes
1answer
36 views

How to perform Global search on account hierarchy to display related records

I have an account with account hierarchy setup and there is one Custom object "Agreement" added as related list on the account. When, I search an account with an account name on global ...
1
vote
1answer
211 views

How to pass a mutable Array from Parent Component to Child Component in LWC

I want to pass an Array of Objects from a parent to child component. The child component will modify this array (but not perform a DML). This is what i tried somewhere in parent.js @track tempList = []...
0
votes
1answer
99 views

Can you call getRecord or @wire from child component?

I'm trying to make a basic with the @wire method on the contact record to pull in a phone number. But the error I keep getting is Cannot read property 'fields' of undefined on c:ParentElement Cannot ...
0
votes
1answer
39 views

Get data from Grandparent while creating child record [duplicate]

while creating child record need to get data from Grand parent. i wrote a trigger but not updating fields. here my working. trigger Registration on Opportunity (after Update) { list<...
0
votes
1answer
129 views

[LWC]: Updating an @api object referenced in a child component doesn't update the value in the child

I have a playground to demonstrate this. I have two variables that are being linked to the child component. myString is a String and myObject is an Object. Both variables are being updated 500ms after ...