-
Hi,
In the above steps which was given by Anuma, put a condition while setting the user name that if user name is blank then set the user name field with the username() function. If you don't put this condition, every time the user name field is displayed with the user name who opened the form.
-
Hi,
The solution in the post http://www.infopathdev.com/forums/p/1075/1794.aspx#1794 works for repeating nodes.
If you want to do sum for different fields, use the + operator. For this follow the below steps.
1. Add a field to the main data source.
2. Go to properties of that field and click on Fx button.
3. Click Insert a field ...
-
Hi, Once verify the xpath. I think it should be like ‘dfs:myFields/dfs:dataFields/d:MilestoneDetails’ instead of ‘myFields/dfs:dataFields/d:MilestoneDetails’
-
Hi, Verify what is the value for ‘XDocument.DOM.selectSingleNode("/my:KickOffRaum")‘ . If it is null then raum.text will throw an error.
-
Hi,
You will get the xpath of a node by following the below steps.
1. Open the infopath form in design mode. 2. Go to View -> Task Pane. Then you will see a window right side of the form.
3. In that click on ...
-
Hi,I am glad to hear that you got it.Here e.Site means the current row on which we are specifically doing the changes. e.Site.SelectSingleNode("../my:DateDebut", NamespaceManager)Here e.Site means the DateFin node of the row changed. So, e.Site.SelectSingleNode("..” , NamespaceManager) will bring the parent node e.Site(in this case ...
-
Hi,
1. Go the properties of second field (in which you want to place the data base value).
2. Click on fx button. Click on ‘Insert a field or Group’. Select the data base field.
3. Click on Filter data and click ...
-
Hi, Use the following code lines to get the site name. Note: This code works if the url is in the form of http://<servername>/<sitename>/.... Ex: http://server3/test/test1/Forms/template.xsn We will get the value ‘test’ if we use the following code lines.
string url = ...
-
Hi, What is the filter that you want to use? Can you provide some more information.
-
Hi,Once replace the var strBatch As String = "<Method ID='1' Cmd='New'>" + "<Field Name='ID'>New</Field>" + "<Field Name='Title'>"1"</Field>" + "<Field ...