-
I'm trying to find out how to call Infopath from within a V.B.Net app, and have it print a given Infopath .xml document. Can anyone help? Thanks.
-
Thank you very much for your reply, Greg. I appreciate your help, but...
I inserted the code you provided, and I'm still getting the same results as I was before - only the first row in the repeating table is being compared.
Here's the new SetUserRole method:
public void SetUserRole(string UserAlias)
{
IXMLDOMNode UserNode = ...
-
If your forms have a very specific pattern of transition, then you might be able o program for that. So if you don't find it in the main list, then you would have your code look for it in the most likely subfolder. I'm not sure exactly what would need to be done, but you should be able to do so.
If the form transition is more random, then this ...
-
Try creating a new blank form and publishing it to the same SharePoint and see if it has the same problem.
Greg Collins [InfoPath MVP]
InfoPath Dev
-
I hope you have a backup copy that you can run a comparison against your recent changes.
Barring that, my experiene with this error seems to usually come from something being wrong in the manifest.xsf file. As for what that could be I cannot tell you.
Comparing against a previous version is all I can suggest to do. We try to always keep a ZIP ...
-
You need to build the string first. Use selectNodes() to get the list of values and then step through them and build up a string with all of the values in it. Then assign that string to oEmail.To.
Greg Collins [InfoPath MVP]
InfoPath Dev
-
You, unfortunately, are not allowed to switch views inside of the OnSwitchView event handler. I have wanted to do this many times, but it is not allowed. You can switch views during OnLoad and during OnClick (and I think also OnAfterChange -- but I'm not sure).
Outside of those, you will not be able to do this.
-
The easiest fix is to make sure that both the Main DOM and 2DS have the same field name (including the same namespace). Even if both were named ''Text'' if one was ''Text'' and the other was ''my:Text'' replaceChild would still not work because they have to be the same fully qualified name (i.e. the namespace must match too).
But you don't always ...
-
vt_asparagus
Forget sharepoint, I found a way to through the SQL datadase to hook to. create a data connection the the sql server and in the tables get userdata you'll need to get into the sql tables and show all rows to find the coloum that the data is in you want to link to the feild.
A filter will need to be created in the field to show only ...
-
This is because you are using select''SINGLE''node... which does just that. It selects a ''single'' node... typically the first one.
One way around that is to use a filter in your XPath, similar to this:
IXMLDOMNode User = ConfigForm.selectSingleNode(''/my:Config/my:Administrators/my:Administrator/my:Admin-Alias[. = ''' + UserAlias + ...