You need to sign in to do that
Don't have an account?
Sharmeela Manivannan
Advanced Apex Specialist Superbadge - Step 3 Issue
I am hit with other issue 'Ensure that page performance is improved by only rerendering the table and error messages when a use clicks the Add button.' I have used actionRegion to rerender the needed table,chart and messages.still it shows issues.
All Answers
Challenge Not yet complete... here's what's wrong:
Ensure that you loop through a query that aggregates the OrderItems related to the Products in the ProductMap keyset.
My relavent code is Can some one explain what does this mean?
Thank you
Visit this url https://developer.salesforce.com/forums/ForumsMain?id=9060G0000005O51 and check Amit Singh's post.
I have completed the Multiple choice questions for Platform Developer 2 as well as the 4 super badges. How do i link Webaccessor account to Trailhead? Has anyone got any email from salesforce after they completed the 4 super badges?
I''m struck on Step 2
Challenge Not yet complete... here's what's wrong:
Ensure that the methods in the chartHelper class run as the system.
here is the chartHelper class.
public with sharing class ChartHelper {
@AuraEnabled
public static List<chartData> GetInventory(){
List<chartData> cht = new List<chartData>();
//ToDo: Perform a calculation that aggregates active Products that have a positive Quantity_Remaining__c
// And return a list of chartData
// Where the name is the Product Family and the Qty is the sum of the Quantity_Remaining__c
AggregateResult[] groupedResults = [SELECT Family, SUM(Quantity_Remaining__c) FROM Product2
WHERE Quantity_Remaining__c > 0 AND IsActive = true
GROUP BY Family];
for (AggregateResult ar : groupedResults) {
cht.add(new ChartData(String.ValueOf(ar.get('Family')), Integer.ValueOf(ar.get('expr0'))));
}
/**for (AggregateResult ar : [SELECT Family, SUM(Quantity_Remaining__c) FROM Product2
WHERE Quantity_Remaining__c>0
AND IsActive = true
GROUP BY Family]) {
cht.add(new ChartData(String.ValueOf(ar.get('Family')), Integer.ValueOf(ar.get('expr0'))));
}**/
return cht;
}
public class ChartData {
public String name {get;set;}
public Decimal val {get;set;}
public ChartData(String name, Decimal val){
this.name = name;
this.val = val;
}
}
}
Any help highly appreciated
Regards,
Rajneesh
i finished the advanced apex speciaslit badge. As per the update from salesforce we need to wait for a week to receive an email from salesforce to link our account with webassesor. Will this come up automatically or do we need to raise a case with salesforce to let them know we have finished this badge.
Also is there anything else from our end to be completed to get the PD2 cetification.
After how many days did you receive the mail for the certification and have you received the certificate
@Rajneesh Kumar 10, @Shivraj Gangabyraiah 19
Did you receive the certification email for PDII, if yes, How many days after linking the webassessor with trailhead you receive the certification email? I linked the accounts on Jan 3rd, and didn't receive the certification email yet. Do we need to rise a case to get the final certification?
I have an issue with this step where I'm constantly getting this error:
"Ensure that the getFamilyOptions method returns the correct picklist values."
Can somebody help in understanding what the expected value here is?Even though I am returning all the picklist values from Family field.
Log line:
Adding to the reply above, the method to get the picklist values: