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

  • 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 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”.
Zobrazit stránku 362
1 2 ... 358 359 360 361 362 363 364 365 366 367 368 ... 527 528

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

Žádné komentáře