How to configure View Rule ?

Hrishabh Kumar
Giga Guru

I have three view for a table "cmdb_ci_business_application".

1) Business Applications (business_applications)

2) Business Application ReadOnly (business_application_readonly)

3) Default view

I want to make "Business Applications" view as default view, so that when any user opens the table they see it in "Business Applications" view.

For that I am using View Rule, below is the snap of the view rule I created for the required purpose.

 

viewRule.PNG

 

I have following questions:

1) What this above view rule does?

2) is it the optimal way to fulfill the above requirement?

3) Please specify if something needs to be modified in the above view rule?

 

 

2 REPLIES 2

Ahmmed Ali
Mega Sage

1) What this above view rule does?

- View rules are configured to force form view based on some condition. It can be either based on condition on target table or you can write script as well.

 

2) is it the optimal way to fulfill the above requirement?

- Yes. If you want to force particular view based on some condition then view rule is one you need to configure.

 

3) Please specify if something needs to be modified in the above view rule?

- This should work to force all users to particular view.

If I could help you with your Query then, please hit the Thumb Icon and mark my answer as Correct!!

Thank you,
Ali

I am not able to see that view by default when I reload or reopen the tables list view. any specific reasons for that?