-
Hi Erinselena,
Glad to hear you got it working. Thanks for posting your answer here.
-
Hi Bwilbourne,
In onLoad, we don't have a property called Name in view object when the form is loading. Whichever we set the by default view in InfoPath that view is loaded by defualtly. But we can the view name in ''OnSwitchView'' event. You can write below the code in ''OnSwitchView'' event.
var viewName = thisXDocument.View.Name;
-
Hi Checco,
Check out this link,http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=3339
-
Hi Alexander Ekzarov,
In On After change event we don#%92t have an option called ‘Switch View#%92. Which ever we don#%92t have this options in rules for on after change event. This not supported to invalid context for object model in InfoPath form. We can switch view by clicking on button.
-
Hi Edove,
//Get the node
IXMLDOMNode node = thisXDocument.DOM.selectSingleNode(''Xpath of your repeating node'');
//Clone node
IXMLDOMNode cloneNode = node.cloneNode(true);
//Append the clone node to repeating node
node .appendChild(cloneNode);
Note: Above code in C#
-
Hi Gbertrand Welcome to the Forums,
Your hyperlink ‘Link to#%92 value is hard coded or you are getting this value from other node? If you are hard coded then we do not have a chance to get that value. If those values are getting from some other node then you can easily get that node value.
-
Hi Shaun Nieves,
Whenever we are trying set the one value to node it should be format of string only. Before you are setting the value, you have to convert it into string then try to set this value.
-
Hi Erinselena,
You have to use below the code before adding the child node.
For example your chileNode value like:
//childNode = “<ChildNode attribute=''1''> </ChildNode>”;
IXMLDOMNode newChildNode = childNode.cloneNode(false);
This will give the new child node with no data (without space).
-
Hi JL,
You have to change your folder path as below and try to save the file. Once again check below folder path is available or not in your system.
txtPath = ''T:\Shared Folder\Emp InfoPath Forms\''
-
Hi Jason,
According to your error in InfoPath form any of the rules is wrong or not application to your application. Which ever you are trying to submit the form to the SharePoint document library for that you don#%92t have permissions. We have to give exact permissions to submit the form to that particular SharePoint library.
That works too! ...