Bye bye rain gear! |
A confession -
I read the requirements for tonight's challenge, panicked a little, then went straight to the developer community. I've created a Lightning component before during a different Trail, however, the code was provided.
# 10, the final challenge, of Salesforce's Trailhead Lightning Experience Rollout Specialist Superbadge:
The one that almost got away...
Replace the Destination Success sidebar component tips:
- You will need to create a new component.
- Name your component "DestinationSuccess"
- Clear the pre-existing code from the component and enter the correct code.
If you have having trouble with the code, this thread from developer.salesforce.com should help.
<au
Congratulations! You are officially a coder!
- Click the blue "controller" button on the right.
- Clear the pre-existing code from the controller and enter the new code. Reference this thread for code help.
Save.
Done with coding.
Adding your DestinationSuccess component is as simple as dragging it onto the screen. Save!
Alternatives to Custom Links: UpsellCrossellOpportunity tips:
This is all clicks, no code!
- Review the Lightning Experience Readiness Report. Notice the layouts containing the button.
- You can create a new action using the already created Lightning Component.
Alternatives to Custom Links: ViewCampaignInfluenceReport tips:
- Review the Lightning Experience Readiness Report. Note- The layout that contains the custom link.
- You will need to follow the link within Campaigns in Classic.
- Note the Salesforce ID of the report.
- Once you adjust the report, create the new button or link to include the report in Lightning.
When you create the link, remember your report will have its own unique RecordID.
Hey TH Baby,
ReplyDeleteI'm having a little bit of trouble with the ending of this challenge and was hoping for you to clear things out for me if you have time.
Challenge Not yet complete... here's what's wrong:
The View Lightning Campaign Influence Report link on the Campaign object must use a relative URL and dynamic filter values.
Here's my Button/Link URL.
/one/one.app#/sObject/00O1U0000028jFg/view?&fv0={!Campaign.Name}&fv1={!Campaign.Id}
Report URL.
https://cunning-shark-m9kori-dev-ed.my.salesforce.com/00O1U0000028jFg
I've added the custom link to the campaign layout.
Any other information I could provide please let me know.
Thank you very much
The report url (https://cunning-shark-m9kori-dev-ed.my.salesforce.com/00O1U0000028jFg) - is a classic URL. My guess is that you missed the step where the classic report is saved/renamed in lightning. Is this it?
DeleteHi there,
ReplyDeletei am also having the same error as above.
My report link is
https://playful-shark-kw04iy-dev ed.lightning.force.com/lightning/r/Report/00O0o00000AUL35EAH/view
Here's my Button/Link URL.
/lightning/r/Report/00O0o00000AUL35EAH/view?fv0={!Campaign.Name}&fv1={!Campaign.Id}
I've added the custom link to the campaign layout.
can you please help
The button link URL needs to be tweaked - Switch /lightning/r/Report with /one/one.app#/sObject/
DeleteUsually I'd do a better explanation as to why ...but this is something I don't exactly understand as well :)
I think you need to update last part, /lightning/r/Report/ worked for me instead of /one/one.app#/sObject/,
DeleteFYI, https://developer.salesforce.com/forums/?id=9060G0000005f0IQAQ
I'm getting this issue:
ReplyDeleteChallenge Not yet complete... here's what's wrong:
Your quick action doesn't use the required Lightning component.
Ok- I'm happy to help, but need some sort of an idea of what you have completed so far.
DeleteI made a mistake not to add the URL to the layout so, crosscheck them.
DeleteHi th-baby,
ReplyDeleteFor the report type, did you start out with the 'Campaigns' report? Using 'Campaigns with Opportunities' does not provide the option to select All Campaigns. But I do see opportunity fields in your screenshot. And yes, I am building it in Classic. Thanks a bunch as always!
Well... the first problem is Classic. Why oh why? (Kidding!) There is a standard report that includes both Campaigns and Opportunities where you can include "all campaigns" under filters.
DeleteYeah, I found it and subsequently proceeded to conquer my 7th super-duper badge right after my post here. I kept on clicking around in Classic until I got to the standard report 'Campaign with Influenced Opportunites'. The default columns looked like what you posted here, plus it had the word 'infuence' in it. The instructions read: 'Name the report: Campaign Influence Lightning'. Influence + influenced = bingo :). I couldn't see that by default it was already grouped by Campaign Name. I kept on trying to drop the field on it and it wouldn't let me (ie, it was already grouped!). Oh, how much I love Classic! :). I hope you and your familiy are well. Thanks!
Delete
DeleteGood!!! oh please oh please switch to Lighthing! (I am a Lighting Champion for Salesforce....so I have to toe the party line!). :)
Hi Trailhead Baby,
ReplyDeleteI'm receiving following error for challenge 10:
"The Campaign Influence Lightning report must have the correct 1. Aggregate, 2. Columns, 3. Groupings, and 4. Filter."
Currently my Filter for Campaign Influence Lightning report is:
1. Show Me - All Campaigns
2. Campaign Name equals " "
3. Campaign ID equals " "
Ok. Do you have the correct groupings? Columns? etc. I don't see an issue with the filter.
DeleteI'm not sure about the Aggregate and Grouping to use, since there is no specific instruction. Could you please tell me what Aggregate and Grouping you've used?
DeleteI am happy to look at what you have. The details are in the instructions, but they can be a little tricky!
Deleteokay, as of now I have no aggregate added to my report (still figuring out).
DeleteI've grouped the column Stage sorted by Record Count.
Can you tell me one thing though?
Right now, the report returns no data at all using the current filter. Is that standard?
The grouping is not correct. No data is fine though.
DeleteOkay. Now i changed the grouping to Campaign Name instead and the issue got resolved.
DeleteI did not even need to add any aggregate at all.
The error messages are so confusing sometimes!
Figured out the no data part as well. It was because no oppty was associated with any of the campaigns.
This comment has been removed by the author.
ReplyDeleteGetting this error
ReplyDeleteChallenge Not yet complete... here's what's wrong:
The View Lightning Campaign Influence Report link on the Campaign object must use a relative URL and dynamic filter values.
I used this link:
/lightning/r/Report/00O2w000007wGq8EAE/view?=&fv0={!Campaign.Name}&fv1={!Campaign.Id}
can you help me out in this