function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Lalitha Pavani Rallabandi 9Lalitha Pavani Rallabandi 9 

Lightning Component Redirect to the Same Record Page

Hi,
I have created a lightning component which should display/fetch the editable fields of the object from the current record id dynamically.
I added this component to a global action and added the action in the record page layout.
If I place the same button in any object record page it will display the fields dynamically from the current record id using keyprefix of the id.

Below is the image of the fields available in lead object. 

User-added image 
I want this fields to display in a new browser tab with the same record page ID and should happen with other SObject also

Sanjay Bhati 95Sanjay Bhati 95
Hi Lalitha,

Lightning doesn't support the URL redirection.

 
Deepak TodkarDeepak Todkar
Hi Lalitha,
Please check below link if it helps.

https://developer.salesforce.com/docs/component-library/bundle/lightning:navigation/documentation