Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [navigation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
12 views

How to build customizable navigation menu that can be placed in Build your own site?

I'm using Build your own theme template in Experience cloud and i have 6 to 7 conditions based on which users shpuld be able to view different navigation tabs. forceCommunity:navigationMenuBase is ...
Vijay Sai Mahajan's user avatar
1 vote
1 answer
38 views

Populate Lookup Id field in the Navigation Mixing while creating a new record

I have a scenario where I am using Navigation Mixin to create a new record. So during the creation of the new record I want to prepopulate the Lookup record Id in it. But even though I configure the ...
Loki_72's user avatar
  • 11
-1 votes
1 answer
44 views

Redirect from Salesforce to Visualforce Page in Community without logging in

My team is currently working to move a Visualforce page to a Digital Experience as for technical security reasons, we need this to run under our white-labeled domain. We're having a tough time though ...
E.Hirsch's user avatar
0 votes
0 answers
16 views

LWC duplicates instance when switching back lightning record tab

Im using a LWC in case record page, however when I switch the tab from the case record page to any other such as the "Welcome" or "Install a Package" the LWC is still alive. But ...
RProgrammer's user avatar
0 votes
0 answers
13 views

Community Navigation LWC in flow component not working

I am building flow component in lwc that communicate with visualforce page. This flow is used in experience cloud and in some conditions I want to direct the user to home page. but the navigation is ...
Y.M.'s user avatar
  • 1
0 votes
0 answers
32 views

Trying to open filePreview in console app (LWC/Aura)

I'm trying to replicate this functionality, which opens a filePreview in a Standard App to work in a Console App: this[NavigationMixin.Navigate]({ type: 'standard__namedPage', attributes: { ...
Laure Ravier's user avatar
0 votes
2 answers
82 views

Navigation to community page

html <template for:each={linksShortlist} for:item="link"> <li key={link.label} class="nhsuk-grid-column-one-half"> <a ...
blackFire's user avatar
1 vote
1 answer
40 views

Navigation function not working

I have write a lwc component to navigate from sign in page. Navigation function is not working. My code import { LightningElement ,track} from 'lwc'; import doLogin from '@salesforce/apex/...
blackFire's user avatar
-2 votes
1 answer
338 views

LWC navigate to the record detail page after creation

I want to navigate to the record detail page after it has been created using the lightning web component. HTML: <template> <lightning-card title="Create Tender Tracker Support Case&...
Speenzar XaXai's user avatar
0 votes
0 answers
37 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
  • 21
1 vote
1 answer
453 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
  • 192
1 vote
1 answer
1k 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
  • 13
0 votes
1 answer
295 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
190 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
101 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
1 vote
1 answer
475 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
1k 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
880 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
  • 925
2 votes
1 answer
146 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
  • 41
1 vote
1 answer
3k 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
381 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
  • 17k
0 votes
1 answer
2k 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
2k 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,179
0 votes
0 answers
996 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
3k 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
974 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
2k 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
490 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
2 answers
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
651 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
542 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
1k 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
5k 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
444 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,948
0 votes
1 answer
387 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
301 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
5k 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
105 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,352
0 votes
1 answer
2k 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
211 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
1k 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
673 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
298 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
834 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
  • 465
0 votes
0 answers
1k 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
87 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
548 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
39 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
626 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
2 3 4 5