You need to sign in to do that
Don't have an account?
henryCH
Especially in salesforce instances with lots of record types and record type dependent picklists, it's essential to follow the existing configuration in Visualforce pages / controllers. So any suggestions or workarounds are greatly appreciated.
Visualforce & Record Types
Hi all,
I have some questions regarding basic features I would have expected in Visualforce/Apex:
- How do you determine which record types are available for the current user?
A list of all available record types for a certain object is pretty useless if you don't know which are atually available for which profile.
- How do you find out which picklist values a user may see depending on the record type of the current record?
Again, a list of all available picklist value is usless unless I do not know which of them may be displayed to the current user.
Especially in salesforce instances with lots of record types and record type dependent picklists, it's essential to follow the existing configuration in Visualforce pages / controllers. So any suggestions or workarounds are greatly appreciated.
Thanks and best regards,
Henry
I could have sworn that the isAvailable() method for the RecordTypeInformation was not in the Developer Guide yesterday, but may be I just missed it. Sorry, I probably should have RTFM.
So any suggestions regarding the picklist values?
Best regards,
Henry