You need to sign in to do that
Don't have an account?
Aleksey Sheldagaev
How to create community page link within Lightning?
I have 'customPage' created in Community Builder and I need to navigate a user to this page from my Lightning component inside other community page.
I've tried to use direct link:
And I've tried the second approach:
So, how to handle such simple action within community?
P.S.: I'm using Napili template for my community.
I've tried to use direct link:
<a href="custom-page">Custom Page</a>it works, but with browser refreshing, that's not appropriate, I need the same behavior as Top Navigation have.
And I've tried the second approach:
var urlEvent = $A.get("e.force:navigateToURL"); urlEvent.setParams({ "url": "custom-page", "isredirect": true }); urlEvent.fire();again, it works, but it opens new tab|window what isn't thery helpful
So, how to handle such simple action within community?
P.S.: I'm using Napili template for my community.
Hello Aleksey,
It's been a while but I have exactly the same problem ! Did you find any solution?
Thanks