-
The last line of your post is unfortunately your problem. Command line arguments are only supported in InfoPath 2003.
See this forum post for some IP2003 workarounds:
http://www.infopathdev.com/forums/post/20383.aspx
-
My biggest recommendation when debugging xpaths that are supposed to work but return null is to put a breakpoint in the debugger and try to run your xpath incrementally, removing pieces from the right until it starts to return something. Then examine the resulting navigator/node/what-have-you in the watch window and try to figure out what is ...
-
From this Blog:
http://blogs.msdn.com/infopath/archive/2007/02/26/passing-data-into-a-form-input-parameters.aspx
I should be able to run a command line like this:
infopath.exe “C:\foo\bar.xml” /InputParameters "baz=1&biz=2"
to pass in parameters to my form.
When I do I get the following ...
-
Hello All,
This is going to sound silly but i can't get the xpath right for this. I want to find the first node whose value is blank. Here is the xpath that i use:
XPathNavigator blankNavigator = formControl1.XmlForm.MainDataSource.CreateNavigator( ).SelectSingleNode( ...
-
The short answer is "no" - the expression box text is not stored in the data and you can only manipulate the data in the forms code.
The long answer is "well, it depends". There are two possible things you can put into an expression box:
- an xpath xpression (as complex as you want)
- plain text
In the first case, you ...
-
Ok, I actually managed to import those 18000 rows directly in a sharepoint list library.
Now my problem is that when i try to use dataconnection towards that list, infopath lists up only 100 of those rows....
I might be in the wrong direction here...
-
I have a drop down list powered by a MOSS data source. This works fine.
How do i set one of these values to be the default value so i don;t always have to select it when filling out the form.
The form is also web only.
Thanks in advance
-
Hello,
Is it possible to retrieve the text entered in an expression box in the forms code?
Thanks in advance
-
Found it myself:
Changed the Xpath expression to
xdXDocument:GetDOM("Approvers")/dfs:myFields/dfs:dataFields/d:LOCALSALES_APPROVERS/@EmployeeEmail[../@EmployeeID = current()/@Approved_by1]
and now it works!
-
Have a look at
http://www.infopathdev.com/files/folders/examples/entry284.aspx
this should help you on your way