• John Lawrence Catan 9
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 3
    Replies
The requirement I have is that if the email provided on chat does not result in finding an existing Contact, an error message will be shown that the email is not found and to give a correct email. We wont create a Contact if its not found.

Would this be possible to do in embedded service?
I am going after the Lightning Experience roll-out specialist badge and I am having issues with challenge #10. Could you give me some pointers on how to finish this challenge?  

Here is my error : The Lightning component named TrailheaDX must open a link to https://developer.salesforce.com/trailheadx/, must open in a new window (using the target attribute of ui:outputurl), and must be included in the Sales app. 

Here is my code 

Component : 

<aura:component implements="flexipage:availableForAllPageTypes" access="global" >
    <aura:attribute name="myURL" type="String" default="https://developer.salesforce.com/trailheadx/"/>
    <br/><br/>
    <ui:outputURL value="{!v.myURL}" label="TrailheaDX" target="_blank"/>
    <br/>
</aura:component>



Controller : 


({
    navigate : function(component, event, helper) {
        var address = component.find("address").get("v.myURL");
        var urlEvent = $A.get("e.force:navigateToURL");
        urlEvent.setParams({
            "url": 'https://developer.salesforce.com/trailheadx/' + address
        });
        urlEvent.fire();
    }
})




In addition, i added the app to the utility bar and the homepage of the lightning sales app. 

Could you give me any pointers on how to finish this challenge? 


User-added image

User-added image
I'm struggling with the custom lightning component on this part. I don't have much background coding and am having trouble finding resources to help me achieve coding the lightning component. If someone could help give me some framework code to create a custom lightning component to hold a URL or direct me to a resource that help break this down I'd be very appreciative.