How to create a Time Zone field in cmdb form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2023 01:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2023 01:45 AM
Hi @Intakhab Khan ,
You can click on Configure > dictonary in 'timezone' field of sys_user table record and find were the choices are coming from.
inorder to create a new timezone field in cmdb table you can target a sepecific class were you need to create a new field, choose type as select box and in choices select the desired tables same as in sys_user table.
i hope this helps.
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2023 01:46 AM
Create a field of type choice or of type string with a choice option and set sys_user as choice table and time_zone choice field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2023 01:54 AM
Also do that using the CI Class Manager selecting the most basic CI class. E.g. if you want the TZ field to be available to all hardware CIs, select Hardware in the Hierarchy. If you want all CIs to have the TZ field, select Configuration Item in the hierarchy.
E.g:
After you add the new attribute, open the newly created field and set the choice sources:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2023 01:56 AM
If indeed you need the field on all classes, you should select "Configuration Item" in the hierarchy before adding the new attribute (field):