Questions tagged [navigation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

Navigate to AURA component from LWC or open a quick action from LWC [closed]

Is there a way to open aura component or custom quick action button from LWC ?
0
votes
1answer
10 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....
5
votes
1answer
6k views

LWC Navigation: “this[f.NavigationMixin.Navigate] is not a function”

When attempting to use the Lightning navigation service in my component's base class (.js), I get the following error when functionally testing in the UI: this[f.NavigationMixin.Navigate] is not a ...
1
vote
1answer
3k views

Getting This page isn't available in Salesforce Lightning Experience or mobile app on navigating to component

I have button on the lightning component, on it's click action it is naviagating to another lightning component. Resultant URL is https://cmp-adecco--devv27.lightning.force.com/lightning/cmp/...
0
votes
2answers
700 views

Problem with Lightning Navigation?

I am trying to lightning navigation, I am using the code of official docs (https://developer.salesforce.com/docs/component-library/bundle/lightning:navigation/documentation) .cmp <aura:component ...
0
votes
1answer
20 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
88 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
416 views

LWC navigation to custom tab encryped the parameters?

I have a LWC Navigation component that is going to a custom tab that inturn loads a VF page, with params. This all works as expected and the url structure for the user is correct. However in the VF ...
2
votes
2answers
2k views

LWC navigation issue in communities

I am trying to redirect on the a href click to a custom visualforce page in lightning. <a href=# onclick={navigateto###} target="_blank"></a> navigateto###() { console.log('...
0
votes
1answer
430 views

Reference the Community Nav Menu inside a lightning Component?

I would like to reference the native community nav menu and profile menu from one of my lightening components. However when i tried, it did not call the menu. Is there a syntax that i am missing to ...
0
votes
1answer
36 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. ...
0
votes
0answers
17 views

Lightning Community - Dynamic Record Detail navigation to current User

I'm trying to reproduce the navigation to the page "My Profile" which is a "Record Detail" page that uses the current User ID. Unfortunately I'm not able to get the param and I ...
14
votes
1answer
16k views

How to open VF page in lightning Experience using URL link?

Is there a way to open VF page in lightning experience using URL link?. I know we can use sforce.one.navigateToURL but in our case it would not work because The URL link is outside the salesforce. Use ...
1
vote
4answers
2k views

Lightning Web Componets: navigate to the 'new' object page passing in specific record type Id?

I am using LWCs to display lightning cards in a list. The list shows information about Programs. Each Program card has a button, and this button needs to take the user to the 'new object' screen of ...
1
vote
1answer
60 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 ...
1
vote
2answers
2k views

NavigatetoURL Visualforce page for Salesforce1

Is there a blanket template covering the ability to create visualforce pages (containing navigatetoURL code) for internal company URLs that can be used on the Navigation tabs on Salesforce1?
1
vote
1answer
879 views

“force:navigateToURL” inserts “?source=aloha” in the URL which breaks page

My Lightning Component app uses navigateToURL to allow lightning users (in a browser) to edit data in custom objects: navigateToEdit : function(cmp, event, helper) { var articleId = cmp.get("v....
0
votes
0answers
26 views

Not navigate to edited record after save in community pages

we use a lightning datatable in a lightning component as a related list of Account that on row action we can edit row selected related record. We use this component in Community pages. On Edit we use ...
1
vote
2answers
552 views

How can I navigate to a Visualforce tab from a link or component in Lightning Experience?

We have a seemingly simple need to create a hyperlink that will redirect users to a tab in our Lightning Experience site that is a Visualforce tab. Lightning Components have navigateTo() methods that ...
1
vote
1answer
38 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
22 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....
2
votes
1answer
65 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
122 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, ...
0
votes
0answers
18 views

Does not select a navigation value

All data in the navigation is displayed, but when I select an item it returns nothing. Aura component: <div class="slds-grid slds-grid--vertical slds-navigation-list--...
2
votes
2answers
1k 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]({ ...
1
vote
1answer
2k views

LWC - Handling Save Event on Record Edit Page

I have a <lightning:datatable> in which I have a rowAction which triggers and shows an edit record page (in a modal), as follows: HTML <lightning-datatable columns={columns} ...
26
votes
3answers
7k views

How to navigate in lightning out?

Actually I am using lightning components with a visualforce page, because this is the only way to override standard button (using VF) today. The problem is that, i need to redirect my user to the new ...
1
vote
2answers
1k 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
112 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
453 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 ...
1
vote
1answer
502 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
65 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
123 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
0answers
48 views

Unable to use lighting navigation or WorkspaceAPI in console app

The console application I am migrating to LWC is designed as follows. When a call comes, CTI launches a VF page. VF page creates a lightning component inside it. lets call it 'wrapper'. (VF page was ...
0
votes
1answer
157 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 ...
2
votes
1answer
1k views

Issue with LWC Flow Navigation

I have an LWC embedded in a flow that has a custom footer. Whenever to click on the custom buttons to navigate the next screen, I get the following error: Uncaught Action failed: flowruntime:...
1
vote
1answer
711 views

Navigation and PageReference in Lightning Component - Why is url void?

UPDATE: I just verified it works when I navigate to my Lightning Component as part of a Lightning Page. My company is still in classic, so we're wrapping our components in Visualforce. https://...
0
votes
1answer
138 views

Cannot fire event in Aura after clicking browser back button (Unable to fire event. Event has already been fired.)

I have a custom component button called Hello.cmp which opens a popup modal. The modal has multiple buttons called navA and navB which navigates to different page. The navA and navB are other custom ...
1
vote
0answers
45 views

How to add specific report as tab in the navigation menu in Lightning?

I remember there was a functionality that used to exist to easily add specific reports as a tab to navigation menu (with the + button) but now it is not possible/existent?
2
votes
0answers
545 views

Tile Menu Component not displaying

I have a community where I have created 3 custom tile navigation menus. When logged in, the menu shows but when I access the community as a public user the Tile Menu doesn't display. I have allowed ...
3
votes
1answer
589 views

Hide Specific Navigation Menu Items using Page Variation ( Audience ) in Salesforce Communtiy

We decided to go with one Salesforce Community for 3 different Partner Types. All of the Partners should be able to see different tabs, and it's working correctly with tabs. In the one case, we have ...
2
votes
1answer
122 views

In Community, navigate from one aura component to another

I have a community page where I need to navigate from one aura component to another (on the same page, no full page redraw). I start in "FirstComponent.cmp" and click a button which should result in ...
0
votes
1answer
92 views

Can we edit Mobile App Salesforce Navigation through code / callouts to Metadata?

I have read this Trailhead lesson: https://trailhead.salesforce.com/en/content/learn/modules/salesforce1_mobile_app/salesforce1_mobile_app_navigation (Customize the Mobile Only Navigation Menu). Now ...
0
votes
0answers
289 views

Custom Flow Navigation - Retaining previously entered data

I am trying to implement a custom navigation for my flow. I have three screens in the flow and each screen calls a separate Lightning component. Now I am using the navigateFlow("NEXT") in each ...
2
votes
1answer
733 views

Why @wire(CurrentPageReference) pageRef; is causing following JS error

Line: "@wire(CurrentPageReference) pageRef;" in lwc is causing following js error in console log. What is the fix? Error: [LWC error]: Invalid event type "WireContextEvent" dispatched in element <...
1
vote
0answers
131 views

In Salesforce1 app unable to get recordId from currentPageReference wire adapter passed from previous page

I am working on Salesforce LWC in Salesforce1 mobile app. Lwc core functionality @wire(CurrentPageReference) pageRef; is throwing following error on console and i am unable to get recordId from ...
2
votes
0answers
276 views

LWCs - Navigation Menu Base?

I am in the process of building a custom navigation menu as a Lightning Web Component for my community. I know that in Aura Components one could use forceCommunity:navigationMenuBase, which provides ...
0
votes
0answers
62 views

isUrlAddressible navigation works from component 1 to component 2, but doesn't work from component 2 to component 3

So, I had a problem with navigating from Parent component to Child component, but it was solved. But now I have even stranger problem. So, I did navigation from Parent component to the Child one, but ...
0
votes
1answer
738 views

Open child component from parent on the same page

I've made two components: Is the main component. We chose value and based on that value, must be opened 2nd component.(parent) 2nd component (child) I would like do the following (step by step): ...
0
votes
1answer
242 views

Prevent navigation when click to one item of the navigation bar

I create a custom lightning component and have some unsaved data. I'd like to show a warning and optionally prevent the navigation when clicking to a navigation bar (such as Home, Account,.. ). I ...