You need to sign in to do that
Don't have an account?
robertcw777
New Custom Object from VisualForce Page
I have a custom object called Displine__c. I want to create a VF page that has a New button that will open the new record page for this object, and then rerender the page (there is a tableblock below that should be refreshed to show the new record). I couldn't find any way to do this. Help?
Thanks!
All Answers
Hi
try this
inside action method of button write small code
PageReference pg= new pageReference('copt the url of new page of custom object');
pg.setRedirect(true);
return null; (inplace of null give me path where you return of save);
Thanks!