-
Hi,
This you can see it in MS Visual Studio 2003 and Infopath 2005 by default but not in MS Visual Studio 2005 and Infopath 2007 but we can define it explicitly even in this to call any single node or DOM...
Hope this helps you!
-
Hi
Take a data connection submitting to SharePoint library with 'File name' field insert the field that you want to display as file name. I did in the following way and it worked fine for me
1. Open InfoPath form in design mode
2. Take submit data connection to the share point library
3. Enter share point library name and insert the field that ...
-
Hi
Your are using email dataconnection using data adapter.Data adapter is an object and 'To' is the property of this object which we need to add in the code
You have wrtten this code line as
objEmail = XDocument.DOM.selectSingleNode (''//my:ToField'').text;
in the above code line should be written as
objEmail.To = ...
-
Hi,
Check out the following linkhttp://www.infopathdev.com/forums/topic.asp?TOPIC_ID=1813
Hope this helps you!
-
Ok. Thanks. But where can I get a reference to this object in my case?
-
Hi
I have a form that I want to save in a SharePoint Form Library. The filename is built automatically with fields of the form.
If the form is new, and the filename already exists, a warning should be prompted and the save-action should be interrupted. If the file is not new, it must be saved with the same name.
I already tried to do it by ...
-
Hi,
XDocument contains an XDocument object for each Microsoft Office InfoPath 2003 form that is currently open. The XDocument object represents a form's underlying XML document and can be used to interact with the XML data that a form contains. and this XDocument object can be used in any number of forms and to identify this we alias it as ...
-
Below source of my formcode.cs...
I don`t see any thisXDocument...
I use MS Visual Studio 2005 and Infopath 2007...
Maybe there some another interface? If so, are there some docs about this ???
// Source of formcode.cs
using Microsoft.Office.InfoPath;
using System;
using System.Xml;
using System.Xml.XPath;
using System.Net.Mail;
namespace ...
-
When you create a C# project, InfoPath and Visual Studio add some code by default to formcode.cs that defines this variable.
-
Can someone explain me, what is ''thisXDocument'' in C# code of infopath form. When I create an event handler (for example ''OnLoad'') I don`t see any thisXDocument object !!! Need I create it ???