Answers - Salesforce Trailblazer Community
Ask Search:
Ramakrishnan MohanRamakrishnan Mohan 
Hello,
Newbie here! I am stuck with clearing challenge 1. Can anyone please help with the requirement - build a way for users to report on custom objects?
I have created Lookup field fromSolarbot to Solarbot status.
User-added image
Error Message received:
We can’t find your solution for users to report on custom objects named “SolarBots and Status Data,” or it's not stored in the correct place.
Best Answer chosen by Ramakrishnan Mohan
Ramakrishnan MohanRamakrishnan Mohan
Hi Trish,
Thank you so much ! It worked perfectly :)
 
Stef MeyStef Mey 
I am struggeling with the SolarBot Status Averages Report.  The check says "The 'SolarBot Status Averages' report isn't organized by status date.". As soon as I group the report by status date - which to me seems to be the solution - the check says "The 'SolarBot Status Averages' report is displaying cumulative data." I have set the Panel Temperature etc. to averae however... Can anyone help please?

Trailhead Superbadge
Best Answer chosen by Stef Mey
Somya SrivastavaSomya Srivastava
Hi Stef,

Here you don't need to take the Average of Panel Temperature, percent obscured and kWh columns. 
Also, uncheck the Row counts, Sub total and Grand total.
Cody BellCody Bell 
I've seen a couple issues with this but they vary slightly from what I'm experiencing, I had to install the DreamHouse app for my first challenge in my Trailhead Playground, The package installed fine, but when I check to complete the challenge it says it's not installed. I've deleted it completely and reinstalled, and when I launch the playground I find that it shows it as installed.
Best Answer chosen by Cody Bell
Sean TierneySean Tierney
It's a bug, found a work around resolution to this issue in another thread. You follow the challenge instructions the same as before except use this alternate package id: 04tB00000009UeX instead of the id provided in the challenge.
screenshot of package installer with alternate package id
You should recieve the "Approve Third Party Access" pop-up this time. Select "Yes, grant access..." and continue. Once installation says complete, hit done and try checking the challenge complete now.
approve 3rd party apps message

This worked for me and gave the points/badge as intended!

If you still have trouble then try getting the alternative version of the Dreamhouse App by going to either of these links:

[yourplaygroundURL]/packagingSetupUI/ipLanding.app?apvId=04tB00000009UeX
or
https://appexchange.salesforce.com/appxContentListingDetail?listingId=a0N3A00000FABSZUA5

Good luck!
Bharti SinghBharti Singh 
Challenge Not yet complete... here's what's wrong:
The Sales Executive User does not appear to have the correct object permissions for Accounts and Opportunities.
Best Answer chosen by Bharti Singh
Lakhan MeghaniLakhan Meghani
Hello
Sales Executive users should be able to view all opportunities and accounts (regardless of other sharing settings), but not be able to create, edit, or delete any opportunities or accounts.
For account: Check read and view all
For opportunity: Check read and view all

If it works for you, Kindly mark the best answer and close the thread.
Thanks
Sarah PilzerSarah Pilzer 
I'm trying to complete the Filter the Report unit of the Filter Report Data module on Trailhead and I am getting the following error despit having change the report filter Unit to "Days". Any idea what's going wrong?

Error message: Step not yet complete... here's what's wrong:
The 'Cases by Status' report does not have a standard report filter that specifies the units as days.
Report filter showing that Unit is set to DaysError message on Trailhead challenge: The 'Cases by Status' report does not have a standard report filter that specifies the units as days.
Best Answer chosen by Sarah Pilzer
Thomas LangeThomas Lange
Is it possible that you have more than one report with that name? Did you save this report? Could you provide the report API name?
Mike CohenMike Cohen 
Hi - 
It looks like from the screenshot I was able to pass the "Set Record-Level Securit Settings" challenge (according to Apex). But when I create the Samantha owned Opportunity, I get the error in the screenshot (even though I created the Opportunity). Am I missing something?
 
Challenge Not yet complete... here's what's wrong: 
We couldn't find the Opportunity record owned by Samantha Cordero with the expected Stage. Please make sure the record exists and it contains the correct values according to the requirements.

