Has document imported
Check whether an asset has been imported into Orange Logic with the Import from a third party utility.
HasDocumentImported: function (_sExternalID, _sExternalService, _fCallbackSuccess, _fCallBackFail)
Request parameter attributes
Attribute | Type | Description | Required |
---|---|---|---|
ExternalID | string | The ID of the asset in the third-party application. | yes |
ExternalService | string | The name of the third-party application. | yes |
Example
var hasImported = false;
Utils.HasDocumentImported(
'external_id',
'AdobeAcrobatSign',
// Success callback function
function (_sResp) {
var resp = JSON.parse(_sResp);
hasImported = resp.Response;
},
// Failure callback function
function (_sResp) {
Log.Error('Failed to check document has imported: ' + _sResp);
}
);
Updated 13 days ago