New answers tagged

0 votes

aura component throwing error on saving .cmp

Unlike Visualforce, Aura doesn't allow you to access record fields dynamically. You need to convert your data into a matrix (an array of arrays) to show the data. let records = component.get("v....
sfdcfox's user avatar
  • 487k
0 votes

$A.util.removeClass not working for <tr>...</tr>

Mixing CSS changes in the controller with changes to bound attributes in the template may have undesirable results. Remember: changes you make to attributes don't render until the next time the UI ...
sfdcfox's user avatar
  • 487k
0 votes

Is anything wrong about navigating to lwc components through url?

The final link in your question contains your answer. Use lightning:navigation or lightning-navigation using the type standard__component rather than encoding a payload with standard__webPage. This ...
sfdcfox's user avatar
  • 487k
0 votes

Hide the Save button in lightning:unsavedChanges

inside your Aura component just add these lines <aura:html tag="style"> .saveBtn { display: none; } </aura:html>
Praveen Kumar Maradabudi's user avatar
1 vote

Aura Pass Input text Field to Apex

This usually happens because the attribute is of the wrong type. The following should work: <aura:attribute name="quote" type="Quote" default="{}" /> You can use ...
sfdcfox's user avatar
  • 487k
0 votes

Lightning:input Onchange event on text field getting invoked for every character

You can use onblur event. This will fire when you move the focus from the element to any other element.
Vamsi Krishna Mopievi's user avatar
1 vote
Accepted

Unable to Adjust Column Width Using Tree Grid

The "action" type is always minimum width. It is used to present actions that a user can take for the row, such as editing or deleting a record. Ordinarily, no label is provided for this ...
sfdcfox's user avatar
  • 487k
0 votes

Cannot read property 'config' of undefined

Interesting error. Notting up to my date worked for me. This occurred when I was using component.set for a map variable which's sub-map was iterated for a table. The code was executing component.set ...
YCS's user avatar
  • 15
0 votes

Lightning Components: Call init method of a child component from a parent component

To ensure that the init method of a child Lightning component is called each time you navigate to it, you can use the aura:handler tag with the change event. This event is fired every time an ...
Nachiket Deshpande's user avatar
1 vote

How to call Visualforce Component (wallmart.vfc) inside aura component

The apex namespace doesn't work in Aura. Inside a community, in the Builder, you can just click on Components, then add a Visualforce component, and specify the page in the component configuration. ...
sfdcfox's user avatar
  • 487k
0 votes

getContent() not returning actual vf page content

I had a similar issue & Salesforce support fixed it for me by building an explicit URL to the VisualForce page. Here's the change they made to my code. String vfHostname = DomainCreator....
Jack Odell's user avatar
0 votes

Copy to Clipboard - Hyperlink Text in LWC

I was able to achieve this functionality, it looks a little bit of DRY code but worked for me: copyUrlToClipboard() { let url = this.receivedUrl; if (navigator.clipboard && navigator....
Fabian Pena's user avatar
0 votes

lightning:helptext not working in Lightning Out

Alongside adding this css to your VF page: .slds-popover__body, .slds-popover__footer, .slds-popover__header { position: relative; padding: .5rem .75rem; word-wrap: break-word } .slds-...
Elias Lahham's user avatar
1 vote

CSS to remove padding from Quick Action lightning component

Jannis Bott's answer affects the entire page. Here's the solution I found. It only affects our lwc component, and only inside Aura Wrapper. Create a div that covers the entire component html page ...
Max Vitko's user avatar

Top 50 recent answers are included