You need to sign in to do that
Don't have an account?

How to open a add new record page when a custom button is click
Hi,
I have a visualforce page with a button 'RCA' and when I click this I need to open a add new record screen for an object 'RCA__c', is it possible, please help
I have a visualforce page with a button 'RCA' and when I click this I need to open a add new record screen for an object 'RCA__c', is it possible, please help
just pass a page refference of the create new record page of object u want to create record
copy the url and pass it in page refference
All Answers
just pass a page refference of the create new record page of object u want to create record
copy the url and pass it in page refference
<apex:commandButton value="Login" action="{!newRecord}"/>
Simply use this in you VF page:
Thanks
Gulshan Raj