Questions tagged [navigation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
30 views

Navigate to the 'new' object page passing in specific record type Id with LWC

When I click on the button, a new record is generated, I automatically want that when I click on the button, I navigate to the page of the record I just created, but with this code it does not work ...
user avatar
0 votes
1 answer
48 views

LWC - NavigationMixin From Flow

I am trying to redirect the user in a flow. It works as the following: Click on URL button -> Redirected to flow -> User fills out LWC embedded in flow -> flow creates record -> Screen ...
user avatar
0 votes
0 answers
31 views

Get Navigation Menu for Experience Cloud User based on Audience

I am attempting to create an LWC component for my orgs Experience cloud related to navigation. I'd like to get the navigation menu for the current user that is based on the audience they are in. My ...
user avatar
  • 103
0 votes
1 answer
47 views

LWC NavigationMixin Not working

i am trying to create a custom footer for a flow. While trying to navigate to a list page of Survey object the Navigation is not working, Any help would mean a lot. Thanks!! <template> <...
user avatar
1 vote
0 answers
39 views

Community Builder: Hide/Replace navigation bar in Partner Central template

I am using the Partner Central template in lightning community and want to customize the navigation bar such that it displays a different set of items based on the user. The criteria however, is a ...
user avatar
0 votes
1 answer
73 views

Using Navigation Service to redirect user to a Case Object Page in Community site

while I understand how one could navigate from one Standard Page to another within an LWC component, navigating to Object Page within a Community Site is very troublesome to me. I've seen this example ...
user avatar
  • 1
0 votes
1 answer
55 views

Navigation Link Set deployment issue from Dev to Sandbox Account

I'm trying install an unmanaged Package from my dev org to a Sandbox org using the Package installation Link. The Package contains the Digital Experience Sites (communities) and a related dependency ...
user avatar
0 votes
2 answers
46 views

How to push urls to an array in Lightning Web Component

Im trying to make an LWC that shows a list of contact tiles that have their own url to navigate to the contact record page. I cannot seem to get the url to push into the array in the .then method. ...
user avatar
  • 41
0 votes
1 answer
224 views

How do I retireve the record ID of an account related to a contact in an LWC?

Im trying to make an LWC component on the Contact object that displays a link to a related Account. I am using NavigationMixin.GenerateUrl and trying to dynamically pass in the recordId of the related ...
user avatar
  • 41
1 vote
1 answer
166 views

How would I JEST test a @wire(CurrentPagereference)?

I am unable to hit these lines of code even after I added some jest-mocks to my test folder. I am sure that I would have to do something like below, but how would I then hit it to verify what is ...
user avatar
2 votes
1 answer
465 views

LWC - NavigationMixin.GenerateUrl promise returns JavaScript:void(0)

In my component, I have an api setter method for recordId and I am generating a URL based on the given recordId inside the setter. I am storing the generated URL and using it as href value like this &...
user avatar
  • 23
0 votes
0 answers
59 views

Web Component NavigationMixin not Working in Outlook

I'm trying to migrate aura component to LWC, for component that is used in the outlook Salesforce extension (the standard app for outlook). It is done by adding target in the xml file <targets> ...
user avatar
  • 1,545
0 votes
0 answers
43 views

How to expose forceCommunity:navigationMenuBase cmp to be able to select it in theme setup

I have implemented a custom navigation aura component. <aura:component extends="forceCommunity:navigationMenuBase"> <aura:attribute name="navigationLinkSetId" type=&...
user avatar
  • 1,532
0 votes
0 answers
47 views

Sforce.one in visualforce is undefined in lightning experience

I have a VF page in Lightning Experience, and I am trying to redirect to a lightning record page. I am trying to use sforce.one.navigateToSObject and passing to it an id. However when I click the ...
user avatar
0 votes
0 answers
34 views

Is it possible to get the url or page reference from navigationMenuBase menuItems?

In community builder I have set up a navigation menu, and I know in Aura I can fetch those items using navigationMenuBase and via JS have it navigate to those pages selected. I'm wondering if there is ...
user avatar
1 vote
0 answers
52 views

Unable to add navigation menu url with dynamic parameters in Community Builder

I am trying to set up a new navigation menu set in community builder, but am receiving an error when trying to navigate to User Profile and User Setting pages. I have googled a bit, and seen the ...
user avatar
0 votes
0 answers
102 views

URLFOR in URL quick action removes parameters in Lightning Experience

I'm trying to create a quick action for navigating to a page which hosts a lightning component. This component relies on the recordId existing as a parameter in the URL, however when I try to pass it ...
user avatar
0 votes
1 answer
631 views

lwc component does not refresh when navigating back to it from record page

So, I have a lwc component, that is accessed via related list. When I enter the record page, and navigate to the lwc, everything works fine. Then, if I do something on that lwc, save and navigate back ...
user avatar
0 votes
1 answer
2k views

Redirect to listing/record page onclick on Cancel button or Save save button LWC

Iam working on LWC component. On NEW button click LWC component opened. Enter data on fields and click on 'Create Account' button, it should redirect/navigate user to 'listing/record' page. OR click ...
user avatar
  • 1
0 votes
0 answers
38 views

How to enable MultipleNavigationMenu permission?

I'm trying to extract the NavigationMenu metadata from Salesforce so I can deploy the Object tabs on the Navigation Bar via one of the Salesforce CI/CD tools. One of the support agents told me I ...
user avatar
  • 1,081
0 votes
0 answers
22 views

How can i realize lightning:navigation to account detail page? Aura Component

help me please, i have a child aura component, and i need to realize redirect on detail page when i clicked on Account Name. <aura:component implements="flexipage:availableForAllPageTypes"...
user avatar
0 votes
0 answers
16 views

User jumps back to Opportunity after editing a Order Line Item in Sales Console. How to prevent it?

I am wondering is this behavior normal or pertaining to my Salesforce org. Whenever I tried to edit a Order Line Item in Sales Console, it takes me back to the opportunity page. If I need to update ...
user avatar
  • 6,634
0 votes
0 answers
262 views

Aura - Console Subtab Navigation

The Sales app being used is a console app. I developed an lwc that is initiated by an Aura component and that Aura component is used to override the New button for Opportunities. When the New button ...
user avatar
0 votes
1 answer
482 views

Unable to open Visualforce page from LWC on Salesforce1, it redirects to web page and asks for password. Works well in IOS issue in Android

I am trying to open a Visualforce Page in Mobile device on a button click from LWC. I am using function navigateToVFPage() { this[NavigationMixin.GenerateUrl]({ type: '...
user avatar
0 votes
0 answers
104 views

Unable to navigate to case record detail page in Lightning Service Console upon using custom save Button

Below is my code to save the Case in service console. But Case is saving and ID also generating but navigation code (you can see the code in lightning controller below) is not executing. Created ...
user avatar
0 votes
1 answer
53 views

2GP packaging error: These entities are not supported: [NavigationLinkSet]

I am creating a new package for communities. I have included the communityTemplateDefination/lightning bolt/theme defintion and my NavigationMenu (in the navigation menu folder) but when I package it ...
user avatar
  • 111
2 votes
0 answers
355 views

Return Record Id of newly created Record After Using NavigationMixIn.Navigate

I have created a button in a custom LWC that when clicked, the below js runs. This opens the standard salesforce new record create modal and the user can then enter information to create a new record. ...
user avatar
  • 21
0 votes
1 answer
110 views

Weird behavior when navigating to record detail page from lwc

I have a lwc that is wrapped in a urlAddressable aura component. I did this so I can navigate to it from a button in a related list in a record page. This lwc has a "go back" button, which ...
user avatar
0 votes
0 answers
136 views

Is it possible to attach standard actions like 'Sharing' and 'Change Owner' to custom buttons when creating a custom Record Page in LWC?

Is it possible to attach standard actions like 'Sharing' and 'Change Owner' to custom buttons when creating a custom Record Page in LWC? For 'edit' and 'clone' I'm using NavigationMixin, but what can ...
user avatar
3 votes
1 answer
403 views

lightning breadcrumb href does full page refresh, how to stop and have faster navigation

I have a lightning component that utilizes lightning-breadcrumbs for output on a page <lightning:breadcrumbs class="slds-m-around_small"> <aura:iteration items="{!v.response}&...
user avatar
  • 415
0 votes
0 answers
229 views

lightning web component navigate to record edit page with default field value not work

I have a action button which will navigate user to record edit page with a default field value setting. const defaultValues = encodeDefaultFieldValues({ Stage__c: 'Pending Requestor' ...
user avatar
0 votes
1 answer
25 views

Global navigation layout

Desktop - The global navigation component that is available on the sdfc is a horizontal tab. Can I change the global navigation layout to a global vertical navigation(sticky)during development?? ...
user avatar
  • 1
1 vote
1 answer
276 views

pass query parameters to urladdressable aura component with child lwc

I have a lwc inside an aura component urlAddressable. The idea is to navigate to that lwc from a record page, and passing the record id and maybe other data via query paramaters in the url, for ...
user avatar
0 votes
0 answers
35 views

how to get visualforce url to use in navigation mixin LWC [duplicate]

I'm trying to navigate from a LWC to a visualforce. I had found in an answer here that just using the navigationmixin.navigate with type 'standard_webPage' and attribute with url '/apex/vfpagename' ...
user avatar
0 votes
1 answer
77 views

navigate from lwc to visualforce that depends on controller state

I'm migrating a visualforce that lets you search and print checks, to LWC. So this visualforce used this other one with renderAs=pdf for the printing part: <body> <apex:variable var="...
user avatar
1 vote
0 answers
212 views

Use data from previous page in Lightning Community with lwc

We have a Community made up of 2 pages, using lwc and also Apex (for org queries and API calls). We go from one to the other with Navigation Mixin. On the first page, we get a lot of data from Apex ...
user avatar
  • 53
2 votes
0 answers
787 views

Example of LWC Custom Flow Navigation Footer

Does anyone know of a sample LWC that can be used as a custom navigation footer for a Screen Flow? I'm looking through blog posts and forums and am finding all Aura components. Thanks
user avatar
0 votes
1 answer
579 views

What is the correct way to build a URL to a Salesforce record from an external system?

We have multiple external systems that have access to our Salesforce record IDs & we'd like to build links from those external systems to our Salesforce records. What is the correct way to do ...
user avatar
0 votes
2 answers
444 views

Component is undefined in window.addEventListener in Community

I'm not sure if I am missing a syntax but I have the following component and javascript. I'm trying to execute some javascript in the "popstate" callback but for some reason, the "...
user avatar
  • 372
0 votes
0 answers
94 views

Weird Context Behaviour in LWC and Apex

I'm writing a simple 'Merge Lead and Opp' lwc that leverages apex to transfer some custom fields from the lead to the opp before deleting the lead. The apex works fine. The issue is that when the apex ...
user avatar
0 votes
1 answer
35 views

Prevent the double lightning header while navigation to Lightning Web Component

I have a Lightning web component which doesn't fit in the half-sized modal popup screen but I need to open it from the action on the record page. I have found an interesting idea about how this can be ...
user avatar
  • 13.3k
0 votes
1 answer
147 views

Dynamic Enable/Disable lightning page of a lightning app

There is a requirement, lightning app should have two lightning pages - Order and Pending Order, by default Pending Order will be disabled. And Order lightning page will be loaded. but Once user click ...
user avatar
0 votes
1 answer
778 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....
user avatar
  • 3,705
0 votes
1 answer
64 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). ...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
  • 1,014
0 votes
1 answer
797 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. ...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
  • 1,095
2 votes
1 answer
367 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 ...
user avatar
0 votes
1 answer
28 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....
user avatar
3 votes
1 answer
843 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 ...
user avatar
  • 6,360