-
You should try qRules - free trial here: http://www.qdabra.com/en/products/download/qRulesTrial.aspx
Then you won't have to write custom code - it has a SaveToPath command that could be used for this.
-
The only way I know to do this would be to use code - and that is going to require your form be full trust, I'd think, since code that writes to the file system in InfoPath is only allowed in full trust forms.
-
In the form data sources, find the QdabraRules data source. Drag it onto your form and preview. Type a simple command in the Command field - like GenerateGuid - and tab out. The command field should clear and you should have a GUID in the result field.
Sometimes people accidentally add code to their form and disable qRules. If your trial has ...
-
So - what happens when you try this form in the browser - you say it doesn't work? I think I understand better what you are trying to do now, so I don't know that changing your data structure would necessarily be the right approach.
-
You should look into Business Connectivity Services, I think: http://technet.microsoft.com/en-us/library/ee661740.aspx
-
Sorry - I've read your post and looked at your sample form and am still unclear as to what you are trying to accomplish. I do think if you want your repeating data to be nested (which is how it appears based on the second table in your form) you should change your data source structure to reflect that.
-
Is this in a browser form or a filler form? qRules will let you save out file attachments to a SharePoint library, so they aren't in the form XML, but that first involves attaching the file to the form. If the form is a filler form, I'd add a browse button and write some code to browse for the current file location and then copy the file ...
-
Hi - your screenshots are not displaying for me - can you just put them in a zip folder and attach under the Options tab in a reply? Thanks!
-
You can hide the controls for the view when you are emailing and replace with expression boxes (calculate values). We often add a field to a secondary XML or the main data source for these purposes - this thread may help you: http://www.infopathdev.com/forums/p/22656/78476.aspx
Namely, this suggestion:
What we do is have two sections in ...
-
Hi - can you check the Event Viewer on the server and find the Qdabra log in the Application logs and see if there are any errors there?