Questions tagged [navigation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
20 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
26 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
34 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
26 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
74 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
29 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
56 views

Open new tab without refreshing parent tab LWC

I use lightning/navigation to navigate to standard_recordpage. I can navigate but I lose my parent tab data (parent tab is getting refreshed after choosing another tab). I know this is standard tab ...
1
vote
1answer
80 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
21 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
20 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
64 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
32 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 ...
1
vote
1answer
274 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
67 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
71 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
77 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
257 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
105 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
226 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
0answers
18 views

Navigation inside a Utility Bar item

I'm implementing a component that has a button and when it is pressed, navigation to another component should happen. This component is placed in a utility bar item and navigation to another ...
0
votes
1answer
79 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 ...
5
votes
2answers
321 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
45 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
36 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, ...
1
vote
1answer
431 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
102 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
212 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
68 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
423 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: { ...
0
votes
0answers
22 views

Public Site user menu customized Salesforce Classic

I'm making a update public site for certain registers in my ORG. So I need the user see a customize menu and a diferent message on the "userNavButton", there's a way to customized this in a public ...
1
vote
0answers
32 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
300 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
92 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
95 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} ...
0
votes
0answers
22 views

Navigation works in a strange way in community

I have a list of custom objects made from object pages in community. When I click on one of the object it the lists, it navigates me to list of accounts instead of details of the custom object. Any ...
1
vote
1answer
401 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:...
0
votes
0answers
72 views

Redirect to non-default tab on recordpage from Lightning Component

I'm using a lightning component to update a record. For the lightning whole application to work well, it has to reload completely. After updating the record, I use lightning-navigation to create the ...
0
votes
0answers
103 views

How to Pass record id from community page to another?

I am using navigation mixin for navigating to a community page from other community page- this[NavigationMixin.Navigate]({ type: 'standard__namedPage', attributes: { ...
1
vote
1answer
1k 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:...
0
votes
0answers
111 views

How to navigate to a lightning app home page from a custom lightning component?

I have a requirement where I want to create a component which will have a list of apps which the users most frequently use. This component will be available as a utility item. The users will have the ...
1
vote
1answer
145 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....
0
votes
0answers
105 views

State is not getting set

I am navigating to another page while clicking on a button, and passing the record Id in the state, however in the url it is not showing, same is working properly in another org. getting this in ...
3
votes
0answers
131 views

Passing a parameter to visualforce in lightning experience

We have a Visualforce page in Lightning Experience and we are using an apex:outputLink to pass a parameter to the same page, so that we can edit an item on the page. VF Page 'MySetup' Snippet: <...
0
votes
2answers
402 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
4answers
1k views

lightning:navigation not passing the States in URL

I used to naviagate from one component to another component. 'TestComp' is the destination component to which i want to naviagate. Its working fine in dev orgs but not in all the sand boxes. In some ...
0
votes
0answers
173 views

Navigate to record details of record created during a flow

I'm trying to navigate to record details of record that was created during the flow. I tried adding simple lightning component with lightning:navigation on a last screen but instead of redirection i ...
1
vote
1answer
2k 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
1answer
54 views

Navigate user from inside lightning component to new record page on mobile

I want to be able to navigate a user from within a lightning component to the create new record page on the salesforce one app. I cant find any means of how to do this.
3
votes
1answer
303 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 ...