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
Jennifer WilsonJennifer Wilson 

Refreshing record page in Lightning returns user to the object landing page rather than the record page

Hoping someone can help with this issue!
In Lightning, we have a custom object and when a user creates a new record within that object then refreshes their browser they are taken back to the landing page of the object rather the the record that they have just created.
Best Answer chosen by Jennifer Wilson
ShirishaShirisha (Salesforce Developers) 
Hi Jennifer,

Greetings!

I would suggest you to check,if there is any customization on the New button which might be redirecting the user to the landing page.Usually,whenever we create the new record it should redirect the user to new record page.

Please use the lightning inspector to find the lightning component/custom code which is being invoked.

https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/inspector_intro.htm

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri

All Answers

ShirishaShirisha (Salesforce Developers) 
Hi Jennifer,

Greetings!

I would suggest you to check,if there is any customization on the New button which might be redirecting the user to the landing page.Usually,whenever we create the new record it should redirect the user to new record page.

Please use the lightning inspector to find the lightning component/custom code which is being invoked.

https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/inspector_intro.htm

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri
This was selected as the best answer
Jennifer WilsonJennifer Wilson
Thank you so much for your help!