-
Ahhhhhhh I am sorry for the formatting but I saw that there have been user users facing the / similar problems already. Sometimes every line gets duplicated many times and sometimes the above happens. Hope you can still ready it.
-
Yes of course. I usually use it to receive all necessary information regarding a user when he/she opens the form (e.g. name, manager, department...) I usually call the Web Service in the OnLoad event using code and pass the credentials I want to receive as a string delimeted with "-". Actually it was planned to pass a complex type ...
-
So here goes the Web Service
public string[] getUserInfo(string account, string whatToPass, string whatToGet)
{
string delimStr = "-";
char[] delimiter = delimStr.ToCharArray();
string[] credentials = whatToGet.Split(delimiter);
string[] infoResult = new ...
-
Ah true, which version of InfoPath do you use ? If it is 2007 I think you have to use XPathNavigator instead of XDocument if I remember right.
-
You first need to get the DOM of your secondary datasource. You can use
var secondary = XDocument.GetDOM("Name of your secondary datasource"); and also don't forget to set the namespace:
secondary.setProperty("SelectionNamespace", "your namespace string"). now you should be able to ...
-
Hi,
I would do that in code. See example below:
var contentOfTextBoxOne = XDocument.DOM.selectSingleNode("my:myField/my:textBoxOne").text;
var temp = XDocument.DOM.selectSingleNode("my:myField/my:textBoxTwo").text;
var firstCharacter = temp.substring(0,1);
var concatString = contentOfTextBoxOne + firstCharacter;
Does this ...
-
Hmm, I had actaully the same issue. I have never used the control but added it like 3 month ago. Now I just tried to do the print preview and got the same error message you mentioned. I deleted the custom control and repeated your steps to add it again. Now it works. May try this as well to delete it and add it again. In my oppinion you havn't ...
-
You're welcome. Glad I could help !
-
@1: Yes open your infopath form, select controls from the taskpane and then on the very bottom click add or remove custom control. now browse to Microsoft Office Spredsheet 11.0. there you go now you can add the spredsheet into your form.
@2: Yes this is also possible but requires you to write quite a bit of code and make use of the ...
-
put an expression box into your repeating section. click the fx button, click insert function, select position(). there you go. hope this helps