You need to sign in to do that
Don't have an account?
Huy Nguyen
2 record type in VF page
Hi all,
I have requirement to display 2 recordtype in one page. 2 section for example :client and employee. when I click new button it will display 2 page layout base on the recordtype . Could any one sugggest how to solve this requirement ?
I have requirement to display 2 recordtype in one page. 2 section for example :client and employee. when I click new button it will display 2 page layout base on the recordtype . Could any one sugggest how to solve this requirement ?
Can you clear me one thing, that when you select the picklist and click on button it will redirect to the standrad page or custom page .
View Lobbyist - Dropdown re-renders screen to selected appointment
Add New - takes you to “Add New Employee” and “Add New Client” pages
Edit - Allows the user to edit the Active field against a Client or Employee
You can follow below logic
1. Create two different variable one is for Employee and one is for Clients and on change of your dropdown value query data from the database and assign to corresponding variable.
You can pass hard coded value of record type of you can query them as well.
Does it makes sense?
Thanks,
Himanshu
Salesforce Certified Developer | Administrator | Service Cloud Consultant
P.S. If my answer helps you to solve your problem please mark it as best answer. It will help other to find best answer.