Questions tagged [navigation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
18 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
17 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
41 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
0answers
26 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
32 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
39 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
62 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
21 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
22 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
114 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
36 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
26 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:...
0
votes
1answer
421 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
20 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
47 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
25 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
31 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
260 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
31 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
50 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
56 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
53 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
115 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
571 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
34 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
572 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
32 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.
0
votes
0answers
93 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 ...
1
vote
1answer
367 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 ...
0
votes
1answer
623 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 receive the following hard error when functionally testing in the UI: this[f.NavigationMixin.Navigate]...
0
votes
1answer
86 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 ...
0
votes
0answers
21 views

How to add Custom object tab to navigation menu in salesforce app webiste?

Also how would i know which app currently i am using in salesforce if there are multiple apps.
0
votes
0answers
92 views

lightning:navigation not working on second launch

I have a custom lightning component that navigates to another lightning component via lightning:navigation. If I try this once it works fine but if, without refreshing the page, I try launching this ...
5
votes
1answer
444 views

Spring19 release:Uncaught (in promise) TypeError

keep getting the following js error in my lightning component after the Salesforce Spring19 release: Can any one help please contextService.js:2 Uncaught (in promise) TypeError: Cannot read property '...
3
votes
1answer
395 views

Open New Tab in Lightning Out?

Scenario: I want to create a List Button which displays a Lightning Component. The only way to implement this step is to use a Visualforce Page which uses a Standard Set Controller, then use ...
2
votes
2answers
558 views

Lightning Experience - Edit override with nooverride option

We need a conditional override in Lightning Experience which may return a custom component/VF page or will return the standard edit behaviour. We've been investigating various options for returning ...
0
votes
1answer
197 views

Type in lightning navigation

In the following code what is passed to type key? var pageRef = { type: 'custom__recordPage', // What is type here? attributes: { actionName: 'view', ...
3
votes
0answers
96 views

Visualforce navigation tab not showing as highlighted in Lightning Experience

The managed app being created has two VisualForce pages with tabs that work fine. One tab is a "list page" of custom objects, which can be clicked on for more detail. The click navigates to one three ...
0
votes
1answer
305 views

Lightning Vertical Navigation: CSS for list item to be align to the right

I have a vertical navigation that is populated from a list of records, for each item I am trying to add a span with some extra information (in this case a badge), but I want to be pull to the right (...
1
vote
0answers
79 views

Creating hyperlinks in lightning community record tempaltes

While testing different ways to provide clickable links to users, I realized that the standard documented approach doesn't seem to work and while attempting to customize a component to do the same, ...
0
votes
2answers
558 views

salesforce custom lightning Horizontal navigation?

I am working on a requirement now to develop a custom component for navigation menu. We are using custom "Build Your Own" Community Template . And the standard navigation (Horizontal) is not available ...
0
votes
1answer
952 views

Lightning Navigation API - PageReference to Lightning Page Not Working

Any thoughts on why the pageReference here keeps erroring as Page Doesn't Exist? According to docs https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/...
0
votes
1answer
245 views

Lightning Navigation HandleClick Error

Following the Component Libary https://hdone-packaging-dev-ed.lightning.force.com/docs/component-library/bundle/lightning:navigation/documentation to use lightning:navigation. When using the OnClick ...
0
votes
1answer
520 views

Lightning - Navigate to record created from helper js

I am trying to navigate to the newly inserted record from lightning app. Note- we have not used lightning component instead we used lighting app. The record is getting inserted in Controller method ...
1
vote
0answers
223 views

Is it possible to prevent sforce.one.createRecord() and $A.get(“e.force:createRecord”) from navigating to the new record?

Is this a duplicate? This is not an duplicate of Lightning force:createRecord capture redirect after save because I'm additionally looking for a solution primarily for VF an not only LC. I can't ...
1
vote
1answer
414 views

lightning:navigation not working in community

Here is component I want to navigate to, named TestCmp: <aura:component implements="lightning:isUrlAddressable" access="global"> <aura:attribute name="someId" type="Id" /> {!v....
0
votes
1answer
187 views

Lightning Record Page: Only for overriding default record page?

I started playing around with Lightning Builder creating App pages that I am able to activate and navigate to from a lightning component. I thought it would be cool to create a "Record Page" ...
6
votes
1answer
2k views

Can lightning:navigation be used in Communities

I am trying to implement a navigation mechanism for my community So I am trying to implement the new lightning:navigation component. This is my component - main: MARKUP <aura:component ...
0
votes
0answers
175 views

Bug: Getting 404 when login as different user from Manage Users. Any thoughts please?

When I tried to login (by clicking Login link) as different users from Manager Users, it took me to "nowhere" which means it just results in 404 and displays the error in a polite manner. Is this ...
1
vote
1answer
1k views

Remove home menu item from lightning community navigation menu

I'm trying to remove the Home menu item from the navigation bar in our customer community. I've already tried the CSS hack posted on here previously but couldn't get it to work. Does anyone have any ...