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

record types

  I am having 10 recordtypes on my object case. I have a vf page i need to add this vfpage to only one recordtype, i tried but its not allowing...

  suppose i have a case object on that if we want to crete a case we will click the new button, this `"new" button iwas overrided with my vfpage its working fine but this vfpage is applying to all my record types but i need for only one record type...
   waiting for someones reply.
Phillip SouthernPhillip Southern
Dasari, to accomplish this you'll need an additional visualforce page and apex class...they will act as a redirect "middle man".  So you will override the New button with this new VF page (which the apex class is the controller)...and when you override the button you do want to let the user select the recordtype.  Then when your VF page loads, in the apex class you just need to monitor which recordtype was selected...and then do page redirects as needed.
thanks, Phillip