function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Amit Singh1989Amit Singh1989 

Record Type issue

Hi friends,

 

I have an object named as "Job" in my org,

3 Record types are there

1)HR

2)IT

3)Sales

 

different page layouts are assigned for different Record types and i am using different different fields and picklist values for record types,

its fine with standard page, but when I override Create New button with vf page it doesnt work. 

Chamil MadusankaChamil Madusanka

Hi Amit,

 

Please refer following link. same scenario here. This will helpful for you.

You need to set the parameter RecordType='{!$CurrentPage.parameters.RecordType}" in the URLFOR to get the record type selected by the user.

 

http://boards.developerforce.com/t5/Visualforce-Development/Override-new-user-s-record-type-selection-not-working/td-p/261967

 

If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.

Amit Singh1989Amit Singh1989

Thanks Chamil,

 

It works fine if we have to select Record Type.

but if a record type is selected by default for profile at that time record type selection page does not appear and we navigate to vf page (CreateNewJob) without parameter recortypeid.