Kofax DM API Manuel d'utilisateur Page 359

  • 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 358
DM API TOKENS 339
%DATA
%DATA
The Execute method that PCDLookup supports returns both data and
metadata. The
%DATA token is used to retrieve the data returned by the
lookup operation.
Syntax
PCDLookup.GetMetaPropertyValue(“%DATA”)
Parameters
Example
'Create the object.
pClient = CreateObject("PCDClient.PCDLookup")
'Set the DM security token.
pClient.SetDST(strDST)
'Set the form.
pClient.SetSearchObject("cyd_defprof")
'Set the lookup ID.
pClient.SetLookupId("DEPL_PACKAGES")
'Set the target property.
pClient.SetTargetProperty("PACKAGE_ID")
'Add search library.
pClient.AddSearchLib("CurrentLibrary")
'Execute the search.
pclient.Execute()
'Get the data.
strPkgID = pClient.GetMetaPropertyValue("%Data")
'Report the data in whatever way is required.
MsgBox(“The name of the Deployment Package Initialization file” _
& “ is: “ & strPkgID)
%DATA The token identifier used to request the
data from a lookup retrieval.
Vue de la page 358
1 2 ... 354 355 356 357 358 359 360 361 362 363 364 ... 527 528

Commentaires sur ces manuels

Pas de commentaire