• devbuzz
  • NEWBIE
  • 0 Points
  • Member since 2007

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 3
    Replies
We've got some custom objects in Salesforce where we currently require our end users to click a web link on an account to create.  The web link is basically passing information via the URL to fields on the edit screen.  In addition, it enforces that the recordtype is always "New".  The users have access to other recordtypes, which the these new records eventually become, but they always need to start at "New".
 
With the Winter 07 release, I'm looking at the options of either removing the standard New button totally, and potentially overriding the "New" button with similar code as the weblink to pass information to the edit screen.  I would prefer to override the "New" button, since it shows up in the related lists, along with the hover button related lists.
 
However, it appears that when you override the "New" button with an s-control, it going to the recordtype selection screen prior to running the s-control.  There does not appear to be a way to have the "New" button force a recordtype like a weblink can. 
 
Is anyone aware of any way to avoid the recordtype selection screen when overriding the "New" button on an object?  Short of adjusting the profile of the user to only let them create new recordtypes, (which isn't feasible here, since the user later changes the recordtypes) I haven't been able to figure out a way.
 
Thanks!
 
Jon Keener