You need to sign in to do that
Don't have an account?
Manjunath S 85
Can somebody please help me in figuring out what I am doing wrong here?
Advanced Apex Superbadge issue on Step 3
Hi Trailblazers,
I am stuck in Step 3 of the Advanced Apex Specialist badge where I'm getting this error:
"Ensure that the getFamilyOptions method returns the correct picklist values."
I have only the 4 picklist values:
The getter method for the FamilyOptions property is defined here:
public static List<SelectOption> GetFamilyOptions(){ List<SelectOption> familySelections = new List<SelectOption>(); familySelections.add(new SelectOption(Constants.SELECT_ONE,Constants.SELECT_ONE)); for(Schema.PicklistEntry ple : Constants.PRODUCT_FAMILY){ familySelections.add(new SelectOption(ple.getLabel(),ple.getValue())); } system.debug('>>>>> familySelections >>>>>>>> '+familySelections); return familySelections; }
Can somebody please help me in figuring out what I am doing wrong here?
I had mistakenly marked the method static. Making it a instance method worked and I'm now able to proceed.
All Answers
We have separate Trailhead team who can help you with these issues.So,can you please use the below link to reach out to them so that one of the agent will get in touch with you.
Support:https://trailhead.salesforce.com/help
Also review below link for your reference.
https://techforceservices.com.au/salesforce/salesforce-advanced-apex-specialist-trailhead-superbadge/
https://techevangel.com/2018/06/01/superbadge-advanced-apex-specialist/
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future.
Thanks,
Vinay Kumar
I had mistakenly marked the method static. Making it a instance method worked and I'm now able to proceed.