Thanks in advance!
Mike
User-added image
Best Answer chosen by Mike Cohen
Jared HenningJared Henning
Hey Mike,

The directions indicate that there are two separate opportunities that you need to create to complete this challenge. Hope that helps!
Brittany PenmanBrittany Penman 
Hi keep getting this weird error for this superbadge, and I think I'm doing it right. Can someone point me in the right direction?

Challenge Not yet complete... here's what's wrong: 
We can’t find the requested graph type associated with the 'Top Case Drivers by SolarBot Ownership' report. Or the setting isn't selected to show the proportions between values in each grouping and each grouping's total.

User-added imageUser-added image
Best Answer chosen by Brittany Penman
Amit SinghAmit Singh
Have you tried to Select the Stacked to 100% of the Chart ? Try that
Kanika SharmaKanika Sharma 
Hi All,

I have created validation rule, queue and lead assignment rule, but I am still getting the below error.

ERROR
Challenge Not yet complete... here's what's wrong: 
A new Lead with the Source 'Web' was not correctly assigned to the 'Rainbow Sales' queue.

Lead Assignment Rule
User-added image

Validation Rule
User-added image

Can someone help me understand the issue. 

 
Best Answer chosen by Kanika Sharma
Amnon KruviAmnon Kruvi
Hi Kanika,

Are you sure your queue is named correctly? Yours is called "Rainbow Sales Queue", but the error message is looking for a queue named "Rainbow Sales".
Lisa HooperLisa Hooper 
I just received this error for Challenge #5 (Process Automation Specialist): 

Challenge Not yet complete... here's what's wrong:
There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Insert failed. First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Any opportunities with amount greater than 100,000 must get approval from Sales Managers.: [Approved__c]

How do I resolve this?
Best Answer chosen by Lisa Hooper
Mohammadsohail PatelMohammadsohail Patel
Hi Lisa

This is the custom validation on opportunity that is causing the error. Make sure the all the data on the opportunity is valid.
Mohan ReddyMohan Reddy 
Hello,

I have completed the Challange as part of the Apex REST Callout unit. and the Test Coverage also 100% for the class, however I am getting the below message

Receiveing the follwoing message:
There was an unexpected error in your org which is preventing this assessment check from completing: System.NullPointerException: Attempt to de-reference a null object

Code Coverage

Thanks in Advance

Regards
Mohan
Best Answer chosen by Ed (salesforce.com) 
Narender SinghNarender Singh
Hi,

Try this code:
public class AnimalLocator {
    
  
    public class Animal {
		public Integer id;
		public String name;
		public String eats;
		public String says;
	}
    public Animal animal;
    
    public static string getAnimalNameById(integer id){
        string str;
        string URL='https://th-apex-http-callout.herokuapp.com/animals/'+id;
        
        http http=new http();
        httprequest Req=new httprequest();
        req.setEndpoint(URL);
        req.setMethod('GET');
        httpResponse Response=http.send(req);
        
        system.debug('Response Code: '+response.getStatusCode());
        system.debug('Response Body: '+response.getBody());
        //type ResultType= type.forName('Animals');
        //system.debug('Type: '+ ResultType);
        AnimalLocator obj= new AnimalLocator();
        obj=(AnimalLocator) System.JSON.deserialize(response.getBody(), AnimalLocator.class);
        System.debug('Obj: '+obj.animal.name );
        str=obj.animal.name;
        System.debug('Name: '+str );
        return str;
    }
}
Mock Class:
@istest
public class AnimalLocatorMock implements HttpCalloutMock {
    
    public httpresponse respond(httprequest req){
                
        httpresponse Response=new httpresponse();
        response.setStatusCode(200);
        response.setBody('{"animal":{"id":1,"name":"chicken","eats":"chicken food","says":"cluck cluck"}}');
         
        return response;
    }

}




Test Class:
@istest
public class AnimalLocatorTest {
    
   testmethod static void  Restcallout(){
        
        Test.setMock(HttpCalloutMock.class, new AnimalLocatorMock());
        string s=AnimalLocator.getAnimalNameById(1);
        
    }

}