You need to sign in to do that
Don't have an account?
Anthony 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/"/>
<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?
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?
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.
The component
Notes:
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/)
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.
Thank you very much for any hint
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!!
Hello,
Were you able to resolve this issue?
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?
Thanks
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!
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"/>
</aura:component>
add it to the utility bar in the Lightning Sales App with TrailheaDX as the label.
that worked for me
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.
Thanks.
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"/>
</aura:component>
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.
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.
<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" />
</aura:component>
Please mark this answer as best, if this resolves your problem.
Thanks,
Akash
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.
Thanks
and create a Lightning Component called TrailheaDX with the following content
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.
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!!
<aura:component
implements="flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,forceCommunity:availableForAllPageTypes,force:lightningQuickAction"
access="global" >
<ui:outputURL
target="_blank"
label="TraiheaDX"
value="https://developer.salesforce.com/trailheadx/"></ui:outputURL>
</aura:component>
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