Is it possible to set a Checkbox variable to null by default instead of False?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-18-2020 02:09 PM
Hello,
I have 4 Checkbox variables on a catalog item that are hidden via UI Policies when conditions are met. I'm having an issue where these 4 variables are always shown on the Ticket Fields widget on the portal for every user, even if the variables are hidden on the cat item to the user. SNOW Support has told me that this is because the checkbox variables have a value (of False) set by default and any variable that has a value entered is displayed on the Ticket Fields widget.
Is there a way around this? Is it possible to set the default value to null maybe?
Thanks!
Mike
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-29-2021 10:50 PM
Hi Mark,
I'm also trying to hide checkbox variables on a record producer that are hidden on the form by a catalog ui policy, however since they have a value of "false", they are still showing in the "Ticket Fields" widget.
I went to the [question_answer] table and cleared the Value (removed "false"), however the variable is still showing in the widget.
I believe this is the solution you provided...am I interpreting your solution correctly?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2022 09:25 AM
I'm also facing the same issue, can anyone please give a alternative solution for this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-14-2025 02:45 PM
You have to delete records from 'sc_item_option_mtom' table