Business Case: I am trying to insert PDF files into a shared directory with very specific naming requirments.
I am using InfoPath I can prompt the users to attach a file and then provide the required information and then form a string for the new file name.
I am trying to use the SaveToPath command see below:
concat("SaveToPath /path=\\{servername}\{folder}\{folder}\{folder}\",/my:myFields/my:File/@my:FileName, " /dsname=/my:myFields/my:File /overwrite=yes")
the "@my:FileName" is the derived filename string. and the "my:File" is the attached file
I keep gettign the following error. So i am not sure I hav gotten it just right.
"The specified secondary DOM is not present."
Any guidance here would be great