FRAMES | NO FRAMES
GetCustomLayers Method

Gets IDs and names of all available custom data layers.

Availability: Business Analyst Server 10.0.

IDNamePair[] GetCustomLayers ( 
    string  ActiveDatasetID 
);

Parameter Description
ActiveDatasetID (Optional parameter — can be null).
ID of the active dataset. Type String. Available with Business Analyst Server.

Returns

Variable of type IDNamePair[]

Remarks

Use this method when you want IDs and names of custom data layers available for use in Business Analyst Server SOAP endpoints.

Examples

The example below requests all custom data layers available in the Business Analyst Server core dataset.

C#
// Instantiate the BAServerHelper class to access analysis methods
BAServerHelper baServerHelper = new BAServerHelper();
baServerHelper.ActiveDatasetID = "USA_ESRI"; // Optional parameter
 
IDNamePair[] customLayers = baServerHelper.GetCustomLayers();

See Also