Hello All,
I'm using the savetosharepoint command and want to change the name from the standard name that has "###########################_AttachmentName.<suffix>" to something different. I would like to name file the same name as the form being saved to sharepoint + the AttachmentName.<suffix> | ie; FileName-AttachmentName.<suffix>
Here's what I tried...
concat("SaveToSharePoint /url=https://sharepoint.company.com/departments/legal/contractmgmt/Contract%20Documents /xpath=/my:myFields/my:Attachment2 /name=", strFilename, "-", @qRulesFilename)
I then ran the form and attached two files. My output was:
Filename- <FileName being the name of the saved form name>
So it was close, I got the FileName part but not the "-AttachmentName.<suffix>" & I only got one of the attached files saved in the SharePoint library. Is there something I am missing to make this work correctly?
I also wanted to send a copy of the form with the attachments via email, which I did before Injecting qRules. After I injected qRules the attachments were gone (which I expected) but I was hoping that the links to the files would be in place of the attachments which they were not. Is there a switch I need to use to have the emailed form show the links to the attachments?
Thanks for your help,
-Bob