Questions tagged [navigation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
72 views

LWC - NavigationMixin.GenerateUrl promise returns JavaScript:void(0)

In my component, I have an api setter method for recordId and I am generating a URL based on the given recordId inside the setter. I am storing the generated URL and using it as href value like this &...
0
votes
0answers
28 views

Web Component NavigationMixin not Working in Outlook

I'm trying to migrate aura component to LWC, for component that is used in the outlook Salesforce extension (the standard app for outlook). It is done by adding target in the xml file <targets> ...
0
votes
0answers
17 views

How to expose forceCommunity:navigationMenuBase cmp to be able to select it in theme setup

I have implemented a custom navigation aura component. <aura:component extends="forceCommunity:navigationMenuBase"> <aura:attribute name="navigationLinkSetId" type=&...
0
votes
0answers
17 views

Sforce.one in visualforce is undefined in lightning experience

I have a VF page in Lightning Experience, and I am trying to redirect to a lightning record page. I am trying to use sforce.one.navigateToSObject and passing to it an id. However when I click the ...
0
votes
0answers
13 views

Is it possible to get the url or page reference from navigationMenuBase menuItems?

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 ...
0
votes
0answers
14 views

Unable to add navigation menu url with dynamic parameters in Community Builder

I am trying to set up a new navigation menu set in community builder, but am receiving an error when trying to navigate to User Profile and User Setting pages. I have googled a bit, and seen the ...
0
votes
0answers
17 views

URLFOR in URL quick action removes parameters in Lightning Experience

I'm trying to create a quick action for navigating to a page which hosts a lightning component. This component relies on the recordId existing as a parameter in the URL, however when I try to pass it ...
0
votes
1answer
69 views

lwc component does not refresh when navigating back to it from record page

So, I have a lwc component, that is accessed via related list. When I enter the record page, and navigate to the lwc, everything works fine. Then, if I do something on that lwc, save and navigate back ...
0
votes
1answer
283 views

Redirect to listing/record page onclick on Cancel button or Save save button LWC

Iam working on LWC component. On NEW button click LWC component opened. Enter data on fields and click on 'Create Account' button, it should redirect/navigate user to 'listing/record' page. OR click ...
0
votes
0answers
20 views

How to enable MultipleNavigationMenu permission?

I'm trying to extract the NavigationMenu metadata from Salesforce so I can deploy the Object tabs on the Navigation Bar via one of the Salesforce CI/CD tools. One of the support agents told me I ...
0
votes
0answers
16 views

How can i realize lightning:navigation to account detail page? Aura Component

help me please, i have a child aura component, and i need to realize redirect on detail page when i clicked on Account Name. <aura:component implements="flexipage:availableForAllPageTypes"...
0
votes
0answers
13 views

User jumps back to Opportunity after editing a Order Line Item in Sales Console. How to prevent it?

I am wondering is this behavior normal or pertaining to my Salesforce org. Whenever I tried to edit a Order Line Item in Sales Console, it takes me back to the opportunity page. If I need to update ...
0
votes
0answers
129 views

Aura - Console Subtab Navigation

The Sales app being used is a console app. I developed an lwc that is initiated by an Aura component and that Aura component is used to override the New button for Opportunities. When the New button ...
0
votes
1answer
171 views

Unable to open Visualforce page from LWC on Salesforce1, it redirects to web page and asks for password. Works well in IOS issue in Android

I am trying to open a Visualforce Page in Mobile device on a button click from LWC. I am using function navigateToVFPage() { this[NavigationMixin.GenerateUrl]({ type: '...
0
votes
0answers
76 views

Unable to navigate to case record detail page in Lightning Service Console upon using custom save Button

Below is my code to save the Case in service console. But Case is saving and ID also generating but navigation code (you can see the code in lightning controller below) is not executing. Created ...
0
votes
1answer
40 views

2GP packaging error: These entities are not supported: [NavigationLinkSet]

I am creating a new package for communities. I have included the communityTemplateDefination/lightning bolt/theme defintion and my NavigationMenu (in the navigation menu folder) but when I package it ...
2
votes
0answers
202 views

Return Record Id of newly created Record After Using NavigationMixIn.Navigate

I have created a button in a custom LWC that when clicked, the below js runs. This opens the standard salesforce new record create modal and the user can then enter information to create a new record. ...
0
votes
1answer
24 views

Weird behavior when navigating to record detail page from lwc

I have a lwc that is wrapped in a urlAddressable aura component. I did this so I can navigate to it from a button in a related list in a record page. This lwc has a "go back" button, which ...
0
votes
0answers
65 views

Is it possible to attach standard actions like 'Sharing' and 'Change Owner' to custom buttons when creating a custom Record Page in LWC?

Is it possible to attach standard actions like 'Sharing' and 'Change Owner' to custom buttons when creating a custom Record Page in LWC? For 'edit' and 'clone' I'm using NavigationMixin, but what can ...
3
votes
1answer
229 views

lightning breadcrumb href does full page refresh, how to stop and have faster navigation

I have a lightning component that utilizes lightning-breadcrumbs for output on a page <lightning:breadcrumbs class="slds-m-around_small"> <aura:iteration items="{!v.response}&...
0
votes
0answers
59 views

lightning web component navigate to record edit page with default field value not work

I have a action button which will navigate user to record edit page with a default field value setting. const defaultValues = encodeDefaultFieldValues({ Stage__c: 'Pending Requestor' ...
0
votes
1answer
17 views

Global navigation layout

Desktop - The global navigation component that is available on the sdfc is a horizontal tab. Can I change the global navigation layout to a global vertical navigation(sticky)during development?? ...
1
vote
1answer
157 views

pass query parameters to urladdressable aura component with child lwc

I have a lwc inside an aura component urlAddressable. The idea is to navigate to that lwc from a record page, and passing the record id and maybe other data via query paramaters in the url, for ...
0
votes
0answers
26 views

how to get visualforce url to use in navigation mixin LWC [duplicate]

I'm trying to navigate from a LWC to a visualforce. I had found in an answer here that just using the navigationmixin.navigate with type 'standard_webPage' and attribute with url '/apex/vfpagename' ...
0
votes
1answer
28 views

navigate from lwc to visualforce that depends on controller state

I'm migrating a visualforce that lets you search and print checks, to LWC. So this visualforce used this other one with renderAs=pdf for the printing part: <body> <apex:variable var="...
1
vote
0answers
121 views

Use data from previous page in Lightning Community with lwc

We have a Community made up of 2 pages, using lwc and also Apex (for org queries and API calls). We go from one to the other with Navigation Mixin. On the first page, we get a lot of data from Apex ...
0
votes
0answers
15 views

ManagedTopics Label Access

How can I get ManagedTopics Translated Label inside an apex method. I have added the translation inside workbench and I have the topic's recordId.
2
votes
0answers
519 views

Example of LWC Custom Flow Navigation Footer

Does anyone know of a sample LWC that can be used as a custom navigation footer for a Screen Flow? I'm looking through blog posts and forums and am finding all Aura components. Thanks
0
votes
1answer
196 views

What is the correct way to build a URL to a Salesforce record from an external system?

We have multiple external systems that have access to our Salesforce record IDs & we'd like to build links from those external systems to our Salesforce records. What is the correct way to do ...
0
votes
2answers
318 views

Component is undefined in window.addEventListener in Community

I'm not sure if I am missing a syntax but I have the following component and javascript. I'm trying to execute some javascript in the "popstate" callback but for some reason, the "...
0
votes
0answers
57 views

Weird Context Behaviour in LWC and Apex

I'm writing a simple 'Merge Lead and Opp' lwc that leverages apex to transfer some custom fields from the lead to the opp before deleting the lead. The apex works fine. The issue is that when the apex ...
0
votes
1answer
25 views

Prevent the double lightning header while navigation to Lightning Web Component

I have a Lightning web component which doesn't fit in the half-sized modal popup screen but I need to open it from the action on the record page. I have found an interesting idea about how this can be ...
0
votes
1answer
83 views

Dynamic Enable/Disable lightning page of a lightning app

There is a requirement, lightning app should have two lightning pages - Order and Pending Order, by default Pending Order will be disabled. And Order lightning page will be loaded. but Once user click ...
0
votes
1answer
377 views

Navigate to list view after button click In lighting

I want to navigate to list view on click of button in a case record. Even if the multiple cases tabs are open I would like to get focus to list view on button click in lighting. is this possible to do....
0
votes
1answer
47 views

Naviagtion Mixin not working after imperative save

On my community page(A) I have a LWC component with a button which onclick will call an apex method to create a record. If the create is successfull it needs to redirect to another community page(B). ...
1
vote
1answer
860 views

Problem with navigating to LWCs wrapped in aura component

I have a requirement where I need to navigate to LWCs. I referred this website and used aura component for the navigation. I do not wish to use tabs, hence I chose this option. There are 4 LWCs and ...
0
votes
1answer
597 views

Navigate to record detail page from visualforce page

I have a table of related records on a visualforce page and I want to redirect to the respective record detail page when the user clicks on a forward icon associated with each row of the table. ...
1
vote
1answer
905 views

Lightning Navigate to Create Record with Default Values not working

I want to add a button on the related list to create a new record with some prepopulated default value in the standard "Name" field. I'm looking at the release notes from Spring 2020 which ...
2
votes
1answer
239 views

How to Make Advanced Navigation for Audiences in Communities?

I have a complex use case that involves audiences and navigation menu options but I don't know how to solve this puzzle using standard functionality. My company is building a community that will have ...
0
votes
1answer
25 views

Salesforce Custom Navigation

Currently we have to create our apps with set of Tabs but I would like to have total control over where these tabs should display e.g; on right side of application. Add sub Tabs under main tab etc etc....
3
votes
1answer
588 views

LWC detect page navigation in Community?

I have a custom Lightning Web Component that is placed on a page in a Customer Community. Community users use the LWC to enter and save data. I would like the LWC to detect when the user tries to ...
1
vote
2answers
417 views

Can we use pageReferenceUtils or NavigiationMixin to set default values for dependent picklists in Lightning Web Components?

Had a problem where in the move to Lightning, we lost functionality with setting dependent picklist values. We wrote aura components but they don't allow default values for picklists to be defined, ...
1
vote
2answers
3k views

"The current window does not have permission to navigate the target frame" error for non-sysadmin users

I have a button that calls a Visualforce page that invokes an Aura app/component via Lightning out. I need to do this because in Lightning we cannot have Actions on list views. Anyway, for me - ...
2
votes
0answers
412 views

Calling this[NavigationMixin.Navigate] re-initializes the component

I have a parent component that handles the navigation for my app and a child component that loads a list of data. Whenever I call this[NavigationMixin.Navigate] it re-initializes the entire parent ...
1
vote
1answer
2k views

NavigationMixin.Navigate does not navigate

I am trying to use an example piece of code by Salesforce, but it's not working for me. It starts with a VF page, which unfortunately is necessary, because it is not possible to add an action to a ...
5
votes
2answers
5k views

How to open a report using LWC navigation in a new tab?

I'm using the following code to open a report using a LWC card. JS controller navigateToReport(event) { // Navigate to the Contact object's Recent list view. this[NavigationMixin.Navigate]({ ...
2
votes
1answer
2k views

LWC Navigation In Community

I cannot figure out how to navigate to an Object page from an LWC in the Community. The use case I am attempting is very straight forward. I have a form that I want users to be able to fill out, ...
0
votes
0answers
99 views

Usage of getSelectedNavigationItem throws "Unable to find Lightning Console App" when using Sales Console

I try to get the Selected Navigation Item in the Salesforce Navigation Bar. I have a lightning record page with a recordId, and on init I have written this code: Lightning Page: <lightning:...
0
votes
2answers
326 views

How to pop-up the Edit Products/MultiEdit modal window via Aura?

The Edit Products/MultiEdit window is a pop-up in Lightning, so it cannot be shown by navigating to a particular URL, as was possible in Classic. How can I pop-up this window via Aura Javascript code?...
0
votes
1answer
505 views

How do I create a Lightning tab menu with dropdown sub-menu

I had a requirement to display a row of tabs. When one of them is clicked, it displays a dropdown sub-menu, allowing the user to click on one of the options. I couldn't find any out-of-the-box ...