- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2018 05:55 AM
Hi all,
I nees to set a default view in the forms, different to the original "default view" proposed OOTB form the system.
I have try to use the View Rule, but when one one of this is activated, the user can't change view..
My idea is to propose my default view at the user,
but don't block her to select another view.
I think is something like user preference, but I don't found how active this ..
Can someone help me ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2018 01:57 AM
Hi,
I have found a solution:
Create a user preference (one for each table) that is composed in this mode:
Description | Default cmdb_xxx view |
Name | cmdb_ci_xxx.view |
System | TRUE |
User | - empty - |
Type | String |
Value | View Name |
With this approach:
- The user will see like default the view indicate in the user preference.
- The user is able to change the view and decide your prefer view.
By
Vincenzo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2018 06:03 AM
Why can't you use default view?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2018 06:43 AM
I think was better for preserve the views to the future instance upgrade.
..but it is a my idea... do you think is better to modifiy the "default view" ?
Regards
Vincenzo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2018 07:10 AM
The stuff that adds risk to upgrades is when you alter the fundamental building blocks, or implement super exotic twists on their intended use. The Default View is meant to provide *exactly* the function you're trying to achieve, so there's no problem in using that for its intended purpose.
If, at some future time, you want to revert back to the form default, the worst case is pulling up a fresh private dev instance and just re-altering the form.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2018 07:33 AM
Ok,
I'm partially agree with you.
My idea is not to write exotic code, but is to use the funtionality offered to the system.
Just for this I try to write here to know if is possibile to use the "User preference", for do it.
When a system receive an upgrade is possible that will be avaiable a new Deafult View, so if I have modify it, I need to chose if conserve my view of upgrade it and came back to the original one.
Instead if I have a new different view I can receive the upgrade of th origianl one, so I can conserve both and have less "warning" in the upgrade.
Regards
Vincenzo