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
RahulBorgaonkar@BritsafeRahulBorgaonkar@Britsafe 

Record Link Redirect after My Domain enabled.

Hi,

We recently enabled 'My Domain'.

Now whenever our user clicks on a record link eample New Lead or New contact which come from an email, it redirect it to Login page and not record page directly.

Before 'My Domain' it used to open record page directly.

Could I request what could be reason for the same? It will help a lot.

Best Regards,

Rahul
ShirishaShirisha (Salesforce Developers) 
Hi Rahul,

Greetings!

I would suggest you to check,if the Standard New button of Lead and Contact Object is overriden by any other customization.If yes,then you would need to check,if there is any url which has been redirecting to the new page.

Since,you have enabled the my domain the url will be changed something like this:

https://my domain.salesforce.com 

previously,it used to be like this:

https://na93.salesforce.com 

So,you would need to change the url by replacing the instance name with the domain name.

Reference:https://help.salesforce.com/apex/HTViewSolution?urlname=Updating-Hard-Coded-References-FAQ&language=en_US

Please mark it as best answer if it helps you to fix the issue.

Thank you!

Regards,
Shirisha Pathuri
 
RahulBorgaonkar@BritsafeRahulBorgaonkar@Britsafe
Hi Shrisha,

Thanks for your reply.

All hard coded links are changed to mydomain links now. One more thing is we use SSO One Login. Is that affects this redirection after movig to mydomain?

Please let me know.

Best Regards,

Rahul