Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

externalData JavaScript API


Use the clmContext.external Data API to read data from external sources such as BMC AR System forms and BMC Atrium Orchestrator workflow.

 

Summary

Methods

fetchAllowableValues: clmContext.externalData.fetchAllowableValues(string dataSourceNamestring  keyword, object  
filterCriteria, function callback, 
function error_callback)

Methods

fetchAllowableValues

clmContext.externalData.fetchAllowableValues(string dataSourceName, string  keyword, object filterCriteria, function callback,function error_callback)

Retrieves data from external sources BMC AR System forms and BMC Atrium Orchestrator workflow.

Parameters

string

dataSourceName

Name of the data source created in the configuration workspace of administrator portal.

string

keyword

Keyword to be used for filtering the result set.

object

filterCriteria

Filter criteria to be used for passing the context of the request. This is primarily used by BMC Atrium Orchestrator workflow.

filterCriteria should look like this: {"Company":"Calbro Services","Department":"R&D"}

function

callback

The callback parameter should be a function that looks like this:

function(object result) {...};

function

error_callback

The error_callback parameter should be a function that looks like this:

function(object error) {...};

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*