Kofax DM API Uživatelský manuál Strana 366

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 528
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 365
346 CHAPTER 5
%DOCS_LIBRARY_NAME
%DOCS_LIBRARY_NAME
When used with the PCDSearch object, this token retrieves the library
name associated with the document specified in the search. When used
with the
PCDPropertyLists object, it retrieves the library name
associated with the current row of the list.
Syntax
PCDPropertyLists.GetCurrentPropertyName( _
“%DOCS_LIBRARY_NAME”)
PCDSearch.AddReturnProperty( _
“%DOCS_LIBRARY_NAME”)
Parameters
Example
'Create a PCDSearch object.
pRelated = CreateObject("PCDClient.PCDSearch")
'Check for errors.
checkError(pRelated, "ERROR_CREATESEARCH")
'Set the search object.
pRelated.SetSearchObject('RelatedItemsSearch')
'Set the DM security token.
pRelated.SetDST(strDST)
'Add the current library.
pRelated.AddSearchLib(strLibName)
'Set the number of the document to get.
pRelated.AddSearchCriteria("%OBJECT_IDENTIFIER",docnum)
'Define the properties to be returned.
pRelated.AddReturnProperty("DOCNUMBER")
pRelated.AddReturnProperty("%DOCS_LIBRARY_NAME")
%DOCS_LIBRARY_NAME The token identifier that indicates that
the name of the library is to be extracted
from the property list or search results.
Zobrazit stránku 365
1 2 ... 361 362 363 364 365 366 367 368 369 370 371 ... 527 528

Komentáře k této Příručce

Žádné komentáře