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
MasieMasie 

Record Type Lookup on a Visualforce page

I have installed a mass edit package that does the editing on a visualforce page. I am unable to add the lookup for the record type on this page can someone please assist.  I either add the record type name or the record type id but I cannot add the actuall lookup
Ramu_SFDCRamu_SFDC
Hi, if you are using the standard controller you may use the below syntax to show the record type names as picklists.

<apex:inputField value="{!Account.RecordTypeId}"/>

if you are keen about showing the record type names as lookup fields you may refer to the below post

http://sfdchack.blogspot.in/2013/01/salesforce-custom-lookup-using-apex.html

If you want to show it in some other format, you may use a class to get the record type names as per the code mentioned n the below link

http://mindfiresfdcprofessionals.wordpress.com/tag/recordtype-id-in-salesforce/