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
sumit dsumit d 

Show only few record types in recordtypes picklist

Hi All,
        i have 15 record types. and i created a Visualforce page in which i am taking all record types in the Record type picklist(caseObj.RecordTypeId).
        now my requirement is to take only few record type in the  RecordType picklist in my visualforce Page.
how to do this?User-added image
Adilson Arcoverde JrAdilson Arcoverde Jr
Hi Sumit,

What do you mean by "take only few record types"? Is there any rule to limit these RTs?

How are you retrieving your RTs? By SOQL or by Case.SObjectType.getDescribe().getRecordTypeInfosByName()?

Regards.