-
Hi,
I have created a form and xhen it is submitted, a PDF is automatically generated. I would like to add it to the created mail using the XDocument.UI.ShowMailItem function.
Note that automatically, the XML of the form is attached to this mail. If someone has a tip to remove it, I am also interested in it !!!
Regards,
Franck
-
Go to Form Options and set the security to be automatic. Do you have any data connections defined to your local hard drive? If so, I suggest removing them and adding programmatically. One more method would be to create a form from scratch and test it out ... hope this helps! More soon.
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
Sorry for the delay in replying.
I've tested both options and I'm pleased to report that the first suggestion of using OnContextChange works.
The second suggestion fails when using thisXDocument.View.SelectText because even with the call to thisXDocument.View.ForceUpdate the field isn't yet part of the view.
Thanks for your help in solving ...
-
Patrick, I have just heard that K2 may re-implement thier entire under-pinnings to use WWF. I would hope they do there is another company -http://www.captaris.com/news_and_events/press_releases/09_14_2005.html that seems they will be doing it. From a MS perspective they are providing a new workflow framework, like a WSS framework, which third ...
-
I must be oversimplifying this... Use a regular section (instead of repeating) or even no section at all and put three textboxes beside the three fruits. The textboxes will default to zero and the user can change each one (data validation would be num >= 0). If you play around with the way the textboxes look you could get them to look however ...
-
Hi
I have a recursive section in my form. The controls inside this section in the base section (first level) have conditional formatting on them.
I would have expected each further level of this recursive section would also inherit this conditional formatting but it doesn't appear to.
My problem is that I disable these controls under certain ...
-
Hi there,
I'm developing a form and have come to a problem. Instead a repeating section, I want the users to be only able to enter values into three set fields for the same table.
To give you an example, I have a table where users can enter the number of a particular type of fruit that they'd like to order. I have only three types of fruit. I ...
-
Hello,
Hoping someone could give me a hand please. I have a text box that accepted multiple line of text and when a user press a button it transforms that text into a word document. Everything is working fine except if there is a line break, it just transform into a single line. Any code on how to solve this or information that I should look ...
-
We considered both the digicert option and the msi package option initially and we identified maintenance issues. Boot scripts are currently done by an outsourced compnay because we outsourced our computer equipments and there are simply too many procedures to go through just for employees to use a form. And we don't want to do this for every form ...
-
Sorry Patick could you perhaps direct me on where to implement this try/catch clause? I have placed it in the form's onLoad event but no matter how I wrote it the InfoPath standard error message ''form is using your computer resource'' still pops up.
I have a feeling InfoPath checks for the requireFullTrust attribute before reading my code. This ...