I have a Publication object. Publications might have a very long names, longer than 80 characters. That is why Name is suppose to be populated from workflow field update, using substring from custom text field.
How can I override New button on the publication tab:
I created the following custom button, but I do not know how to replace new button with it.
I read many posts online, but could not figure solution for my case.
EDIT I created a visual page which works with custom fields, but when I try to use ID of Name field it does not prepopulate the Name field. Do I retrieve the wrong ID, or should I use some other parameter?
URL after I click on Name field in Setup:
VF page script:
<apex:page standardController="Publication__c"> <script> window.top.location.href = '/a0f/e?nooverride=1&01Ia0000002Rgjl=Your+Default+Value'; </script> </apex:page>
Similar question and solution: