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
Rakshana Cube84Rakshana Cube84 

Record type for different Apps to a user

Hi All,

I need one workaround for one of our clients, that is explained briefly below.

User1 belongs to a customprofile1 and we have two custom apps (CustApp1 ,CustApp2).
No of record types for the Account object is 5.

Requirement :
The User1 logged in the org and will see the CustApp1 which has 2 record types for creating an account. If the User1 changed the App to custApp2, he/she need to see the other 3 record types for creating an account.

It is nothing but User1 should be able to see the record types based on the App changes. Please assist me to get a workaround for this.

Hope anyone can answer this.

Thanks,
Rakshana




 
Prem RPrem R
Hi Rakshana, 

I don't think we can control record type by using app.  If you want to show record type based on App then you have to create visualforce page by overriding New and Edit button on Account object. 

Thanks,
Prem   
Rakshana Cube84Rakshana Cube84
Prem - Thanks for the reply. How to soql to retrieve the current selected App