How to get the names of Sub-Categories using JavaScript API
Content
Hi All,
I've been trying to get the names of selected categories upto the last level and populate those names in the Subject field in Incident workspace.
Pasted the code block below which I tried but this is returning only the first level of Categories.
The XML data output for the above GetNameValues is including only the first level Categories like shown below
================
<?xml version="1.0" encoding="utf-16"?>
<Items Type="Category">
<Item Id="29" Name="Test 1" ParentId="-1" /> --> this is parent Category
<Item Id="31" Name="Test 2" ParentId="-1" /> --> this is parent Category
<Item Id="34" Name="Test 3" ParentId="-1" /> --> this is parent Category
0