Kofax DM API Manual do Utilizador Página 340

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 528
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 339
320 CHAPTER 5
%CONTENTS_MOVE_TO_TOP
%CONTENTS_MOVE_TO_TOP
Use this token in conjunction with %CONTENTS_DIRECTIVE to move a
folder to the top of the collection.
Syntax
PCDDocObject.SetProperty( _
“%CONTENTS_DIRECTIVE”, _
“%CONTENTS_MOVE_TO_TOP”)
Parameters
Example
'Get the library name.
Dim strFolderLib As String
strFolderLib = InputBox( “Enter the library name.")
'Create the doc object.
pDocObject = CreateObject("PCDClient.PCDDocObject")
'Check for errors.
checkError(pDocObject, "ERROR_CREATECSIOBJECT_PCDDOCOBJECT")
'Set the DM security token.
pDocObject.SetDST(strDST)
'Set the object type.
pDocObject.SetObjectType("ContentItem")
'Set the destination library.
pDocObject.SetProperty("%TARGET_LIBRARY", strFolderLib)
'Identify the object to be moved.
pDocObject.SetProperty("%CONTENTS_ITEM", systemID)
'Set the action.
%CONTENTS_DIRECTIVE The token identifier that indicates that
the program will manipulate the contents
of a folder.
%CONTENTS_MOVE_TO_
TOP
This token indicates that the specified
folder is to be listed first in the folder
collection.
Vista de página 339
1 2 ... 335 336 337 338 339 340 341 342 343 344 345 ... 527 528

Comentários a estes Manuais

Sem comentários