Kofax DM API Manual do Utilizador Página 366

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 528
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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.
Vista de página 365
1 2 ... 361 362 363 364 365 366 367 368 369 370 371 ... 527 528

Comentários a estes Manuais

Sem comentários