Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Salesforce
  3. Question
Salesforce

How can I add some parameters in the new component in NavigationMixin?

Asked by Darsh K Mar 7, 2023 1.5K views 1 answer
Share

About this question

I am using NavigationMixin to navigate from one lwc to another lwc (app page in a custom tab) like this:

navigateToTabPage() { // Navigate to a specific CustomTab. this[NavigationMixin.Navigate]({ type: 'standard__navItemPage', attributes: { apiName: 'TABNAME' } }); }

How can I add some parameters (for example an Id) and how can I handle this parameters in the new component ?

Your answer

1 Answer

More Salesforce discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Salesforce Blogs

Guides, tips and career advice on Salesforce from JanBask experts.