How to include environment field in other tables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 02:28 AM
Hello Team,
We have one field called u_environment in cmdb_ci_hardware table.
We need to include some more tables so that those will also have this u_environment field.
Please help us in achieving this.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 03:12 AM
Hello Samaksh,
Can you help me with the steps?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 03:19 AM
Separately you need to create those fields and you can bring the data using script, But i want to know your usecase in more detailed way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 03:29 AM - edited 07-24-2023 03:33 AM
Let me explain you in detail, below screenshot is the dictionary entry of the field.
If I scroll down, we have a related list call labels. under which 242 tables were included and those all have that the Environment field.
So, I want to include more table to that.
how can I do that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 03:37 AM
there are 2 things here
1) that field is on cmdb_ci_hardware table
2) those many labels got generated possibly because all those are the child tables of cmdb_ci_hardware
So, I want to include more table to that.
how can I do that?
-> you can always add custom label for the child table for the field which is on parent by clicking New button in the related list
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 03:57 AM
Thanks Ankur,
U mean I need to click on New under dictionary entry related list?
Thanks.