function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Matt Fisher 19Matt Fisher 19 

Trailhead Question - issues downloading unmanaged packages.

Hi,
I'm attempting the following module, where you need to install an unmanaged package.
https://trailhead.salesforce.com/modules/lightning_app_builder/units/lightning_app_builder_custom_comps 
I have followed the following help article's steps exactly
https://force.desk.com/customer/portal/articles/2710899-installing-a-package-or-app-to-complete-a-trailhead-challenge?b_id=13478

However, the unmanaged package is still being installed to my overall Salesforce instance, NOT to my "Trailhead Playground".

Given the challenge checks against the Playground, it is impossible currently to complete the challenge.
Is this a common problem & if so how do I solve it?
Thanks,
Matt



 
NagendraNagendra (Salesforce Developers) 
Hi Matt,

May I suggest you please double check with below steps which worked like a charm for me.
  1. Log In to trail head with your developer org username and password.
  2. Scroll your page to the bottom and click on option of which hands on org do you want to perform(trail head playground or developer edition account)
  3. Enter the information in all required fields and click on continue
  4. Now you can come to the bottom of the page and see that your trailhead playground is spinning up.
  5. Once the spinning is done your trailhead playground has been set up as your hands on org and check challenge button will be activated where trailhead will verify all your work done.
  6. Now if you click on the link on the unmanaged package link then it gets installed in the trailhead playground but not in the developer edition account.
  7. Make sure you have all necessary permissions checked before installing the package.
Hope this helps.

Please mark this as solved if my reply was helpful so that it gets removed from the unanswered queue which results in helping others who are encountering a similar issue.

Thanks,
Nagendra.
Matt Fisher 19Matt Fisher 19
Hi Nagendra,

I'm afraid I followed the instructions exactly (all in a Chrome incognito mode) and the unmanaged package is still installed NOT to my trailhead, but to my actual Salesforce instance. So, the problem still remains. When the package goes to install it doesn't ask me for any credentials, unlike trails where you go via the AppExchange in the incognito mode. Essentially I believe, somewhere along the process for unmanaged packages it's pulling in my "normal" credentials therefore routing the installation to the wrong place.

What do you advise?
Thanks,
Matt
Matt Fisher 19Matt Fisher 19
I've fixed this - it worked as I was doing another challenge where I went into incognito to access the AppExchange.
  • I noticed I was logged in already as my "core" credentials.
  • Logged out, then logged in using my Trailhead credentials.
  • Found this challenge and tried to install the unmanaged package
  • It worked
Might be worth changing your "incognito" instructions to make it clear to users that for both AppExchange and "unmanaged packages" to really double check that you're not previously logged into AppExchange using your core credentials, as it's not overly clear whether this applies to just apps from the AppExchange, when actually it's to both these and the unmanaged packages...!

Thanks for all your help Nagendra...!
Chris SynnottChris Synnott
Finally got it!!!!! What a pain. Yeah salesforce really needs to update that info document. When you click the “unmanaged package” link look at the URL! If the URL contains your main Salesforce instance make sure to log out of your main credentials. (If you don’t the page will upload the package to your main salesforce org) Then click on the unmanaged package link again and this should prompt you with the login screen again. Now enter in your trailhead username and password and BOOM! Should be good to go. Verify this by looking at the URL again. (This time it should show your trailhead instance, not your main salesforce org URL)
 
Ganesh Prasad 14Ganesh Prasad 14
But in my case core credentials and trailhead credentials both are same. So the issue not resolved for me. Any help? Thanks
lordLoxorlordLoxor
Hello Ganesh,
 I think, I might have a solution for you, follow the steps below:
  • Click on the Install Unmanaged Package URL
  • It will redirect you to your base org and will probably show you an error.
  • Copy your Playground Org's or any different org you want to install the package into URL (Ex.: https://www.playful-bear-xxxxxx-dev-ed.lightning.force.com/ Leave the rest).
  • While installing the package you will get the following URL --> https://yourbaseorg.lightning.force.com/packagingSetupUI/ipLanding.app?apvId=04t1a000000REQ2
  • Replace yourbaseorg.lightning.force.com with the different org URL as follows 
    • https://www.playful-bear-xxxxxx-dev-ed.lightning.force.com/packagingSetupUI/ipLanding.app?apvId=04t1a000000REQ2
  • Press Enter the rest process is similar.
