-
Hi Adam,
Chapter 9 in our book is all about SharePoint and it has some code for using WebDav and SharePoint. There's probably also some snippets if you search around MSDN in the InfoPath labs area.
To submit to SharePoint's SQL directly, you will either have to a) write code, or b) use a third party tool (like our Database Accelerator Web ...
-
Hi Fred,
I have no idea.
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
Hi AbsMing,
You can't do Submit in the OnBeforeChange handler since the XML has not yet been updated with the value. Try moving it to the OnAfterChange handler.
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
Hi,
I have a check box which when the user unchecks. It will set its value to false and then submit this to Access. however,it is not allowing me submit the form due to ''Form cannot be submited: Form does not contain any new data''
Code is as follows:
function msoxd__Activity_Status_attr::OnBeforeChange(eventObj)
{
try {
if ...
-
Hi,
My problem:
I have a sumit/receive webservice when i send data to my submit connection this data are saved succesfully, but after this i try to edit any datafield in infopath form and infopath tell me that i need to recovey my connection for modify my data
why the connection is lost?
thanx
Fred Darwin Villareal
-
Patrick,
I wanted to see if you had any two cents on this. What has been your opinion with the overall integration with SharePoint?
On top of the issues described above, if SharePoint becomes the repository for all of your forms with data, you will eventually run into the issue of getting that data back out for reporting. I have heard there ...
-
Got it :)
Just add the lines below
var query = oDataObject.DOM.selectSingleNode('/dfs:myFields/dfs:queryFields/tns:MyDataObject/tns:myParam);
query.text = myValue;
-
I am trying to pass a parameter to a web service using XDocument.DataObjects
var node = getNodeValue(''/TestDoc/MyNode'');
var oDataObject = XDocument.DataObjects.Item(''MyDataObject'');
oDataObject.DOM.setProperty( ''SelectionNamespaces'', 'xmlns:dfs=''http://schemas.microsoft.com/office/infopath/2003/dataFormSolution'' ' ...
-
Hi Patrick - Thanks for the welcome! It's appreciated!
I've been sucessfull with reading information from a sharepoint list within infopath - Although I'm kind of a bonehead when it comes to programming code... Do you have any resources I can take a look at that will give me some more information on the WebDav idea you gave me? I'd like to ...
-
Here are a couple examples:
Sub msoxd_my_field1_OnValidate(eventObj)
dim errObj
set errObj = eventObj.ReportError(eventObj.site, ''Short err message text'', false, ''long err message'', 1234, ''modal'')
'or if not using returned error object (also default value for 'bstrDetailedErrorMessage' and 'lErrorCode' missing args)
eventObj.ReportError ...