6

I'm creating a url button to avoid the record type selection:

enter image description here

This is the code: {!URLFOR($Action.Case.NewCase ,null ,[RecordType="01220000000Q3cy"])}

The problem is that i'm still getting the page record type selection.

Could you help me ?

Thanks in advantage for any advice.

1 Answer 1

3

Use the following syntax:

{!URLFOR($Action.Case.NewCase, null, [p3='012............', save=1], true)}

This selects the record type to use (p3=record-type-id), and continues to the edit page (save=1).

5
  • 1
    Is there any documentation available for all of the URL parameters?
    – Mike Chale
    Nov 20, 2013 at 20:35
  • No, but I once compiled a list of useful ones: boards.developerforce.com/t5/forums/forumtopicprintpage/…
    – sfdcfox
    Nov 20, 2013 at 23:47
  • It is not working,it still go to RecordType page selection but with the prepopulated value.Can we skip and directly go to the Case page with selected recordType?
    – unidha
    Oct 30, 2014 at 8:22
  • @unidha currently it looks like you must avoid $Action.Case.NewCase and go straight to the hack: URLFOR('/500/e', null, ['RecordType'='012000000000000']) Sep 6, 2016 at 8:50
  • 1
    @sfdcfox I can't get the Save=1 parameter to do anything. I can tell that the correct record type is being selected using the p3 value but I still land on the record type selection page. Any ideas why this would be? I have a new question open for my version of this issue.
    – Matt M
    Nov 17, 2016 at 15:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.