-
I think this issue you encountered is an InfoPath issue, not a DBXL issue. DBXL doesn't treat a form's code as a separate entity from the rest of the form and passes the whole XSN along as-is. I think you have to actually build the code in VS or VSTA to get the form's DLL to update. Just saving the form will ...
-
It looks like those are all XPath 2.0 functions. InfoPath only supports XPath 1.0 and a few custom functions.
-
After some searching around, it looks like this is a limitation of IPFS. It seems browser-based forms don't allow using XPath with filters (i.e. using brackets []).
Is the Web Service you're calling something that your organization designed, or a third-party service? If there's any way to get the service to return ...
-
Well, that should work. Are you saying it the expression is fine without the [] part, but as soon as you add the [] part it gives that error? Could you paste the exact expressions you're using with and without the [] part (and check the Show XPath checkbox before you do).
-
xdXDocument:GetDOM("GetADUser")/dfs:myFields/dfs:dataFields/tns:GetADUserResponse/tns:GetADUserResult/tns:string[index]
should work. Note that index here is 1-based, not 0-based.
-
Hello Zhen,
I tried using your modified VB version of the code in a form template, but it worked as expected. When I opened an existing form and submitted it, it was added as a new document. Are you saying that even with that code, Submit overwrites the existing document instead of creating a new one? What approach are you using ...
-
[quote user="Jimmy"]
Have you tried using the Default Values dialog? I believe that will do the trick.
[/quote]
----^
-
Have you tried using the Default Values dialog? I believe that will do the trick.
-
Believe it or not, this is the first time I can recall coming across this question. Multi-select listboxes do not seem to be terribly popular.
The reason your form won't open is that you're using VBScript, but the code you're borrowing is written for VB.NET on the InfoPath 2007 object model. Are you and your form users ...
-
Please also have a look at this tutorial, which is the mechanism I've been describing:
http://www.infopathdev.com/files/folders/other_topics/entry56229.aspx