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
Ken sfdc1Ken sfdc1 

Hi How to mask this one picklist value in the record type selection

I want to elimiate this Compass copay visiUser-added imageble when they new button for record type selection.
sharathchandra thukkanisharathchandra thukkani
The user with which you logged in and creating new record for the user profile restrict the access of the 'Compass Copay' record type at profile level.
Ken sfdc1Ken sfdc1
They need access t o the record type I created a custom nutton to directly go to compass copay record but lot of people forgetting and going through the new button which needs to be stopped.
sharathchandra thukkanisharathchandra thukkani
Not able to understand what you r trying to say but I understood provide solution don't work for u so you can override the new button with the visual force page by removing the record type u want..for that u need to create two new pages.. Thanks & Regards Sharath
Ken sfdc1Ken sfdc1
Yes I want to customize the new button with showing all the record types in the picklist except compass copay option or javascript of validation if they select it some thing like this:

if you have any similar codes can you post to me pls.
sharathchandra thukkanisharathchandra thukkani
Sorry kiran I don't any such code ... Thanks & Regards Sharath