Form_profile_defaults, Form_profile_defaults 36, Syntax – Kofax DM API User Manual
Page 387: Parameters usage, Example

DM API T
OKENS
367
%FORM_PROFILE_DEFAULTS
%FORM_PROFILE_DEFAULTS
Use this token to retrieve the default settings for a form.
Syntax
PCDPropertyList.GetPropertyValue( _
“%FORM_PROFILE_DEFAULTS”)
Parameters
Usage
This token returns a two-dimension safe array of property name and
property value pairs. Use the
GetCurrentPropertyName
and
GetCurrentPropertyValue
to iterate through the returned data set
containing the default settings.
Example
'create the doc object
Set pDocObj = CreateObject(“PCDClient.PCDDocObject”)
'Check for errors.
If Not (checkError = 0) Then
'Process the error.
End If
'Set the DM security token.
pDocObj.SetDST(strDST)
'Set the search form.
pDocObj.SetObjectType(“MySearchForm”)
'Set the library.
pDocObj.SetProperty(“%TARGET_LIBRARY”, “MyLib”)
'Set the ID number of the document that is to be fetched.
pDocObj.SetProperty(“%OBJECT_IDENTIFIER”, 1234)
'Get the document.
pDocObj.Fetch()
%FORM_PROFILE_
DEFAULTS
The token identifier that returns the
default settings for a form.