-
Hi,
Your code will save with your xsn file when you publish the form to sharepoint and all your code will work same as your local machine. Can you verify below link to publish the form to sharepoint server.
http://msdn.microsoft.com/en-us/library/bb267334.aspx
-
In C#, DataSources["nameOfTheDataSource"].CreateNavigator() will give you an XPath navigator for the secondary data source of your choosing.
-
Just like in the post directly above yours, you have to check that the values are not blank before you try to access them. Please add the following method to your code:
/// <summary>
/// Returns the value of the specified node, or an empty string if the object is null
/// </summary>
/// <param ...
-
I'm trying to follow the example from http://www.bizsupportonline.net/infopath2007/copy-rows-from-sharepoint-list-to-main-data-source.htm as well. I'm using C# for my code.
I'm running in to the same issue in regards to blank fields. Some of the fields in my Sharepoint list are blank and it stops when it hits the ...
-
If d:TimeSheetDetail is the repeating field/group, then I have a feeling you should use:
var iField = eventObj.Source.selectSingleNode("@In1");
and so on.
-
How do I retrieve the value of a textbox on my form in a web service? I can't use Xdocument in the web service.
Thanks,
Igor
-
Hi Folks
Well, I am a newbie to all of this. I only opened Infopath for the first time yesterday and I think I have done okay so far, but here is my problem...
I have created a "IT Services Request" form in Infopath and placed a "Submit" button at the bottom. The button submits to SharePoint as well as ...
-
Your command looks right. I know one of our testers uses Vista, so that shouldn't be the problem. Try a different qRules command in your form -- let's make sure the .dll is still there. Or try using SortTabl instead of SortTable -- the misspelling of the command should trigger an error, which will let us know that qRules is still in your ...
-
Actually, I haven't run into this before. I've build database bound forms with multiple views and have not had an error on submit. You aren't trying to modify the primary key in any of your rules are you? Could some other app change the data in the DB between the time you opened the form and the time where you tried to submit?
-
Hi -- do you mean a CSV of the data in the form? I imagine it can be done in code... but I'd also guess the form would end up having to be full trust to write a file to the local machine....