Hi,
I am using infopath 2007 and qrules 3.1.
I have a form with several attachments (not repeating)
I want to upload those attachments to a Sharepoint document library as documents, and get the links included in the form. I do not want to submit the form to sharepoint at this stage.
I have been trying the SaveToSharePoint command, but get an error.
Action: SaveToSharePoint. Arguments: url: http://......./ARK/ARKDocumentsAcceptanceTestInformation
xpath: /my:myFields/my:Status/my:FutureStrategyFTUGroup/my:FutureStrategyFileGroup/my:File
. Details: Value does not fall within the expected range.. Stack: at Microsoft.Office.InfoPath.Internal.ApplicationHost.IsDestinationReachable(String destination)
at Qdabra.Tools.RulesLibrary.Commands.VerifyUrlIsAccessible(String url)
at Qdabra.Tools.RulesLibrary.Commands.SaveToSharePoint(String url, String domName, String nodeXPath, String fileName, String overwriteExisting, String copyServiceName)
at Qdabra.Tools.RulesLibrary.Commands.SaveToSharePoint()
at Qdabra.Tools.RulesLibrary.Commands.ExecuteCommand()
The attachment is a word document. I have put the qRulesLink and qRulesFilename attributes on the file.
I have full control of the document library I am trying to add to.... I am still testing at the moment so the form has not been published to sharepoint/dbxl yet.
Could you advise me what else I need to investigarte/check ?
Also
I would like to change the name of the file to ensure uniqueness. Can that be done - while saving? before saving ?
Thank you
Catharine