Hi All,
I have some code I hope someone may be able to help me with. What I'm trying to achieve is to convert an Infopaths XML based form into a Word 2007 document using an embedded XSLT file to do the transformation.
Code:
XPathNavigator nav = MainDataSource.CreateNavigator();
string fieldProject = nav.SelectSingleNode("//my:Project"...
I have wrote code for getting dropdown based value from Sharepoint list.
But it give me error Operation is not valid due to the current state of the object when i set it to textbox.
Please take look of my code.
public void group2_Validating(object sender, XmlValidatingEventArgs e)
{
// Write your code here.
...
I am writing tests to test Infopath Forms to open in Form Control, my test method is as
[TestMethod]
public void Validate_OpenInfopathInFormControl()
{
Helper.OpenForm();
//Other Code
}
I have written Helper class as
public class Helper
{
public static void OpenForm()
{
//Code to Open Form
}
}
Bu...
I have a working form that creates a new item in a SharePoint list using CAML XML document. I have read how to include attachments and I want to include the entire InfoPath form as an attachment on the List item.
Can I still do this with the CAML XML by including the file as an encoded string? I'm having trouble setting up the CAML XM...
I have an InfoPath form with codebehind which is going to be hosted in an XmlFormView control on a page in a SharePoint 2007 site.
I will not be able to use codebehind on the page which is hosting the XmlFormView.
Is there any way to access the current HttpContext from the codebehind of the InfoPath form?
Or is there any way to obtain...
I looked around the web and didn't get any good answers. I've got a really basic form and looking to add a captcha control to it so the client doesn't get spammed (at least, not any more than usual). I'd like to use google's reCaptcha but I'm not really sure where to start with infopath. A template part might be a good start, but I'm ...
Hi,
I am not sure if this is achievable. How can I provide auto suggestion as the user types in in a browser enabled infopath form ? This auto suggestion data should be fetched from a sharepoint list.
Any ideas ?
...
I have an InfoPath form template as a content type in a form library on SharePoint. The form has several data connections which on submit, save it back to a specific form library on SharePoint depending on how one field is filled out.
After I added an additional data connection to receive information from SQL to a drop down control, ...
Hi everyone,
I have a problem with my infopath form.
The context, user of the site mustn't have acces to lists that provision infopath form field.
Administrator should have acces to these lists.
When i test the useExplicit property of udc file for impersonate the connection to the list i have no problem ( all my account are local accou...
Hi,
I have been working with InfoPath forms for the last two months or so, and I now have the following requirement:
I have a form which is filled in by certain users, then sent to other users. The latter, after viewing the data on the form, have the possibility to either Accept & Reply or Reject.
When they click on Accept & Reply, an...
I am working on a project here that ingests internal resumes from people at my company, strips out the skills and relevant content from them and stores it in a database. This was all done using docx4j and Grails. This required the resumes to first be submitted via a template that formatted everything just right so that the ingest tool kn...
Hi,
I was successfully able to update one of the fields (which was of type boolean) from infopath for library item using sharepoint object Model as if it was a list item.
But for another field which is of type text, the same code just gets executed but does not change the field value !!!!
I am using following code, which works for ...
I have an existing InfoPath 2007 form that has some code-behind developed with VSTA. It has been deployed to SharePoint as an administrator-approved form but is not browser based - the InfoPath client opens when users fill in a new form.
I'd now like to follow How to: Migrate a Project Created in Visual Studio Tools for Applications to ...
I'm looking at the architecture for a DW project and there will be the need for some manual collection of [structured] data eg the monthly accounting results from a country manager where they need to complete a form and fill in half a dozen values etc.
I really like the idea of using SP and InfoPath for this as it gives the security, th...
After upgrading to IE9, InfoPath forms consistently fail on radio button selection.
This occurrs even when using compatibility mode.
...
Hi,
I am using the code given at following link : How To: Display browser enabled InfoPath forms in a web part supporting connections in my custom web part.
Does any one know how to switch the Infopath view to a specific View when the web part loads ?
Thanks,
Nikhil
...
I am downloading an xml string from ASP.Net and want it to open in MS Office Infopath. I set the ContentType to "application/ms-infopath.xml" (not sure where I got that from).
On some machines it is fine, on others the xml opens in the browser, or in Visual Studio or some other xml editor, even though Infopath is present.
Who keeps th...
I've had a strange issue come up. We have a Form Library in SharePoint with a number of InfoPath forms.
When a user creates a new InfoPath form using the "New" drop down menu and saves it back to the form library. The content type of the form and the document are not associated.
I can fix the document type, open the form back up, save...
I need to get all the accountIDs selected in a contact selector control in my infopath form? Is there a way to do it without program? I heard there is a way to read repeating group values in infopath but could not get any concrete information?
e.g. is it possible using a rule tht i can concatenate all the accountIds selected in the cont...
I have an XML document (an InfoPath form) that looks similar to this:
<my:ClientMaintenance xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2009-07-06T07:04:54">
<my:Payments>
</my:Payments>
<my:Payment>
<my:Amount></my:Amount>
<!-- Several other nodes -->
</my:Payment>
</my:ClientMai...