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
Shri RajShri Raj 

Displaying Picklist Values based on RecordType for End Users on VF Page.

There are two record Types. RT1 and RT2. And a Status picklist field based on the recordtype. 

One a VF Page, If a user only has access to RT1 then he/she is able to see only picklist values which are displayed for RT1. 
One a VF Page, If a user only has access to RT2 then he/she is able to see only picklist values which are displayed for RT2.

If i add a permission set for a Users and give access to both the RecortyTypes RT1 & RT2, On the Visualforce Page its displaying all the picklist values and not by the Recordtype of that record. 

Please guide
Shri
James LoghryJames Loghry
If your visualforce page utilizes the standard controller of the same object, then using <apex:inputField value="{!Status__c}" /> (or whatever the api name of your field),  should present the user with the correct options.