Kofax DM API Manual do Utilizador Página 363

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 528
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 362
DM API TOKENS 343
%DELETE_OPTION
%DELETE_OPTION
This token is used with the SetProperty method that PCDDocObject
supports. It allows deletion of either the content or both the profile and
the content of DM objects.
Syntax
PCDDocObject.SetProperty(“%DELETE_OPTION”, _
strDeleteCmd)
Parameters
Example
pDelObject.SetDST(strDST)
pDelObject.SetObjectType("cyd_defprof")
pDelObject.SetProperty("%TARGET_LIBRARY", library)
pDelObject.SetProperty("%OBJECT_IDENTIFIER", docnum)
If (Request("deleteContent").count>0) _
Or (Request("searchDeleteContent").count>0) Then
pDelObject.SetProperty("%DELETE_OPTION", _
"%DELETE_PHYSICAL_FILES")
Else
pDelObject.SetProperty("%DELETE_OPTION", "%DELETE_ALL")
End If
'Clean up.
pDelObject.Delete()
Related Items
See the PCDDocObject object.
%DELETE_OPTION The token that indicates the content, or
the content and the profile, is to be
deleted from a DM object.
strDeleteCmd The token that indicates the type of
delete operation that is to occur. This
variable must resolve either to
%DELETE_PHYSICAL_FILES or to
%DELETE_ALL”.
Vista de página 362
1 2 ... 358 359 360 361 362 363 364 365 366 367 368 ... 527 528

Comentários a estes Manuais

Sem comentários