Scripting in Database Views fields
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2023 03:17 AM
In cmn_location table ..i have buildings and sites..i.e a location can be either site or building ,we have parent field ..for each building site is parent ..in parent field site will be populated.
Now i want to export (buldings and sites) excel from location table with custom labels.
SiteName BuldingName SiteID SiteName
Though i am able to create a database view on location table and give custom labels ...but sitename and building name are referring same field which is name (location table)
unable to figure out how to create a field label referring to name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2023 03:25 AM
HI @indrani Mu
Hope you are using the Plural different for both tables.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2023 05:45 AM
Hello @indrani Mu the column labels for the view you created can be changed by creating a new field label in sys_documentation table
1. go to "System Definition" => Language File
2. create a new entry for the column / field you want to add a new label for
That's it. Here is an annotated example from my PDI
Hope that helps
--
Bala
Please mark this as helpful or a solution as appropriate.