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
Newbie10Newbie10 

VF Pages and record type

Is it possible to assign a record type with a visual force page.

I have this usecase,when i change owner to a particular type of user ,record type is updated. This record type should be associated with a page layout of minimum information. As i cannot take standard mandatory fields from a normal page layout,that wont work In short whenever i see this record,it should have only minimum information and should be associated with this particular minimum page Any ideas?

souvik9086souvik9086

I'm afraid record types can be assigned to standard page layouts not in visualforce pages.

 

If this post is helpful please throw Kudos.If this post solves your problem kindly mark it as solution.

Thanks

AsitM9AsitM9

yes you can apply record type to a visual force page..  Fisrt query the flields for that particular record type using API call( u can use Javascript, Apex haven't that feature) and then make a visualforce using dynamic component with that field list..

 

Let me if you are facing any problem.. 

souvik9086souvik9086

My bad I skipped the issue and wrote that is not possible.

Well you can check this

http://boards.developerforce.com/t5/Visualforce-Development/Record-Types-in-Visualforce/td-p/334191

 

http://boards.developerforce.com/t5/Visualforce-Development/Using-Record-Types-with-Visualforce-Pages/td-p/145220

 

 

If this post is helpful please throw Kudos.If this post solves your problem kindly mark it as solution.

Thanks