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
lilian.moncadelilian.moncade 

Split screen for record creation

Hello,

 

I have an object with a lot of fields, and i wanted to know if it is possible to create a multi step record creation.

For example, the section Information in a first screen, then a button "next" with a new screen with another section.

 

Thx.

Best Answer chosen by Admin (Salesforce Developers) 
NiketNiket

Below link may help you :

 

http://www.salesforce.com/us/developer/docs/pages/Content/pages_quick_start_wizard.htm

 

Please let me know if it helps or not ?

 

Please mark it as the solution if it answers your question so that others can also take benifit. 

All Answers

NiketNiket

Below link may help you :

 

http://www.salesforce.com/us/developer/docs/pages/Content/pages_quick_start_wizard.htm

 

Please let me know if it helps or not ?

 

Please mark it as the solution if it answers your question so that others can also take benifit. 

This was selected as the best answer
lilian.moncadelilian.moncade

Thx Niket,

The link you give me was the solution i founded.

 

 

NiketNiket

Sounds great that you are able to fulfill your requirement.

lilian.moncadelilian.moncade

Hello,

 

There is new thing i don't understand with the wizard.

It works perfectly when i write the name of the page in the url, but if i want to throw the wizard when i want to create a new object ?

I tried to override the new button of my object with my page, but the system does not see my page, he cannot give me the choice to select it.

So, i checked the security settings of my page, and it is available for my profile.

 

Now i dont' understand why i cannot override the new button with my page, so i cannot use my new wizard.

 

NiketNiket

are you using standard controller in vf page as the same object ??

lilian.moncadelilian.moncade

I built a new controller, following the code on the link you gave me.

Should i create an extension of the standard controller ?

Here is the beginning of my controller, and vf page page :

 

Controller :

public class NewObjectifController {
    Objectif__c objectif;

 

...

VF page :

<apex:page controller="NewObjectifController">
  <script>

...

 

 

 

NiketNiket

If you want to override new button or any other standard button with vf page, you need to use that object as standard controller in vf page and use the class as extension.

lilian.moncadelilian.moncade

That's it.

Perfect. I seriously appreciate your help.

NiketNiket

Happy to help :)