How to hide variable editor conditionally
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-30-2015 11:21 PM
Hi Folks,
I need to hide variable editor based on variable values on RITM form level. Can anyone suggest some inputs on this? Also I need to display variable editor for some other conditions.
Regards,
Ram
- Labels:
-
User Interface (UI)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2017 02:15 PM
Wouldn't it be lot easier to just create a duplicate view without variable editor and redirect the users to that view if the variable editor is not required at all?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-26-2017 01:15 AM
Hi Kalai
For the REQ form we do switch the view as that was the easiest and the best way to do that.
On our RITM records, the client have around 5 main views which in turn have ESS views, so currently about 10 views. As the client moves more teams from their old ticketing system over to ServiceNow (which is being done by a ServiceNow Partner), I can only foresee more views needing to be created to facilitate this - I have suggested using variable / variable sets more wisely to facilitate this, but they have decided against this.
so, right now with 10 views, creating double that to have a VE or not is a pain, adding more will only cause more pain - especially for maintenance going forwards.
Having this option at least alleviates that issue for now - yes, it may bite them on the backside in the future, however, if this is called via a routine as is done now, a single routine fix will fix them all
Cheers

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-26-2017 12:08 PM
Agree. Doesn't make any sense in creating more views for your case!
This is best example of technical debt!