force:navigateToSObject’s slideDevName doesn’t support in API Version > 37

If you goto this link

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

slideDevName – Supported for lightning experience for API 37. It is mentioned in API 37 documentation.

But In API 40 it is saying like
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/ref_force_navigateToSObject.htm

This attribute has no effect in Lightning Experience.

Even I tied to use slideDevName = Detail page.

But is not redirecting to the Detail Page tab. It is just redirecting to the first tab in detail page of an object.

Any solution?

Answer

Attribution
Source : Link , Question Author : Ratan Paul , Answer Author : Community

Leave a Comment