applyActions Method

Summary

Applies server-side actions against the analysis results of a document.

Syntax
TypeScript
JavaScript
applyActions = function( 
   documentId, 
   actionIds, 
   results 
) 
static applyActions( 
   documentId: string, 
   actionIds: string[], 
   results: AnalysisResult[] 
): JQueryPromise<void>; 

Parameters

documentId

The ID of the document to apply the actions to.

actionIds

The IDs corresponding to the ActionSet that should be used.

results

A collection of AnalysisResults that the actions should be applied to.

Return Value

A JQuery Promise object that will resolve successfully when the actions have been applied to the document.

Remarks

Actions are registered in the Document Service. To get a list of available actions, call DocumentAnalyzer.getActionSets.

Requirements

Target Platforms

Help Version 22.0.2023.2.1
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.