You need to sign in to do that
Don't have an account?
Manj_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();
},
})
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();
},
})
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
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
Have you got the Answer ?
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?
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