In this article Sam presents us a Visualforce Component that would list the record types of an Object in the platform.
Now following are words from Sam …
Imagine, the Account object has two record types in the force.com platform (Record Types are created by the users based on what these objects represent on their business).
Account Record types:
- Customer
- Partner
The solution as to how you can show this to the user is rather simple, but here I actually took the time to create a re-usable component, so you and I won’t need to rewrite the code next time!
View Component and Component’s Controller Code @ http://salesforcesource.blogspot.com/2009/01/visualforce-component-to-show-object.html
Recent Comments