-
Have you looked at this article yet?
Add SharePoint List Items with InfoPathhttp://www.infopathdev.com/howto/tutorials/default.aspx?i=7bc880f391b84ea9b3b45c6fbecc07c6
-
Ther is no such method/property in thisXdocument.DOM as setProperty. And this my: prefix doesn't generate an error, any other does.
-
Go into InfoPath.
Press F1 (Help)
In the InfoPath Help task pane, click Table of Contents.
Open InfoPath Developer's Reference
Open InfoPAth Object Model Reference
Open Properties
Click Timeout Property (Index)
See if you can track down what you need from there.
-
Hi Shiva,
This did not work for me. Is XDocument the name of the file? Maybe that is why it's not working? Can I send you the xsn file? That may be faster.
-
Hi Michael,
Can you try below two Xpaths:
/myFields/datafields/d:TOSS/employeeDepartment[../@monthlyExpenses = current()/SelectedemployeeDepartment]
/myFields/datafields/d:TOSS[@monthlyExpenses = current()/SelectedemployeeDepartment]/employeeDepartment
-
I thought my:JobName was the XPath. If not, is there a way to find it?
-
Hi mar,
Can you try once this Xpath, Your Xpath should be like “/my:myFields/my:test”.
If above Xpath also doesn#%92t work then you need to set the property of your DOM by using below code:
thisXDocument.DOM.setProperty( ''SelectionNamespaces'', ''Namespace of your DOM'');
After this you can try to get the node. And you need to check your Xpath ...
-
Hi Joel Allen Welcome to the Forums,
You need to give the field XPath should be correct. Can you check once again XPath of the your field.
-
I need a little help from someone as to if this is possible, and how to do it.
I am creating an order form for users to place an order for software/toner/computers etc. Since i need to adapt this to work around our past paper form, this has made things difficult for me.
The current workflow requires that we fill out a unique IS Request form ...
-
Hello,
I have this code where I am trying to retrieve the field value from my form and I am getting an error. Do you see anything wrong with it? I am new to java script, so please bear with me!
var JobName = XDocument.DOM.selectSingleNode(''my:JobName'').text;
The error says object required.