Skip to content

Instantly share code, notes, and snippets.

@cdeckert
Created November 7, 2012 09:29
Show Gist options
  • Save cdeckert/4030380 to your computer and use it in GitHub Desktop.
Save cdeckert/4030380 to your computer and use it in GitHub Desktop.
# | Setup | Develop | Pages
# VertragNewButton
# -> Clone
# Label << "ObjectName"+ NewButton und Name << Label
# StandardController ersetzen durch API Name von Object
# Save
# | Setup | Create | Objects
# Object Auswählen
# -> Standard Buttons and Links ->Edit New
# -> Override With Visualforce Page
/apex/VertragNewButton?customRecordType=Vertrag__c:Rabattvereinbarung&CF00ND0000003pCIf={!Account.Name}&CF00ND0000003pCIf_lkid={!Account.Id}&retUrl={!Account.Id}
/apex/AktionNewButton?customRecordType=Aktion__c:Vertragsaktion&CF00ND0000003pJqp={!Vertrag__c.Name}&CF00ND0000003pJqp_lkid={!Vertrag__c.Id}&noNameValue=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment