Skip to main content
Version: v6.5.0

Retrieve field content

Command Description

Retrieve field content from the specified extraction result

Command Prototype

sRet = Mage.ExtractSinglePageInfo(jsonRet, keyList)

Command parameter

parametermandatorytypedefault valueInstructions
jsonRetTrueexpressionjsonRetThe result returned after executing the 'self training extraction' command
keyListTruecascade[]Select the field name to be obtained from the specified AI Model in cascade mode

Return result

SRet, Assign the result of running the command to this variable.

Run instance

/********************************* Extract Field Content **************************************
Command Prototype:
sRet = Mage.ExtractSinglePageInfo(jsonRet, keyList)
Input Parameters:
jsonRet -- Extraction result. Note: This is the result returned after executing the "Self-Training Extraction" command.
keyList -- Field name. Note: Select the field name to be extracted through cascading selection from the specified AI model.
Output Parameters:
sRet -- Variable to store the output of the function call.
Important Notes:
None
********************************************************************************/
Dim sRet = ""
sRet = Mage.ExtractSinglePageInfo(jsonRet, [])
TracePrint(sRet)