You need to sign in to do that
Don't have an account?
Amit S
Task Record Type Overriding defaulting to user's default Record Type
Hi All,
I need to override the Task PageLayouts based on the Profile and Record Type.
But everytime Task Record is saved, Type of the record defaults to the default record type of the Profile of the user instead of redirecting it to the HCP record type.
Is there a way to override it? in Logs it show the correct 2nd Record Type(HCP) to be present on the record initially once the Page is redirected to Create the record.
But on Saving the record, its record type automatically gets changed to the default record type on the User Profile.
I have created two VF Pages and Extension Controller.
Has someone faced a similar issue and can you help me with this problem.
I need to override the Task PageLayouts based on the Profile and Record Type.
But everytime Task Record is saved, Type of the record defaults to the default record type of the Profile of the user instead of redirecting it to the HCP record type.
Is there a way to override it? in Logs it show the correct 2nd Record Type(HCP) to be present on the record initially once the Page is redirected to Create the record.
But on Saving the record, its record type automatically gets changed to the default record type on the User Profile.
I have created two VF Pages and Extension Controller.
Has someone faced a similar issue and can you help me with this problem.
I updated the Record Type just before the insert and it resolved the issue.
All Answers
I updated the Record Type just before the insert and it resolved the issue.