Questions tagged [navigation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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....
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
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 ...
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 ...
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
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 ...
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--...
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, ...
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
455 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 ...
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
503 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
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
0answers
66 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
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 ...
1
vote
1answer
715 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 ...
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 ...
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:...
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 ...
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 ...
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
1answer
735 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 <...
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
1answer
740 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
186 views

how to highlight active tab in custom navigation bar in lightning component

We have custom navigation bar in lighting community. Onclick of each tab we are navigating to different URLs. How to highlight active tab in custom navigation bar in lightning. Suppose if user clicks ...
6
votes
2answers
724 views

LWC Navigation (NavigationMixin) Bug. CurrentPageReference Becomes undefined and won't navigate?

I'm running into a bizarre bug that I can't track down. When using NavigationMixin.Navigate it works just fine MOST of the time. But occasionally, it just stops navigating. Digging into it as much ...
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
72 views

How to make navigation to Lightning component using isUrlAddressible?

So, I had a problem with navigating from Parent component to Child component, but it was solved. But now I have even more strange problem. So, I did navigation from Parent component to the Child one, ...
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('...
1
vote
0answers
300 views

NavigationMixin : pages persist when going back

So I have this setup where I have a searchfield that, upon button click, navigates to a results screen where there is a lightning datatable. Now, the problem is that if I go back from the results to ...
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 ...
0
votes
1answer
111 views

How we fire 2 or more events continuously in lightning component?

I'm facing a below problem when redirect to view the detail page then wanna display Edit popup. Please help me resolve this. In my component js. var retParams = '0010k000008IsVXXX' // Id of ...
1
vote
1answer
887 views

URL Type for Lighting:Datatable opens in new tab in console navigation

I'd like to have my datatable links open in a new sub tab when my users are using console navigation, but somehow they always open in a new tab. Here's the column definition for the link field: { ...
1
vote
0answers
53 views

lightning :navigation or :workspaceapi? What's my best option?

I see the Lightning docs demonstrate using <lightning:navigation aura:id="navService"/> with workspaceAPI here: https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/...
0
votes
1answer
385 views

Lightning Web Component and NavigationMixin [duplicate]

In my LWC I'd like to open a standard "new record" dialog with predefined values. I know I can use: this[NavigationMixin.Navigate]({ type: 'standard__objectPage', attributes: { ...
1
vote
0answers
138 views

Opening Visualforce page from Lightning Component, not showing header with back button on mobile app

In our org, we have a lightning component that opens a Visualforce page. On mobile, we want the mobile header that contains a back button to be visible, or for a header with a "Close" button to be ...
0
votes
1answer
195 views

Is it possible to use lightning:navigation inside an aura:application?

What I need is a simple link to the org's home page. The documentation doesn't cover the case of aura:application but only cover the case of aura:component. If I copy-paste the example inside an aura:...
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} ...
1
vote
1answer
968 views

Unable to navigate to community page using <lightning:navigation

I am using a <lightning:verticalNavigation> which calls a method to redirect to a Lightning Community page. Component <lightning:navigation aura:id="navService" /> <lightning:...
1
vote
1answer
2k views

Cancel and go back to Account after force:createRecord not working

handleCreateRecord : function(component, event, helper) { let currentUrl = decodeURIComponent(window.location.search.substring(1)); let createRecordEvent = $A.get("e.force:...
1
vote
1answer
388 views

Component call another lightning component

I have created a lightning component onclick button call a js function. Js function is there. callAuthComponent : function(component, event, helper){ console.log('call......'); var evt = $A....