• Shilpa Srikantachar
  • NEWBIE
  • 15 Points
  • Member since 2017


  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 9
    Replies
Hi All,

I'm a beginner in Development and trying to execute few example programs 

public class Static_Example {
           public static Integer aval=0;    
        public Integer bval    =0;
        public void add(){
            aval=aval+10;
            bval=bval+10;
        }
    

}

public class Static_Example {
           public static Integer aval=0;    
        public Integer bval    =0;
        public void add(){
            aval=aval+10;
            bval=bval+10;
        }
    

}
Error :

Line: 3, Column: 6
Method does not exist or incorrect signature: void add() from the type Static_Example

Please let me know the mistake I have done.

Thanks
Shilpa
Hi All ,
I'm getting the Execute Anonymous Error

Line: 1, Column: 18
Constructor not defined: [Employee_Info].<Constructor>(String, Integer
public class Employee_Info {
    

when the following code is run :


    public String name;
        public Integer exp;
        public Decimal salary;
        public Decimal bonus;
        public Employee_Info(String empName,Integer empExp){
            name=empName;
            exp=empExp;
        }
        public void invoke(){
            if(exp > 5){
                salary=50000;
                bonus=5000;
            }else{
                salary=30000;
                bonus=3000;
            }
        }
        public void show(){
            System.debug('Name :'+name);
            System.debug('Exp :'+exp);
            System.debug('Salary:'+salary);
            System.debug('Bonus:'+bonus);
        }
    }

Pls let me know how to fix it .

Thanks
Shilpa
Unable to find Wave Asset in Feed Tracking while trying to complete "Enable Annotations on Dashboard Widgets" module under "Select and Enable Analytics feature".Please help.
Hi All,

I'm a beginner in Development and trying to execute few example programs 

public class Static_Example {
           public static Integer aval=0;    
        public Integer bval    =0;
        public void add(){
            aval=aval+10;
            bval=bval+10;
        }
    

}

public class Static_Example {
           public static Integer aval=0;    
        public Integer bval    =0;
        public void add(){
            aval=aval+10;
            bval=bval+10;
        }
    

}
Error :

Line: 3, Column: 6
Method does not exist or incorrect signature: void add() from the type Static_Example

Please let me know the mistake I have done.

Thanks
Shilpa
Hi All ,
I'm getting the Execute Anonymous Error

Line: 1, Column: 18
Constructor not defined: [Employee_Info].<Constructor>(String, Integer
public class Employee_Info {
    

when the following code is run :


    public String name;
        public Integer exp;
        public Decimal salary;
        public Decimal bonus;
        public Employee_Info(String empName,Integer empExp){
            name=empName;
            exp=empExp;
        }
        public void invoke(){
            if(exp > 5){
                salary=50000;
                bonus=5000;
            }else{
                salary=30000;
                bonus=3000;
            }
        }
        public void show(){
            System.debug('Name :'+name);
            System.debug('Exp :'+exp);
            System.debug('Salary:'+salary);
            System.debug('Bonus:'+bonus);
        }
    }

Pls let me know how to fix it .

Thanks
Shilpa

I am currently trying to complete the trailhead 'Create a Hello World Lightning Web Component' section where you deploy the lightning web component from VSCode to your org, and im hitting the below error.

Starting SFDX: Deploy Source to Org

18:12:03.382 sfdx force:source:deploy --sourcepath c:\Users\ravent\Documents\SFDX Projects\HelloWorldLightningWebComponent\force-app\main\default --json --loglevel fatal
18:12:07.153 sfdx force:source:deploy --sourcepath c:\Users\ravent\Documents\SFDX Projects\HelloWorldLightningWebComponent\force-app\main\default --json --loglevel fatal ended with exit code 1

sf:UNSUPPORTED_API_VERSION: UNSUPPORTED_API_VERSION: Invalid Api version specified on URL

 

helloWorld error

As far as i can see i have followed the instructions to the letter, and cant seem to correct the error.

Any suggestions would be greatly appreachiated.

In the section "Enable Annotations on Dashboard Widgets," the "Wave Asset" cannot be found.  Please advise....
Hello,

I want to make picklist field read only. There is no permission set. I make it read only from page layout, Field level security and profile too. Still its read only. What will be another option to make it rad only?

Thanks & Reagrds,
Utkarsha
I've earned 22 badges, but only six show. Five were earned early on. Then a recent one was skipped, but the next one after that shows. 

Other people report the same problem. The account is linked but not all of the badges show. 

* https://developer.salesforce.com/forums#!/feedtype=SINGLE_QUESTION_SEARCH_RESULT&id=906F0000000D8gyIAC

One factor might be changing the email address attribute for the Trailhead org, which I might have done, when we link our Success profile to Trialhead, we have to use our email address -- instead of a Trialhead org username (which is weird).

I also tried registering my Trailhead org, where all the badges show, with the Success Community, but it wasn't able to verify the email address. I guess because it was already linked. 

Right now, when you link your badges, this is a link for "Missing Badges", but it just goes to a Trailhead landing page with no contact information.

I'd be happy to take the six badges over, but since they show on the Trialhead side, I can't earn them again. 

I've tried relinking the account several times, but the missing badges stay missing. 

Any help would be appreciated. It seems to me that developer resources are needed, but there doesn't seem to be a mechanism for filing a Trailhead case. 

User-added image

User-added image