Kofax DM API Manual do Utilizador Página 368

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 528
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 367
348 CHAPTER 5
%DOCUMENT_NUMBER
%DOCUMENT_NUMBER
This token is used to specify the document number of the profiled item
that the application requires.
Syntax
PCDDocObject.SetProperty(“%DOCUMENT_NUMBER”, _
“strDocNum”)
Parameters
Example
'Create an object to use to send the contents of the document.
pPutDoc = CreateObject( "PCDClient.PCDPutDoc.1" )
'Check for errors.
checkError( pPutDoc, "ERROR_CREATEPUTDOC" )
'Set the DM security token.
pPutDoc.SetDST( strDST )
'Constrain the search to the library, document number,
'and version.
pPutDoc.AddSearchCriteria( "%TARGET_LIBRARY", library )
pPutDoc.AddSearchCriteria( "%DOCUMENT_NUMBER", docnum )
pPutDoc.AddSearchCriteria( "%VERSION_ID", version_id )
'Find the document.
pPutDoc.Execute()
'Check for errors.
checkError( pPutDoc, "ERROR_UPLOADACT_PUTDOC" )
Related Items
See the PCDDocObject object.
%DOCUMENT_NUMBER The token identifier indicating that the
document number is identified in this
program statement.
strDocNum The value from the DOCNUMBER
column of the PROFILE table.
Vista de página 367
1 2 ... 363 364 365 366 367 368 369 370 371 372 373 ... 527 528

Comentários a estes Manuais

Sem comentários