I have successfully implemented your Check In/Out UDC Template on a few forms now. I absolultely love it!
I am trying to implement it on another form, but I keep getting this error:
The query cannot be run for the following DataObject: CheckInFile
InfoPath cannot run the specified query.
The SOAP response indicates that an error occurred on the server:
Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.
<detail><errorstring xmlns="Invalid'>http://schemas.microsoft.com/sharepoint/soap/">Invalid URI: The format of the URI could not be determined.</errorstring></detail>
I get the same error when I try to check out as well.
The error seems to appear when The CheckIn or CheckOut fields (in Form Logic Data Source) try to Set Href. I am baffled because I am using the exact same rules to Set Href that were provided with the form and I did copy them into the formula box (from the value box) as described in the Template instructions.
In addition it seems as though my data connection Check-in_out isn't working. It returns nothing. I have verified over and over again that it is connected to the correct library and includes the ID and Check Out Fields but it doesn't return anything, even when the document is checked out.
Any ideas on what I am missing here?