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
MMA_FORCEMMA_FORCE 

Select RecordType Page in VisualForce?

Hi:

   Just wondering, how in VisualForce Page or wizard , when an user clicks on the new record button it would:

 1. go to the recordtype page

 2. then once this is selected go to that custom VF page.

Is this possible in VF?

Anyone have an example?

 

Thanks

Shan 

Best Answer chosen by Admin (Salesforce Developers) 
Siddhesh KabeSiddhesh Kabe

Hi,

 

You can create a wizard in SFDC visualforce page where the first page will fill only record type and you can populate other fields using another page or even multiple pages.

 

I do not have exact example for same problem, but this creating a wizard in SFDC might help your purpose.

 

I did modify this function for same object and it works, the trick is... in constructor just check if object is initialized or no..

 

e.g.,

 

if(object==nulll) {

create new object

} else{

Nothing...

}

 

The same controller can be used for the purpose.

 

http://www.salesforce.com/us/developer/docs/pages/index_Left.htm#StartTopic=Content/pages_quick_start_wizard.htm?SearchType=Stem