Stack Exchange Network

Stack Exchange network consists of 174 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.

2
votes
0answers
29 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
59 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 ...
0
votes
1answer
72 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
34 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
36 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
76 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
31 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
72 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
0answers
37 views

Community Navigation Menu as Mega Menu Component - How?

I have been searching for a sample or references on how I could re-develop the existing Community Navigation Menu for Communities as a Mega Menu Fly-out? Here are two examples in Codepen: 1) https://...
0
votes
0answers
30 views

How do I modify the $Site.allowStickyUrlParams site setting?

Internally, it appears this setting is used in lightning communities to determine if query params are cached onto an object and re-added during route changes in Spa.js. I'd like to not cache query ...
0
votes
1answer
303 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
82 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
227 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
76 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
146 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
80 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" ...
4
votes
1answer
708 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
50 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
358 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
183 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
102 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
372 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
21 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
193 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
260 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
2k 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
14 views

How to rename the +New link under a custom object tab?

I have a custom object named "Service Desk" which has an input form named "Intake Form". When I go to add "new" from the Tab Menu on the top of the screen, I get the default of "+ New Service Desk". I ...
0
votes
0answers
66 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 ...
1
vote
1answer
647 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
107 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
811 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
201 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
91 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
227 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
82 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
36 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
2k 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 ...
2
votes
0answers
166 views

Can't see new record in Related List without refresh: actionOverride

Context: I'm building a lightning component to override the New action for a custom sObject, let's call it My_Object. My_Object has a master detail relationship with Contact (My_Object is the detail)....
0
votes
3answers
2k views

Why doesn't force:navigateToSObject support “Open Link In new Tab”

I am trying to avoid hacking urls so I am using force:navigateToSObject. The only problem is what you cannot Cmd+click or Right click + "Open Link In new Tab" to navigate to the object in a new tab. ...
0
votes
2answers
241 views

navigateTo : New record

I have replaced the standard "New" functionality on a custom object, and I want to navigate to the newly created record after save. I have looked at the developer documentation, and I get that I need ...
0
votes
0answers
520 views

Get Community Page URL with Page Name

I wondering is there any way to get link to the Community Page without hardcoding URL, so we would have an option to change URL without breaking navigation? With VF Pages we have only Name so we have ...
0
votes
1answer
410 views

Adding Breadcrumb Navigation to Pages

Can anyone help me how to create BreadCrumb in visual page. I have searched across, found this Creating bread crumb in salesforce. Actually i don't understand form where to start with this article. ...
1
vote
0answers
572 views

“sforce.one.navigateToURL” does not navigate to Lightning Component

I have got a special problem using the "sforce.one.navigateToURL" command in a visualforce page. I am using the following code snippet to redirect a user from a visualforce Page to a Lightning ...
3
votes
0answers
476 views

force:navigateToSObject's slideDevName doesn't support in API Version > 37

If you goto this link https://developer.salesforce.com/docs/atlas.en-us.202.0.lightning.meta/lightning/ref_force_navigateToSObject.htm slideDevName - Supported for lightning experience for API 37. ...
2
votes
0answers
591 views

use force:navigateToSObject in lightning experience to move to relatedList tab

I am working on force:navigateToSObject for redirecting to Sobject related list page var sobjId = component.get('v.sobjId'); console.log('====sobjId=====',sobjId); var navEvt =...
0
votes
1answer
568 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....
1
vote
0answers
201 views

Pressing back button after navigating to an inner component closes Salesforce1 app in Android

I am facing an issue where the app gets closed when back button is pressed after navigating to an inner component in all Android devices. When back button is pressed after navigating to an inner ...
0
votes
0answers
1k views

sforce.one.navigateToURL on click vs javascript

I am using the following code in visual force page to launch a page from a non-salesforce site (external site with sales process documentation). function openSalesPilot(e){ if ((typeof sforce != '...
2
votes
0answers
858 views

Is /one/one.app#/alohaRedirect/apex/vfPageName ideal solution to open vf page in lightning experience?

We have an issue wherein when a user is redirected to our application from an external point such as an email link and if the user is lightning enabled then the custom VF page does not display the ...
0
votes
1answer
232 views

Custom Menu item to reload based on event using: e.force:navigateToURL

I wanted to make my community's page reloading as simple as it can be. I don't want to make it a complete tab reload page when a user clicks on the Menu item. Thus wanted to use: e.force:...