0

Using Aura:component with figure onclick to open URL which is another Lightning App Page. Cannot get the URL syntax correct. It's a managed package so will have different MyDomains. The Lightning App Page is just "ProviderOne1". Tried without namespace, with, without "n/" etc.

Controller

({
handleClick : function(component, event, helper) {
            var navEvt = $A.get("e.force:navigateToURL").setParams({
                "url": "n/hdone__ProviderOne1"
    }).fire();
}

})

  • last i checked you shouldn't be using navigatetourl unless you are in communities or navigating to an external site. – glls Aug 27 '18 at 18:03
  • Lightning App Page is your page created by lightning app builder or any custom component? – sanket kumar Aug 27 '18 at 18:07
  • Its created by Lightning App Builder. If I was navigating to an Object Page, Record Page, etc. then I'd be using navigateTo(whatever). But they dont have that for Lightning App Pages. – user2451 Aug 27 '18 at 18:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.