$sp.gettaxonomies()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2023 05:49 PM
Can you tell me what is $sp.gettaxonomies() method?
that cause problem when open two different ESC windows that has different taxonomies.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2023 09:08 PM
Hi @Jaeik Lee ,
Check if you have different taxonomies linked to your ESC portals.
Go to All> Portals>Select your esc portal and check the related list for the taxonomy attached.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2023 09:10 PM
Hi @Jaeik Lee ,
I trust you are doing great.
The $sp.gettaxonomies() method in ServiceNow is used to retrieve the taxonomies associated with a record or a table. Taxonomies are hierarchical classifications used to categorize records in a structured manner.
The problem you're facing when opening two different ESC (Enterprise Service Catalog) windows with different taxonomies could be due to a conflict in the taxonomies being used or how they are being handled. To address this issue, you can consider the following solution:
- Identify the specific taxonomies causing the problem in each ESC window.
- Analyze the differences between these taxonomies and determine if any conflicts exist.
- Modify the code responsible for opening the ESC windows to handle the taxonomies separately.
- Update the code to ensure that each ESC window uses the appropriate taxonomy when retrieving and displaying data.
Was this answer helpful?
Please consider marking it correct or helpful.
Your feedback helps us improve!
Thank you!
Regards,
Amit Gujrathi