You searched for the word(s): 2
-
Hello,
Here is the code you have to write in your onLaod function,
IXMLDOMDocument2 sampleDataDom = (IXMLDOMDocument2)thisXDocument.CreateDOM();
sampleDataDom.async = false;
sampleDataDom.validateOnParse = false;
sampleDataDom.setProperty("SelectionNamespaces", "namespace of your ...
-
Hello,
We can change the font size from ‘pt' to ‘em' in directly view1.xsl file. Open your view1.xsl file in editor mode and change from FONT-SIZE: 10pt; to FONT-SIZE: 2em; and save the file open InfoPath in design mode.
Be sure to backup version of the template in case something goes wrong while changing in view1.xsl
-
Hi Dkenne,
I think you are using secondary data source for query. For secondary data source all the options in properties window will be disabled.
The "repeating" check box option will be enabled for field or group which is in Main data source.
-
Hello,
We can't do the directly assigning the view name as field contains value in InfoPath. While creating the view we have to give the view name and if we want to change the view name then we have to modify it in design mode only.
We can shift the view based on field value using code.
XDocument.View.SwitchView("View Name");
In ...
-
Hello Feesh,
Check out this link,
http://support.microsoft.com/kb/892730
-
Hi,
InfoPath relies on some Internet Explorer settings. IE has a setting in the print options that is off by default which determines whether to print background shades and background images. Turn that on, and you'll get it in IP too.
There is a setting in both Designer and "Fill out a Form" modes located in TOOLS >> ...
-
Well -- I'm afraid it took me quite a bit longer to get back to this, but so that it is posted somewhere, here is a sample that gets sampledata.xml using the 2007 object model:
XPathDocument sampleData = new XPathDocument(this.Template.OpenFileFromPackage("sampledata.xml"));
XPathNavigator newGroup = ...
-
Yes -- your form will need to be full trust. Try setting to full trust and see what happens.... Sadly, full trust forms have their own set of challenges, see this article for more information.
-
Hi
I used your email to code, as we use Lotus Notes and not Outlook. When I submit the InfoPath form, I get the following error message:
System.Security.SecurityException
Request for the permission of type 'System.Net.Mail.SmtpPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
at ...
-
Fantastic -- glad you were able to translate the xpath to your data source!