New answers tagged


I don't believe you can. You can utilize the lightning data service to get the current RecordId when it's displayed on one, but I'm not aware of a way to query for specific records with specific text without utilizing apex to do that query.


Sure, you can dynamically call aura method accessing a function through the bracket notation []: var methodName = 'myMethod' ; var childCmp = component.find('childCmp'); childCmp[methodName]();


You will have declared the attribute in your component. <aura:attribute name="currencies" type="CurrencyType[]" /> It returns the result of your query as objects of type CurrencyType made up of the requested fields. You can output the result in a loop at the component level: <aura:iteration var="varCurrency" items="{!v.currencies}"> <p&...

Top 50 recent answers are included