Raghavendra KarnatakapuRaghavendra Karnatakapu
I had "Lightning Experience Rollout Specialist" package installed in my dev org first.  However, in order to take up Super badge, it was required to install the package in a new Trailhead Playground.  Attempted following the suggested process, but did not work.  Finally uninstalled the package from my Dev, launched the new Trailhead Playground (using my Dev Org login credentials) and installed the package.  It worked.
Jo RamsayJo Ramsay
AnupamSinghal, you're a genius. This has been causing me a MASSIVE headache. So much easier to replace the detail within the URL. Thank you!!!!!!!!!
James ArnoldJames Arnold
The guide/ helpful hint should be updated to reflect this solution. I was having the same problem with the unmanaged package and AnupamSinghal's solution worked. Sub out the dev URL for your specific TP's URL. 
Monika CrooksMonika Crooks
AnupamSinghal, I thank you as well!!!!  I was really about to scream over here b/c nothing was working.  Your solution was SUPER easy and effective!  Thanks again!
Liezele Dizon-ToscoLiezele Dizon-Tosco
Thank you for posting this question, and thank you AnupamSinghal for your response. Worked like a charm =)
Ajay Kumar 447Ajay Kumar 447
Hi guys ,
I found the right way to install Unmanged packge in our Trailhead playground
Launch your Trailhead Playground SEE URL https://XXXXXXXXXXXXX-445583-dev-ed.my.salesforce.com/01W7F0000XpHf
i the same URL Delete bolded And Insted Paste this /packagingSetupUI/ipLanding.app?apvId=04t46000001Zch4
then your URL looks like this https://XXXXXXXXXXXXX-445583-dev-ed.my.salesforce.com/packagingSetupUI/ipLanding.app?apvId=04t46000001Zch4
 
Frederick H LaneFrederick H Lane
Fabulous time savers and proof there is a real chink in the armour of this Trailhead Package. I was also experiencing problems on my Apex Specialist Superbadge for exactly the same reasons. But, why do all the objects, trggers etc load into the app and yet not run?
simba pasipanodyasimba pasipanodya
Thanks @AnupamSinghal ! 

I lost 3 hours on that tonight :(
Permjit HiraniPermjit Hirani
Hi 
So I'm a complete newbie to Salesforce (studying for first sys admin exam) and I was having the same problem; unmanaged package installing in the dev.org instead of TP. I tried Anupam Singhal's solution ie replacing dev.org URL with the TP URL but still package was installing in the dev.org. My core credentials were the same as the TP login credentials. So I managed to install the package into the TP by logging into the TP through it's own username and password obtained by following instructions shown here
https://trailhead.salesforce.com/en/modules/trailhead_playground_management/units/get-your-trailhead-playground-username-and-password.
Punchline: login to the TP via it's username and password before installing package 
Thanks all

 
Tony Gao1Tony Gao1
Hi Permjit:
This suggestion from you (09/02/2018) was so helpful and it ultimately worked for me, after having tried this unmanaged package installation for many hours across several days.  The earlier discussions in this thread about the URL difference between the main developer org and the new TP site were also very helpful and they certainly pointed me to the right direction.  The challenge was that it took me some failed attempts and some soul searching to realize that the installation didn't automatic go to the new TP site (and I wouldn't be able to Install the sample data from the Data Import tab).  The Superbadge instructions mention the need to create a new TP and use incognito - they were both critical, but the issue of URL separation and the unmanaged package not automatically goinh to the right URL was key and it is something most users may not immedately realize.  So the real challenge is that many people needing this very assistance shown here might not get to this informative thread and they might just give up on this superbadge.  
Thanks to all on this thread.
Tony
Ajay K DubediAjay K Dubedi
Hi Matt,
I think you should be taking help from 'Trailhead Support Team' about this problem if you want then follow below link:
https://trailhead.salesforce.com/help
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi