DataConnectorService.generateDataConnector Method

Generates a data connector based on the file resource given. This call will not discover structures, but will auto-select a provider based on the file resource given.
 

Parameters

parentObjectId

Type: String
The ID of the parent object this data connector will reside within.
fileResourceId

Type: String
The ID of the file resource to base this data connector on.

Return Value


Type: jQuery.Promise
Value: dundas.entities.DataConnector
A promise object that is resolved when the call is complete. If successful, the created dundas.entities.DataConnector is returned.