Kofax DM API Manuel d'utilisateur Page 417

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 528
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 416
DM API TOKENS 397
%HAS_SUBFOLDERS
%HAS_SUBFOLDERS
This token is used if a folder has subfolders.
Syntax
PCDPropertyLists.GetPropertyValue( _
“%HAS_SUBFOLDERS”)
Parameters
Usage
If the current folder has subfolders of its own, the %HAS_SUBFOLDERS
token returns the value of “Y”.
Example
'Create a property list object.
Set PropLists = CreateObject("PCDClient.PCDPropertyLists")
'Set the DM security token.
PropLists.SetDST(strDST)
'Set the search type.
PropLists.SetObjectType("ContentsCollection")
'Execute the search.
PropLists.Execute()
'Initialize the row pointer.
PropLists.SetRow(0)
'Check results.
while ( PropLists.NextRow())
hasSubFolder = PropLists.GetPropertyValue("%HAS_SUBFOLDERS")
If( hasSubFolder ) Then
MsgBox( “This property list object has subfolders.”)
Else
MsgBox(“This property list object has no subfolders.”)
End If
PropLists.NextRow
%HAS_SUBFOLDERS The token that identifies whether or not
the current folder has subfolders within
it.
Vue de la page 416
1 2 ... 412 413 414 415 416 417 418 419 420 421 422 ... 527 528

Commentaires sur ces manuels

Pas de commentaire