Who Me Too'd this topic

Showing results for 
Search instead for 
Do you mean 
Contributor
Posts: 25
Registered: ‎06-18-2018
Analyzer API documentation

Hi there,

 

Is there any documentation on how to use the Analyzer API?

 

I've successfully created additional stages and features through the browser console using the following code as a template:

let stage = await Analyzer.createStage("AdditionalLayer", { mode: "EnterpriseConnector", vectorset: "MyVectorSet", datasetName: "MyVectorData"});

var theme = Analyzer.createThemeWidget(stage, "Feature");

Analyzer.addWidget(theme);

stage = Analyzer.findStageModel("AdditionalLayer");

var featureLayer = Analyzer.createFeatureLayer(stage);

Analyzer.addWidget(featureLayer);

I want to create another feature layer in my view now, but I want the data to be retrieved from a Query API call instead of specifying a vector dataset (bold text in code snippet). Do you know if this is possible?

 

Thanks in advance for any help.

 

Kind Regards,

Ryan

Who Me Too'd this topic