2. How to add a query layer to the map
Create a component using Analysts extensibility API which will perform a query on a table, display the results in left panel and create a new map layer with the results. This is similar in concept to how an end-user query works in SSA but shows how it can be achieved progamatically.
In this example we are going to demonstrate three things:
· How to execute a SQL query that you may have already
· How to display results in left panel & add a new map layer
· How to use SSA store selector to get the results.
See Attachment