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
Aravind RAravind R 

Select record type based on logged-in user's region through onclick javascript custom button

I have an object B which is a child of object A.

There are multiple record types for object B and I want to override new button on the related list of B on A object.I want to pre-select record type based on logged-in user's region. How can i achieve? Can I achieve with a custom button with javascript(Cannot afford apex class here)?

For eg., If user is from India, select record type-abc

Please suggest. Thnaks in advance.
cvuyyurucvuyyuru
Did you try this?

http://salesforce.stackexchange.com/questions/11252/how-do-i-get-a-given-profiles-default-recordtype-for-opportunity