Ye Meri Life Hai – Chirag Mehta

Be Good & Do Good!

You are here: Home / 2009 / January / 22 / Salesforce – Visualforce Component to show Object Record Types

Salesforce – Visualforce Component to show Object Record Types

Published by Chirag Mehta on January 22, 2009 | Leave a response

Show Object Record Type

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
In many occasions especially when developing a new wizard you need to first allow the user select what type of record they want to create and then based on that show the correct type of interface to the user.

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

Share this:

  • Pin It
Posted in Salesforce Tagged Salesforce
Cancel Reply
← Previous Next →

Chirag Mehta

View Full Profile →

Recent Comments

  • Honey Bhatnagar on Javascript (jQuery) code to fetch Salesforce Lead Convert Custom Field Mappings (in terms of API Names)
  • Ananth on Field datatype mapping between Oracle/SQL Server and Salesforce
  • Balu on Salesforce : Apex : Covert DateTime to Date
  • partha on Javascript (jQuery) code to fetch Salesforce Lead Convert Custom Field Mappings (in terms of API Names)
  • Rajesh on Javascript (jQuery) code to fetch Salesforce Lead Convert Custom Field Mappings (in terms of API Names)

Top Posts & Pages

  • Salesforce - Stop Recursion of Trigger Execution
  • Salesforce - Steps to Schedule/Reschedule Apex (Apex Scheduler)
  • Salesforce - Full Copy vs Config vs Developer Sandbox
  • Salesforce - Visualforce / Apex Code Samples
  • Salesforce - Hide standard buttons display (Working version)

Facebook Like Box

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 4 other subscribers

Copyright © 2013 Ye Meri Life Hai - Chirag Mehta.

Powered by WordPress and Picturesque.