+ Start a Discussion
Manj_SFDCManj_SFDC 

Challenge Not yet complete... here's what's wrong: We can't find the Map component in the right column of the Friends with Boats Lightning page.

Hello everyone,

I am working on step 10 of Lightning Component Framework Specialist and getting an error saying We can't find the Map component in the right column of the Friends with Boats Lightning page.when I click on check challenge, can anybody help me here.

Thank you

BoatSerachFormController.js

({
    doInit : function(component, event, helper){

        helper.loadBoatTypes(component);
    },

    handleChange : function(component, event, helper){
        console.log(component.find("boatTypes").get("v.value"));
        component.set("v.selectedType", component.find("boatTypes").get("v.value"));
    },

    search : function(component, event, helper){
        var selectedType = component.get("v.selectedType");
        console.log("Search button pressed " + selectedType)
    },

    newBoat : function(component, event, helper){
        var boatTypeId = component.get("v.selectedType");
        console.log("New button pressed " + boatTypeId);
        var requestNewBoat = component.getEvent("launchNewBoatForm");
        requestNewBoat.setParams({"boatTypeId": boatTypeId});
        requestNewBoat.fire();
    },

    handleNewBoatForm: function(component, event, helper){
        console.log("handleNewBoatForm handler called.")
        var boatTypeId = component.get("v.selectedType");

        console.log(boatTypeId);
        var createNewBoat = $A.get("e.force:createRecord");
        createNewBoat.setParams({
            "entityApiName": "Boat__c",    
        })
        if(! boatTypeId==""){
            createNewBoat.setParams({
                "defaultFieldValues": {'BoatType__c': boatTypeId}
           })
        }
        createNewBoat.fire();
    },
   
})
Best Answer chosen by Manj_SFDC
SandhyaSandhya (Salesforce Developers) 
Hi,
I would suggest you refer below links and compare your code.

https://ck-developer-salesforce-com.360casb.com/forums/ForumsMain?id=9060G000000MVSeQAO

https://developer.salesforce.com/forums/?id=9060G0000005MF9QAM

If these links help you, mark it as solved so that it will be available for others.

Best Regards,
Sandhya

All Answers

SandhyaSandhya (Salesforce Developers) 
Hi,
I would suggest you refer below links and compare your code.

https://ck-developer-salesforce-com.360casb.com/forums/ForumsMain?id=9060G000000MVSeQAO

https://developer.salesforce.com/forums/?id=9060G0000005MF9QAM

If these links help you, mark it as solved so that it will be available for others.

Best Regards,
Sandhya
This was selected as the best answer
Manj_SFDCManj_SFDC
Thanks for the response , unfortunately it did not help to fix the issue, I think I need to fix something in the Friends with Boats Lightning page or its reated components
asdf.ax1712asdf.ax1712
Hi Manj,

Have you got the Answer ?
 
balla_sfdcballa_sfdc
Delete the existing Friends with Boats lightning page and create a new one with respective components as mentioned.That worked for me
Joey MengJoey Meng
the error message keep showing even I have deleted the lightning page and created it again.
How does this challenge check the Map component since it is already there on the right side of the page?
Challenge Not yet complete... here's what's wrong: 
We can't find the Map component in the right column of the Friends with Boats Lightning page.

anybody help on this?
Kishor Ambekar 11Kishor Ambekar 11
Hi Joey and Manj,

I am also facing the same issue, do you guys are able to solve this issue? if yes can you please help me.
Thanks in advance.

Regards,
Kishor