+ Start a Discussion
Anthony Bernard 13Anthony Bernard 13 

Help Lightning Experience Roll-Out Specialist Challenge #10

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/"/>
    <ui:outputURL value="{!v.myURL}" label="TrailheaDX" target="_blank"/>

Controller : 

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

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
John Lawrence Catan 9John Lawrence Catan 9
I am getting the same error even though component is correct, added to the Lightning Sales App and opens the link. Have you been able to resolve this?
Eduardo MunizEduardo Muniz
Hi all... I am getting the same error... someone to resolve this?
Serge FrezierSerge Frezier

I am working on the Superbadge "Lightning Experience Rollout Specialist" 10. 
I get the same issue as the 3 persons before me. Everything is working like it should but I cannot pass the Challenge.

Adding a couple of screenshots below. 
I tried many many times, restarted my comp.
Every time I try something I reload the companent in the utility bar and I reload the App. It is not my first suprerbadge but I am at loss of ideas.

Thank you in advance!

The error:
Challenge Not yet complete... here's what's wrong: 
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.

User-added image

The component
The Home page in the app page is "Home Org"
The characters in the component respect the characters format in the error above ( ui:outputurl, https://developer.salesforce.com/trailheadx/)

User-added image
User-added image
My controller has no method . Itis left as is.

The code of the utility bar showing "target="_blank". Again a new tab opens perfectly and at the prerfect URL.

User-added image

User-added image

Thank you very much for any hint

Serge FrezierSerge Frezier
There is in fact a real bug at the end of May 2018 as it is not expecting the "Lightning component named TrailheaDX" or not only it (unsure as I did not test all cases). Credit to John Lawrence Catan 9 in another thread. 
Neeraj Kandukuri 12Neeraj Kandukuri 12
Hello All, 

I am facing the similar issue, I have cross checked multiple times and everything is good but for some reason I am facing the below error for my super badge challenge 10. Any help is much appreciated. 

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.

Thanks in advance!! 
Neeraj Kandukuri 12Neeraj Kandukuri 12
@Serge Frezier

Were you able to resolve this issue?
Federico Giust 1Federico Giust 1
@Serge Frezier

I'm facing the exact same issue.

Were you able to find a work around it? Or do we just need to wait for trailhead to fix the tests?

Julie VermeirenJulie Vermeiren
Same Problem:

Challenge Not yet complete... here's what's wrong: 
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.

Please help!
Federico Giust 7Federico Giust 7
I finally managed to solve this.
no need for a controller, if you have one just remove the component from everywhere then delete it.
after that create a new component with no controller and use this code

<aura:component implements="flexipage:availableForAllPageTypes" access="global" >
    <ui:outputURL value="https://developer.salesforce.com/trailheadx/" label="TrailheaDX" target="_blank"/>

add it to the utility bar in the Lightning Sales App with TrailheaDX as the label.

that worked for me
Lola Ariran 7Lola Ariran 7
Hi, was anyone able to resolve the issue with the error message? I have changed my codes and still getting the same error message. Any tips or solution would be appreciated. 
Andrew  RussoAndrew Russo
@Federico Giust 7    Your solution worked for me!!! Thank You!
Reginaldo Sumihara 31Reginaldo Sumihara 31
@Federico Giust 7 - Not work to me. Do you have other hint?
I've tried everything here and everywhere else on the internet.  the sites with tips and tricks for trailhead don't even seem to mention this as a sticking point.  but every help site seems to end the way this one has where several people say that no solution works.  I've tried both sets of code.  I've tried deleting the component and starting over.  Has anyone finished this badge successfully lately?  Maybe they made a change to salesforce that breaks this challenge or something.  

Any help is appreciated.  I've googled this every way I can and all my links are purple but I'm still stuck.  Hate to think all this work has gone to waste at the vary last check.


I was able to solve this error. 
Below is the markup of the 'TrailheaDx' component that I used- 

<aura:component implements="flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,force:lightningQuickActionWithoutHeader" access="global" >
    <ui:outputURL value="https://developer.salesforce.com/trailheadx/" label="TrailheaDx" target="_blank"/>

After crateting the component, Goto Sales home page and select 'Edit Page' by clicking on gear icon at the top right corner.
Add the newly created TrailheaDx' component anywhere your app and click Save.

Hello everyone. 

My problem may be unique but I thought i'd do the right thing and document it in case it helps anyone else.

I had been working on this badge so long and used so many resources to help that I had the problem narrowed down to an actual bug or incomplete error messages.  This time it was the latter.

Turns out for me at least, this was a matter of following directions for an old version of this badge.  This meant that I had created a Destination Success Controller that works almost exactly like the TrailheaDX controller.  I'm assuming they changed the name for the website and needed to update this badge to reflect that.

What nothing tells you however is that the test is still testing that old controller. I forgot to remove it from the app so it was evaluating to false because I didn't update it to open a blank tab.  So to fix it, either update both your controllers or better yet, just remember to remove the Destination Success stuff if you have it and your test should clear.  You don't have to do anything with the controller more than likely, just remove any refference to it from the utility bar and the app and you should be set.  If not, just update or delete it.
Akash Pandey 15Akash Pandey 15
Use this to solve this step:

<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,forceCommunity:availableForAllPageTypes,force:lightningQuickAction" access="global" >
    <ui:outputurl aura:id="TrailheaDX" value="https://developer.salesforce.com/trailheadx/" label="TrailheaDX Registration" target="_blank" />

Please mark this answer as best, if this resolves your problem.

Sanjay Rathore5Sanjay Rathore5
There is three issue :
1. URL should be : /lightning/r/Report/00O0K00000AsZ0z{YourReportId}/view?=&fv0={!Campaign.Name}&fv1={!Campaign.Id}.
2.  Custom Link should be on pagelayout "View Lightning Campaign Influence Report".
3.  Lightning Component should be like below 
                            <aura:component implements="flexipage:availableForAllPageTypes" access="global" >     <ui:outputurl aura:id="TrailheaDX" value="https://developer.salesforce.com/trailheadx/" label="TrailheaDX Registration" target="_blank" /> </aura:component>

if my answer help you so Please mark this answer as best.

Gug ChilGug Chil
As @dividedzero says, all we need to do is to remove Lightning component called Destination Success  /if any exists/ 
and create a Lightning Component called TrailheaDX with the following content
<aura:component implements="flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,force:lightningQuickActionWithoutHeader" access="global" >
    <ui:outputURL value="https://developer.salesforce.com/trailheadx/" label="TrailheaDX" target="_blank"/>

and add the TrailheaDX component anywhere in Sales App Home page using Edit Page from Gear menu.
As I understand any information found in internet about Destination Success component relates to old version of the badge, so IGNORE IT.
TM Developer AdminTM Developer Admin

OMFG after 12 hours later... THANK YOU @Gug Chil !!!  I read this post so many times and so many others, but somehow @dividedzero's comments didn't "click" until you made it clear. I figured out a long time ago that this DestinationSuccess crap was from an older version, and I've been using the TrailheaDX code (trying every version I could find!) but none worked... The Challenge will fail if the Destination Success component exists anywher in your org, UNTIL you delete the actual Lightning Component... EVEN IF IT'S NOT ACTIVE ON ANY OF YOUR PAGES!!

This must be Salesforce's way of preventing "cheating", a sort of "copyright protection" if you will, by doing a check for the old component name existing....something you would only have if you found an older post online. ;-)

Can someone please make @Gug Chil as Best Answer???? Thank you!!

Susanne Bauer 15Susanne Bauer 15
The following worked for me:

                access="global" >
Anthony Okolie 23Anthony Okolie 23
@ Sussane Bauer 15
Hi Sussane,
Please I am having the same problem as described above albeit with some differences. When I check the challenge, the system says it has not seen the lightning web component named TrailheaDX. However, I created the component and installed it in the Sales app as instructed. So, going through the above discussion, the premise seems to suggest that the aura programming model must be used to solve this issue. Is it not possible to use the lwc model to create the required component to solve this challenge? I am contacting you as the most recent person to solve this issue but like earlier ones, you still used the aura model. Thanks for your help