Service Flow Manager > SFM Wizards > SFM Wizard Delivery > Replacing S-control SFW with VF Page SFW > Creating the VF Page Wizard for the Custom Object
Creating the VF Page Wizard for the Custom Object
You need to perform the below steps only if the configurator is already run and need to create Visualforce page for the newly created custom object (s):
1. Go to Setup > Build > Develop> Visualforce Pages> New.
2. Use the apex code given below to build the VF page wizard for the Custom Object.
<apex:page standardController="CustomObjectName__c" sidebar="false">
<SVMXC:SFM_Wizard recordId="{!CustomObjectName__c.Id}" />
</apex:page>
Replace CustomObjectName__c with the API name of the custom object for which the SFM wizard Visualforce page needs to be created. Go to the Edit Layout on the object record page, and remove the S-control wizard from the page layout. Add the newly created VF page wizard to the new section and Save.
The newly created VF page wizard should be accessible for the custom object.
Was this helpful?