Kofax DM API Manuel d'utilisateur Page 368

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 528
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 367
1 2 ... 363 364 365 366 367 368 369 370 371 372 373 ... 527 528

Commentaires sur ces manuels

Pas de commentaire