Questions tagged [find]
The find tag has no usage guidance.
7
questions
0
votes
2answers
46 views
Apex - List findIndex
How can I do like findIndex from List in Apex?
I wanna do like below.
public class SelectItem {
public String Text { get; set; }
public String Value { get; set; }
}
public void FooMethod() {
...
0
votes
3answers
102 views
How to find all records where a textfield contains “04/06/2020” twice? [duplicate]
this is a bit of an odd one.
Say I need to find all Accounts where the textarea field "Notes__c" contains the text 04/06/2020 twice, how would I go about that? Ideally using Apex or Reports.
...
1
vote
1answer
6k views
component.find().get(“v.value”) not working for unique local ID
According to lightning:select documentation the following should work:Component Markup
<lightning:select name="selectBoatType"
aura:id="currentBoatTypeChoice"
...
10
votes
2answers
4k views
Lightning component.find(“aura:id”) returns an array consisting of one element
I found the following excerpt in the documentation:
If the local ID is unique, find() returns the component.
If there are
multiple components with the same local ID, find() returns an array
...
5
votes
3answers
2k views
Account Trigger find Ultimate Parent Account
There is a field on Account called Account.Ultimate_Parent__c. I want to update(through trigger) this field with correct value whenever Account.Parent field is Changed.
Although, Ultimate Parent ...
1
vote
0answers
62 views
basis of the ordering of list returned by component.find()
I am using component.find(aura_id) to get the component. I have multiple components with the same aura_id So I am getting a list.
My question: What is the basis of the ordering of list returned by ...
1
vote
1answer
1k views
find() elements in {!v.body}
I'm rendering components in the body of another component:
<c:test>
<input type="text" aura:id="fooBar" />
</c:test>
In this c:test component I'm trying to access the inner ...