In community builder I have set up a navigation menu, and I know in Aura I can fetch those items using navigationMenuBase
and via JS have it navigate to those pages selected. I'm wondering if there is a way to get or generate the URL of the items directly?
Essentially, I'm trying to get around the fact that because you don't have valid href's for the template, the user is not able to right-click and open in a new tab (tab opens but is blank because the anchor link is not valid). I know in LWC you can generate Url with a page reference, but the v.menuItems
data that the aura component receives does not provide that information. Can the menuItems response be used at all to get the url data from SF? Or is there another method or variable navigationMenuBase provides that can be used?
Example response from v.menuItems:
{id: 1, label: 'Case Management', active: false}
component.getSuper().navigate(id);