11-24-2016 06:58 AM
I am using Geospatial Portal SDK (2016 version) to build several custom analyses (based on WMPS) at a single time and then add them to the legend. I build an array of analysis configurations and then use $GP.queries.add to add them to the portal.
When all the queries are added, I developed a callback to add them to the legend, using $GP.legend.add. This is called with the array of analyses ids added, as config parameter. My problem is that these new legend entries appear in the Map Content Panel, Categories tab without any category associated making it confusing to the customer to identify the new legend entries added, as shown in the picture:
Is it possible to add these legend entries inside a new category (folder), with name specified by developer, using Geospatial Portal SDK?
Solved! Go to Solution.