We’re rewarding the question askers & reputations are being recalculated! Read more.

Hot answers tagged

2

If you are using aura components, this is the syntax: <lightning:helptext content="The tooltip displays on the lower left of the icon or above the icon if space is available. It automatically adjusts its position according to the viewport."/> It's explained in this article


1

I tried your exact code and it worked for me, both from markup and init handler in javascript <aura:application > <aura:attribute name="colorPalette" type="List" default="['red', 'green', 'blue']" /> <aura:handler name="init" value="{!this}" action="{!c.doInit}"/> <aura:iteration items="{!v.colorPalette}" var="item"> <p&...


1

# is for 1 time binding, only the value passed/assigned before UI renders will be shown in UI and any further changes will not reflect in UI, so, it is recommended to use ! if you want to reflect the changes dynamically. Also you should use v. in component. Below change in soqlField component should work: <aura:if isTrue="{!v.field.fieldType == 'url'}"&...


1

Relevant LWC recipes Example. You can also just use force:hasRecordId and force:lightningQuickAction tag and use the record id from the parent aura component to pass it to a child LWC component. This will allow it to be used as a quick action.


1

For now, you can use an Aura Component to wrap your LWC component, then make that Aura Component a Quick Action. Doing this will allow you to add it to the page as a button in the upper-right menu for a record.


1

I don't know for sure about the different environments issue (Sandbox vs Production), but one issue that I'm pretty sure of is that there is a case sensitivity mismatch here. In the prereq object, I see that the field is defined as: Other_Academic_institution__c However, in the console log and commented out if statement, you have the field defined as: ...


1

You can use different action handlers for button clicks that will fire javascript controller methods, and these in return will send the parameters to the server side controller. Your apex controller depending on the attributes or method parameters you are sending, can handle each action differently (different parameters for example). You can check sample ...


1

you have to take current row Item and then Update it then rebind to PackTag list with same Place by index, i just use Classify and field columns in below code snippet. and in your AddNewRow function, you pushing normal JSobject it shouldn't , you need to push 'sobjectType': 'GroupLabel__c' type let me know if you find any issue. cmp <aura:component ...


1

To use Javascript and a lightning web component instead of aura you can use a dynamic class change variable for the section. <template> <div id="ExpandableCalendarSection" class={BookCalClass}> <h3 class="slds-section__title" style='padding-bottom:0;'> <button aria-controls="expandoBookingCalendar" aria-expanded="true" ...


1

It worked for me. Below is my connected app settings. key is eventhough your heroku app doesnt have any authentication you still need to enable oAuth settings in connected app


Only top voted, non community-wiki answers of a minimum length are eligible