Salesforce Scheduled Apex Class - Method doesn t exist

0 votes

I am having issue with Custom label behavior. I have created Custom Label to Show/Hide Custom Related list. This custom label is set to false for the first time. It is made true to test but still $Label.c.Switch gives false. I tried to clear cache, tried to reload the page many times and also tried with Private window mode. Sometimes It will be true and sometimes false.

Below is the code using Custom Label

<aura:if isTrue="{! $Label.c.Switch == 'true'}">
        <aura:if isTrue="{!v.failedToLoadDynamicComponent}">
            <h3>Failed to dynamically load Safety Letters related list.</h3>
            <aura:set attribute="else">
                {!v.body}
            </aura:set>
        </aura:if>        
        <aura:set attribute="else">
            <h3>Please make Switch to true to see records</h3>
        </aura:set>
    </aura:if>
Apr 5, 2022 in SalesForce by surbhi
• 3,820 points
478 views

1 answer to this question.

0 votes

Please pass the parameter in the function call that you are calling inside the execute method. DateCheck(pass parameter)

I hope this helps!

Enroll for the Salesforce Course today to learn more.

answered Apr 6, 2022 by CoolCoder
• 4,420 points

Related Questions In SalesForce

0 votes
0 answers

Salesforce Scheduled Apex Class - Method doesn't exist

I'm attempting to create an apex class ...READ MORE

Apr 5, 2022 in SalesForce by surbhi
• 3,820 points
752 views
0 votes
1 answer

Apex Class and Apex Trigger is invisible in Salesforce Developer Console

You'll need to create a new developer ...READ MORE

answered Mar 8, 2022 in SalesForce by anonymous

edited Jun 19, 2023 by Khan Sarfaraz 2,675 views
0 votes
0 answers

How to Write the Test class for Salesforce Apex Aura Enabled class?

stuck in here to write a test ...READ MORE

Mar 15, 2022 in SalesForce by surbhi
• 3,820 points
2,022 views
0 votes
0 answers
+2 votes
2 answers

Salesforce Interview questions

Here are some questions very important for ...READ MORE

answered Jan 11, 2019 in Career Counselling by Suresh
• 720 points
3,342 views
0 votes
1 answer

How to connect to salesforce from tableau?

Hi, follow these steps to connect to Salesforce: 1. ...READ MORE

answered Mar 25, 2019 in Tableau by Cherukuri
• 33,030 points
1,017 views
0 votes
1 answer

Power BI - Salesforce

Hi, Follow below steps: 1. Go to Data source. 2. ...READ MORE

answered Mar 25, 2019 in Power BI by Cherukuri
• 33,030 points
710 views
0 votes
2 answers

What is the best training for Salesforce ADM-201 Exam?

Hi @Vardhan, I took Edureka's Salesforce Online Training, ...READ MORE

answered Jun 3, 2021 in Others by Jaya
• 140 points

edited Dec 22, 2021 by Soumya 707 views
0 votes
1 answer

How can I rename my Apex Class name in Salesforce

If you wanted to do it through ...READ MORE

answered Apr 1, 2022 in SalesForce by CoolCoder
• 4,420 points

edited Jun 19, 2023 by Khan Sarfaraz 4,298 views
0 votes
1 answer

Check string value in salesforce test class

Because the field objCase.standard_or_nonstandard_c is set to ...READ MORE

answered Mar 3, 2022 in SalesForce by CoolCoder
• 4,420 points
1,619 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP