Could not specify 2 views for 2 modules of same table

bcmc01
Kilo Expert

We have a table with list of Records. 2 different groups should see different views based on their roles. As shown in images, the table "posts" has 2 views "My Posts" and "Risk Admin". I created 2 modules with different names under application menu and mentioned view name in   "View Name" field. But when I open them, I could see only one view applied. I can change views in List Control, when I change it applies across the table where ever it's used. It looks like View Name does not have an impact on this. I thought of using ACL to restrict but I could see an error message   "Security constraints prevents you from viewing this", which looks bad in front of customer.   Can anyone help me?

Posts Module:

Screen Shot 2016-10-18 at 11.59.29 AM.png

List Of Records:

Screen Shot 2016-10-18 at 11.59.01 AM.png

Posts(RiskAdmin module) :

Screen Shot 2016-10-18 at 11.58.46 AM.png

1 ACCEPTED SOLUTION

LaurentChicoine
Tera Guru

Try impersonating your target users. As an admin you can select a view and this will apply as a user preference that will bypass the view you did setup in the module. So your users might be alright with the configurations you made.


View solution in original post

9 REPLIES 9

Yes for fuji, advanced check box not there...


LaurentChicoine
Tera Guru

Try impersonating your target users. As an admin you can select a view and this will apply as a user preference that will bypass the view you did setup in the module. So your users might be alright with the configurations you made.


Thanks Laurent and Balaji.


Can you help me on this?



Enforce view on related list


Pranav Bhagat
Kilo Sage

For those who have a similar question.

 

If you want to create 2 different views for 2 different module and for a single table. Then use the field Override User preference in views rules(If not present add it using form layout).

 

Best practice would be to copy the existing view and use the overrides field (If not present add it using form layout) on the view rule table.

 

Example

 

Regards

Pranav