New answers tagged

0

I don't believe you can. https://developer.salesforce.com/docs/component-library/documentation/lwc/lwc.data_wire_example 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.


5

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


0

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