W
Warwick Foster
Hello folks,
Could someone please tell me how to correctly reference an additional script
file?
As a developer I want to include a number of code modules into the scipt
section of an InfoPath form. In reading through the associated documentation
I noted the use of the following XML tags in the manifest.xsf:
<xsf:file name="script2.vbs">
<xsf:fileProperties>
<xsfroperty name="scriptType" type="string"
value="userEvents"></xsfroperty>
</xsf:fileProperties>
</xsf:file>
<xsf:file name="script.vbs">
<xsf:fileProperties>
<xsfroperty name="scriptType" type="string"
value="userEvents"></xsfroperty>
</xsf:fileProperties>
</xsf:file>
and
<xsf:scripts language="vbscript.encode">
<xsf:script src="script.vbs"></xsf:script>
<xsf:script src="script2.vbs"></xsf:script>
</xsf:scripts>
Using both of these tags I hopped to import an additional script file which
I would use to include a library of interchangeable function. But to no
avail. The scripting engine would only allow me access to the first file
defined in the <Files> tag (the contining tag for the two <File> elements.
Could someone please tell me how to correctly reference an additional script
file?
Thank you all for taking the time to get this far down the email.
Could someone please tell me how to correctly reference an additional script
file?
As a developer I want to include a number of code modules into the scipt
section of an InfoPath form. In reading through the associated documentation
I noted the use of the following XML tags in the manifest.xsf:
<xsf:file name="script2.vbs">
<xsf:fileProperties>
<xsfroperty name="scriptType" type="string"
value="userEvents"></xsfroperty>
</xsf:fileProperties>
</xsf:file>
<xsf:file name="script.vbs">
<xsf:fileProperties>
<xsfroperty name="scriptType" type="string"
value="userEvents"></xsfroperty>
</xsf:fileProperties>
</xsf:file>
and
<xsf:scripts language="vbscript.encode">
<xsf:script src="script.vbs"></xsf:script>
<xsf:script src="script2.vbs"></xsf:script>
</xsf:scripts>
Using both of these tags I hopped to import an additional script file which
I would use to include a library of interchangeable function. But to no
avail. The scripting engine would only allow me access to the first file
defined in the <Files> tag (the contining tag for the two <File> elements.
Could someone please tell me how to correctly reference an additional script
file?
Thank you all for taking the time to get this far down the email.