Questions tagged [find]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
3answers
74 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. ...
0
votes
1answer
4k 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
3k 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
2answers
1k 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
57 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 ...