Questions tagged [navigation]

The tag has no usage guidance.

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

lwc called in aura component problem

I have an aura component that I share with you its code and which uses another lwc component, the treatment that I want is that when I click on the save of the aura component, the aura component ...
laila19's user avatar
  • 13
1 vote
1 answer
165 views

Routing error on NavigationMixin logout action

I am developing an Experience cloud site with an LWR template. I am trying to create a logout button using the standard code for it: this[NavigationMixin.Navigate]({ type: "comm__loginPage&...
senoron's user avatar
  • 182
0 votes
1 answer
498 views

Pass recordId param in Community Page Navigation Mixin

I am trying to navigate to the Order Summary Detail standard page in a B2B LWR experience site, however the page needs the recordId of the Order Summary in order to be able to show the data. How can I ...
Juan Ge's user avatar
0 votes
0 answers
32 views

Community Cloud Navigation Bars and Audiences - How do they interact?

I'm building a Community implementation and attempting to stick to OOTB functionality as far as is possible. I'd like to assign certain pages to certain audiences. Is there any way for navigation bars ...
Bigears's user avatar
  • 1,091
0 votes
0 answers
148 views

LWC how to jump from a modal to another

I would like to achieve, that from an open Modal in LWC after a radio button selection I can jump to another LWC componant that opens a modal. is there a way to achive this? I have seen some solution ...
mayMay's user avatar
  • 27
0 votes
0 answers
111 views

Experience Builder Navigation Menu Item: Type: "Modal"

What does this "Modal" menu type actually do? The builder points to this documentation page... but it (currently) makes no mention of a Modal property for the navigation menu item Type. The ...
lu_ke____'s user avatar
  • 353
0 votes
0 answers
78 views

Can't navigate to standard_RecordPage on Salesforce Mobile App

I have a custom quick action with the following .cmp <aura:component implements="force:appHostable,force:hasRecordId,force:lightningQuickActionWithoutHeader,lightning:isUrlAddressable,...
molinet's user avatar
  • 835
0 votes
0 answers
31 views

Unable to populate the Contact field values to Opportunity object record

In Salesforce I am facing a problem while creating an Opportunity record from Contact I have set some default values in url using LC but not getting complete value on Opportunity from Contact Ex. ...
Vishnu Nishadraj's user avatar
0 votes
0 answers
270 views

"standard__webPage" redirects to the same subTab instead of opening a new one for each request

I have a use case where we are use NavigationMixin API to redirect to a new subTab. We are using "standard__webPage" for achieving the same. The issue which I'm facing is that its opening ...
Shivakant Singh's user avatar
0 votes
1 answer
100 views

page number in vf page

hi all i need pagination in vf page. i've tried increase and reduce currentPage number in navigation button but it didn't work. here my code: controller: public PageReference Next() { ...
merve-bulut's user avatar
0 votes
1 answer
138 views

redirection don't work correctly (Navigation)

My component is in the record page of MyObj__c . MyObj__c has a master detail with Account I tried to navigate from MyObj__c to the account assorted bu I always get an error Error : {"status&...
Salesforce dev98908's user avatar
1 vote
1 answer
79 views

Navigation don't work correctly

With this code, I want the moment I click on the button the user moves to the account object (redirection from obj__c to account_c). obj__c has a Master-Detail relation with the Account . When ...
Salesforce dev98908's user avatar
0 votes
0 answers
26 views

Overriding EDIT Button: Backdrop different because of different URL

OOTB, when I click Edit button on a Record page, a modal opens, but still you can see the record details in the backdrop. Also the URL changes FROM <DOMAIN>/lightning/r/Engage__c/...
nica's user avatar
  • 1,338
1 vote
1 answer
246 views

Cannot See Macros and Quick Text in Console App's Navigation Items

I've created a Console App. I need to add Macro and Quick Text to the Navigation items. I've added them from the App's setting from App Manager. But I cannot see them when I open navigation drop down ...
vv99's user avatar
  • 21
0 votes
1 answer
736 views

NavigationMixin.Navigate how to handle onsuccess function?

currently I need some specific logic which requires using NavigationMixin onsuccess event. I spent some time and can’t find any info if it is possible at all Here is my sample of code this[...
Oleksandr Hladun's user avatar
1 vote
2 answers
514 views

Call function on lightning-navigation standard__recordPage edit pop-up close

I have a custom lwc that calls an edit pop-up for Event records like this: this[NavigationMixin.Navigate]({ type: "standard__recordPage", attributes: { recordId: ...
molinet's user avatar
  • 835
2 votes
1 answer
115 views

Account Detail Page is not Refresh

I created a popup model using LWC when user click on a button in account detail Page in service console. .After model is closed service console detail page is not refresh(same page need to refresh). I ...
Basu's user avatar
  • 39
1 vote
1 answer
2k views

LWC - NavigationMixin Passing state

I am trying to call an LWC and pass the Id. However the second LWC variable is undefined. First LWC: this[NavigationMixin.Navigate]({ type: 'standard__navItemPage', attributes: ...
some guy's user avatar
  • 141
0 votes
1 answer
285 views

Redirect from visualforce apex controller to lightning page

I would like to initiate OAuth web flow from a button on LWC in Lightning Experience, after redirect on VF page and from VF page back to the original Lightning Page from which the user started. The ...
Patlatus's user avatar
  • 15.8k
0 votes
1 answer
1k views

Default Navigation Bar Tabs by profile

I want to set the Default Tabs for one single app on a Profile Basis. Ex: Sales Reps would have: Accounts, Contacts, Opportunities, Tasks Sales Exec would have: Account, Contacts, Reports Sales ...
soapy's user avatar
  • 1
2 votes
1 answer
934 views

LWC Content Document preview is not working

I'm having issues with opening a Content Document preview in my LWC component. Here is my code: HTML: <template> <template if:true={files}> <ul> <template ...
user569925's user avatar
  • 1,147
0 votes
0 answers
869 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 ...
Salesforce Junior Dev's user avatar
3 votes
2 answers
2k 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 ...
some guy's user avatar
  • 141
0 votes
1 answer
801 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 ...
cmptrer's user avatar
  • 103
1 vote
1 answer
1k 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> <...
Rajdeep Baghel's user avatar
2 votes
1 answer
340 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 ...
Flight64's user avatar
0 votes
1 answer
2k 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 ...
vitta's user avatar
  • 1
0 votes
1 answer
505 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 ...
Vasu Gupta's user avatar
0 votes
2 answers
506 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. ...
Benton's user avatar
  • 51
0 votes
1 answer
2k 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 ...
Benton's user avatar
  • 51
1 vote
1 answer
863 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 ...
Tristan Berger's user avatar
4 votes
2 answers
3k 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 &...
Raja's user avatar
  • 53
0 votes
1 answer
321 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=&...
Damecek's user avatar
  • 1,873
0 votes
1 answer
285 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 ...
babyYoda's user avatar
1 vote
0 answers
231 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 ...
babyYoda's user avatar
0 votes
1 answer
4k 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 ...
joacoiudica's user avatar
0 votes
0 answers
87 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 ...
compski's user avatar
  • 1,227
0 votes
1 answer
1k 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: '...
Rishabh's user avatar
0 votes
1 answer
161 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 ...
Vin05's user avatar
  • 111
4 votes
0 answers
854 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. ...
Tobi's user avatar
  • 41
0 votes
1 answer
526 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 ...
joacoiudica's user avatar
0 votes
0 answers
269 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 ...
Valentin Romanov's user avatar
3 votes
1 answer
731 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}&...
Jay Rizzi's user avatar
  • 453
0 votes
0 answers
857 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' ...
Bruce Wang's user avatar
0 votes
1 answer
69 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?? ...
Devesh's user avatar
  • 1
1 vote
1 answer
471 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 ...
joacoiudica's user avatar
0 votes
0 answers
37 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' ...
joacoiudica's user avatar
0 votes
1 answer
460 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="...
joacoiudica's user avatar
1 vote
0 answers
478 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 ...
TEo's user avatar
  • 63
2 votes
0 answers
1k 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
Maureen Cassidy's user avatar

1
2 3 4 5