Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [navigation]

The tag has no usage guidance.

1
vote
1answer
98 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
22 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
42 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
31 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
37 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
50 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
3answers
119 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
15 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
0answers
148 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
13 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
23 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
89 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
173 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
58 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
13 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
42 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
234 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
263 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
327 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
111 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
70 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
232 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
53 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
323 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
610 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
195 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
420 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
173 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
305 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
147 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" ...
5
votes
1answer
1k 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
114 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
816 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 ...
0
votes
1answer
267 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
0answers
156 views

forceCommunity:routeChange Navigation Event Not logging Custom Parameters

I am using the following "navigation events" in a lightning community (Napili template to be more precise) aura:locationChange forceCommunity:routeChange they would seem to complement ...
9
votes
1answer
599 views

How is <a>-tag-navigation to URLs and Objects done in Lightning (Summer'18)?

The lost simplicity The docs discourage the use of this pattern <a href="/XXXXXXXXXXXXXXXXXX">Salesforce record ID (DON'T DO THIS)</a> Instead we should Use Navigation Events ...
0
votes
0answers
23 views

Refresh browser button in lightning resets workflow of VF pages to first VF page

I have a workflow of VF pages that are navigated to with the sforce.one navigation library. However; when in lightning if the user clicks the browser's refresh button it sends the user back to the ...
0
votes
0answers
304 views

e.force:navigateToRelatedList is giving error in lightning component

I am getting the below error while trying to navigate to a related list. Error: Unfortunately, the related list you're trying to view isn't in the layout. Please get in touch with your ...
1
vote
1answer
387 views

Where is the Workbench in Lightning Experience?

Where is the Workbench in Lightning Experience? I am covering the module. The challenge there is to: Using REST API and Workbench, create an account with the name "Blackbeards Grog Emporium" and ...
6
votes
2answers
3k views

How to use lightning:navigation with force:hasRecordId

Other than the sparse documentation example code I couldn't find any that shows regarding lightning:navigation and lightning:isUrlAddressable. I couldn't get this simple example to run. navigateTo....
0
votes
0answers
77 views

force:hasRecordId outside of the Case Record pages?

I'm working on a lightning communities implementation where we want to drill down from the Case object to a list of related objects. The related object list is pretty heavily customized, so we aren't ...
2
votes
1answer
966 views

Lightning Community - relative page navigation to page with lightning:input breaks

I have a strange problem that occurs whenever I navigate to another lightning page using an anchor tag with an href value containing a relative URL (e.g. If I have a lightning page with the url "/...
0
votes
1answer
137 views

Navigation in Lightning app Using change in Url which supports browser back button

I am creating a lightning app in which I have different sidebar menus, which should take the user to different page inside the same app. I have done this by dividing the parent component in two part ...
2
votes
2answers
1k views

force:naviagetoUrl not handling external link when adding community redirect_uri

When I try to redirect users using force:navigateToURL and i specify a redirecturi which is within my community, it seems to ignore the external reference, and treat it as a community page. For ...
4
votes
0answers
236 views

Using aura locationChange in lightning communities

After further testing and reading on aura:locationChange component: This event is automatically fired when the hash part of the URL has changed. I understand that, in my community URL, If i ...
1
vote
1answer
109 views

locationChange not working in between page variations

I have been trying to store my url states in a lightning community using the locationChange event, while testing in the Sitepreview, every time there is a change in my url, the event is fired, ...
1
vote
0answers
257 views

Lightning and browser back/forward navigation not reloading page

When going back in the browser from one lightning page to another, I have a situation where data that was modified in a subsequent page is now stale on the previous one and the user has to refresh to ...
1
vote
1answer
88 views

Lightning slds Visualforce

I need a navigation in salesforce classic and I use the lightning components to create a navigation. So far so good, but how can I use the icons, if I add the code below to my visualforce the icons ...
2
votes
2answers
58 views

Problem deleting custom object

I can't seem to delete a particular custom object. I am getting an error that it is in use by a Navigation Topic Item. I have looked through my three community nagivation bars & can't see a ...
0
votes
2answers
3k views

Lightning button to redirect to record detail page

I am very new to lightning and have a basic issue with creating a button. My requirement is that when i click on 'check my budget' button it should redirect me to the corresponding budget record of ...