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();
}

})

3
  • last i checked you shouldn't be using navigatetourl unless you are in communities or navigating to an external site.
    – glls
    Commented Aug 27, 2018 at 18:03
  • Lightning App Page is your page created by lightning app builder or any custom component? Commented Aug 27, 2018 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.
    – ddeve
    Commented Aug 27, 2018 at 18:18

0

You must log in to answer this question.

Browse other questions tagged .