XDocument.InputParameters Property
InfoPath Developer Reference |
Gets an InputParameters collection containing any input parameters specified using the
/InputParameters
command-line option, or specified using query parameters in a URL. Read-only
Version Information
Version Added: InfoPath 2007
Syntax
expression.InputParameters
expression An expression that returns a XDocument object.
Return Value
InputParameters
Remarks
Input parameters consist of one or more name/value pairs separated by the ampersand (&) character that are specified when a form template is opened from the command line or a batch file using the
/InputParameters
command-line option. Input parameters can also be specified using query parameters when a form template is opened from a URL.
Example
In the following example, an InfoPath form template is opened from the command line using the following syntax: infopath.exe "C:\User Forms\DeptReport.xsn" /InputParameters "Dept=Accounting"
JScript |
---|
|
Remarks
Security Level 2: Can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.