-
What you are trying to do will probably require that your form be full trust. Then you will need to generate in code the content of the text file, access the file system via code, create a new text file, stuff your string into it, and close the file. You should be able to find information on the process of creating a new text file via javascript ...
-
I don't know that this is possible using InfoPath. The only things they make available to you is the standard header bits: To/Cc/Bcc/Subject/Intro.
-
Go back to having two connections, one for each code choice. Then place two drop-down boxes in the view, each bound to the same node. Set conditional formatting on each one to hide if the code is not their code. The user will only see 1 drop-down and it will be populated with the right options based on the code (because the other will be hidden).
-
Sounds like a bug. If you can repro this consistently, please write up detailed step-by-step repro instructions and we can make sure they get forwarded to the right people at Microsoft for their review.
-
InfoPath is picky about the kind of structures it will submit to when you use your main DOM as a DB connection. For example, it doesn't like Many-to-One relationships, while One-to-Many are okay. You are likely stuck in one of those unsupported scenarios. You can: Restructure to where the relationships are acceptable, create a WS that does ...
-
You will need an API for creating a ZIP file... which, there might be a free one, or you might have to pay for one.
Once you've created the ZIP in memory, convert it to a BASE64 string, and set that BASE64 string as the value of the node to which the attachment control is bound.
-
To Set your uploaded form to your form libary:
Navigate IE to: http://machinename/_admin/ManageFormTemplates.aspx
After your form template is finished installing, Select Activate To A Site Collection from your form template name drop-down.
Select Change Site Location from the Site Collection drop-down.
Select Change Web Application from the ...
-
Unfortunately, InfoPath is very picky about the formatting of a hyperlink . . . it loves to add "http://" if you don't have something like that in there yourself.
There is a workaround -- once you've got links in place, extract the form template files into a folder, then use notepad to edit the view .XSL files and manually fix ...
-
Are you conducting your tests using Preview, or by opening a published form? I believe that Preview responds differently to this.
One option is to call a function in your Loading code that does the figuring and assigning of a role. This way there is no question.
-