You need to sign in to do that
Don't have an account?
Indu M
Hi, I want to create a button that takes me to to a different lightning page/tab on click and it should get the data chosen from previous lightning page/tab and display it on the new lightning page/tab
Hi, I want to create a button that takes me to to a new lightning page/tab (open as a new tab in browser) on click and also it should get the data chosen from previous lightning page/tab and display it on the new lightning page/tab.
- What type of page do you want to navigate into? (custom, standard, detail page..etc)
- What specific data you want to get from the previous page from? (record ID, field values..etc)
For an example design, either you could use a custom action that embeds a lightning component that you created. You could use the Lightning interface force:hasRecordId so you could fetch the ID of the previous page and use that to query the values you need on the new page.I Have used gotoURL to navigate to the second tab. I want to know how to build a logic on a button which on click should navigate to second tab and has to pull a row in a table from the first tab and display that in the second tab.