Skip to main content

#Aura Component0 diskutieren mit

Some could help in a meet call to solve this issue: I'm trying to insert some icons in .ttf from css but it seems doesn't work. I have tried different paths.

 

Thanks in advance!!!

 

meet.google.com/dny-xbjo-yps

 

#Salesforce Developer  #Lightning Web Components  #Aura Component

3 Antworten
0/9000
2 Antworten
  1. 18. Nov. 2021, 04:59

    Hi Rushikesh Jadhav,

    It is a spelling mistake in line number 6 for the response. Use response in place of response, Hope this will resolve your issue.

     

    Thanks 

0/9000

I have created a functionality of dynamically adding new tabs to the tabset when clicking a button.

But I also want a close button with each tab being added dynamically in this way.

How this can be achieved?

#LWC #Aura Lightning Components #Aura Component

2 Antworten
0/9000
2 Antworten
  1. 6. Nov. 2021, 06:20

    Basically, The controller is the JS file that gets requests from the Component now the first thing we do is write most of the logic in the helper file and the Controller just calls the method defined in the helper the reason is it makes code look cleaner but the main reason is now since you have a method in helper file if you want to call it again then you can call it multiple times from controller method so any function that should act as a reusable function you should define it in helper. any function that we define in controller can only accept 3 parameters in the same order component, event, helper. so it can't contain a normal function that expects dynamic values as Parameter that you can only do in helper file 

0/9000

Hello Awesome Admins!

We are using LWC and Rich Text Areas in our community/experience and our users are having issues with the rich text areas. When they accept a spell-check from the browser the line/paragraphs disappear. This happens with font-family except for the Salesforce Sans. 

Is there anyone facing the same problems?  Can I restrict the font families available in a rich text area to the Salesforce Sans? 

 

#Salesforce Developer

4 Antworten
0/9000

Hi Experts,

 

I have requirement , when ever the Lead status is Other on lead object , then only I have to show the quick action called "New Lead".  I have tried this by adding filter criteria in the flexi page, however, this button is assigned to couple of layouts, so this option is flopped. So,   Can anyone help me out, how can i do this.

 

#Trailhead Challenges

3 Antworten
  1. 3. Nov. 2021, 10:25

    Hi,  We can set up that on each of the Lightning record pages. And page layouts will reference the Lightning record pages as per the assignment of the lightning pages.

     

    Thanks & Regards

    Mukesh Katoch

0/9000

You can modify the form of the Contact form component with technical assistance support. That is, add an additional attribute to those already found?

This for the digital sperince module

 

Component Contact form with technical assistance support.

#Experience Cloud #Experience Site #Partner Community #Experience Site #Trailhead #Integration #AppExchange #Sales Cloud #Lightning Web Components #Aura Component

2 Antworten
0/9000

Receiving data via addEventLister to my aura component and do some actions based on it, refer to the code below:

window.addEventListener("message", $A.getCallback(function (event) {

try{

if(typeof event.data['cat'] != 'dog') {

//opens a pop-up modal

//executes some other actions}

catch (error){}

}), false);

Suppose, I've these codes in my compA.

  • When data is passed to compA for the first time -> Pop-up modal is opened once (which is expected)
  • But, I move to another component for example compB and come back to compA again -> Pop-up modal is opened twice. (expected is always once).

So, for some reason, eventListener is firing twice instead of one when I try second time. How to resolve this issue?

  

#Flow

4 Antworten
0/9000

The link you followed isn’t valid. This page requires a CSRF confirmation token. Report this error to your Salesforce administrator.

 

#Trailhead Challenges

0/9000
1 Antwort
  1. 24. Okt. 2021, 09:17

    Hi @Adarsh Agrawal,

     

    Thank you posting your question. May I recommend you to call your component in AURA component first, then access all the information in your controller.js file. I hope this will resolve your issue. Please do let me know if you need any further information. Have a great day ahead!

     

    Thank you

    Nagarjuna

0/9000