infopath

Auto-populating an Infopath form after selecting a drop down

筅森魡賤 提交于 2019-12-11 05:07:13
问题 I currently have two lists one titled 'Book of Work' which holds details around on-going projects and the other titled 'Book of Work Amendments' which are requests submitted by users to change project details (through an infopath form). There is a column in the BoW Amendments list entitled 'Select Project' which has a lookup to 'Project Name' in the BoW list. The aim is that when a user chooses an option from the 'Select Project' drop-down, other fields in the form such as 'Project Manager',

Programmatically publishing an InfoPath form (sending as email)

こ雲淡風輕ζ 提交于 2019-12-11 04:09:31
问题 I'm looking for a way to send an InfoPath form programmatically, equivalent to using the quick publish button in the InfoPath designer, but without using any UI. I was not able to find a way to do this, I have tried using MailEnvelope , but it brings up an UI and I don't want that. So I ended up sending the current form file through a SmtpClient, but then the form shows up as a regular attachment. Does anyone know if there is a possibility to do that from code, or not? Thanks in advance. 回答1:

Update multiple SharePoint list Items

扶醉桌前 提交于 2019-12-11 04:06:56
问题 I have an InfoPath form that, when submitted to a SharePoint Form Library, also adds a single item to a Task List. Each item in the Task List contains a People field that may contain multiple names. I have code in the form that creates separate items in a Custom List, one for each name in the People field. When I manually update the Status field in a Task List item, I would like a SharePoint workflow (I'm using Designer 2010) to update all of the Status fields for the corresponding items in

Automated conversion of InfoPath forms to PDF

青春壹個敷衍的年華 提交于 2019-12-11 02:29:20
问题 I've been tasked with programatically opening up a set of XML files (~10k) associated with various InfoPath templates (20) and then saving the populated forms as PDF to a network share. This will be a one-time task. I have code to cycle through the set of XML files and open them in InfoPath. However, the documented command-line parameters are not sufficient for my needs (no print / close parameters). Can anyone provide any suggestions for startup parameters that will tell InfoPath to open a

Create a user in Active Directory from an Infopath form

青春壹個敷衍的年華 提交于 2019-12-11 02:06:40
问题 I've been searching the web for a while now and still can't seem to find anything useful on this topic. What I am trying to create is a button in my Infopath form that will create a user account in Active Directory. The code will need to pull through information stored in the fields of the Infopath form. I have chosen to use Visual Basic, as I believe that is a good language scripting with AD. I have successfully run this code: Sub CTRL1_12_OnClick(eventObj) MsgBox "Output: " End Sub which

How to Download to XML files Previous Versions of Infopath form SharePoint

雨燕双飞 提交于 2019-12-10 22:37:19
问题 When i access the list of Infopath files, and select one for example and click the Version History, is there a way to download previous versions without Restoring the old versions? 回答1: This will only work for items in libraries (and wont work on lists). Some points to remember: Libraries have properties called Files Files have properties called versions Versions have a property called Url With those three in mind, you can pull the download URL for all the version history of the InfoPath file

Import Infopath .XML forms into data frame in R

99封情书 提交于 2019-12-10 17:41:46
问题 What's the best way to import Infopath .XML forms in R, and transform into a dataframe? If I open the Infopath .XML file in Excel, the rows and columns of the data frame appear correctly. Here's what I tried in R using the XML package: Iused xmlParse() to parse the XML file I used xmlToDataFrame() to attempt to transform the parsed XML file to a data frame In step 2, however, I receive the following error: Error in `[<-.data.frame`(`*tmp*`, i, names(nodes[[i]]), value = c("touch your

How to debug Infopath 2010 web form?

☆樱花仙子☆ 提交于 2019-12-10 10:58:44
问题 Well, in visual studio 2008 we were able to create infopath 2007 web form project and after that attach to iis process to debug infopath web form. In visual studio 2010 there is not infopath project and we can use only vsto and cant attach to iis process. So, how to debug Infopath 2010 web form? - is it possible? 回答1: Debugging in InfoPath2010 is a bit tricky.You need to configure your VSTO Advanced Build option to store debug info and then open using VS2010.Attach the w3wp.exe processes

How to REpublish Custom Task Forms (InfoPath) to SharePoint 2010 State Machine Workflows

时光总嘲笑我的痴心妄想 提交于 2019-12-08 14:02:04
问题 I am new to SharePoint. Sorry if answer to my question is obvious. I've create Custom Task Form in InfoPath and publish it (File/Publish/Network Location [Form Template Path and filename='MYPROJECT/Forms/ApprovalForm.xsn'; Form template name='ApprovalForm'], in the next window I've cleared Public URL according to the article http://www.codeproject.com/Articles/195348/SharePoint-2010-State-Machine-Workflows-with-Custo). After it I've added module Forms, and added ApprovalForm.xsn from the

Wait for Winform UserControl to load

旧巷老猫 提交于 2019-12-08 11:59:25
问题 I have a custom Winform Infopath UserControl which loads a form from a sharepoint library. I have a series of function calls, after opening the form, to pull some data from the form, even a take screenshot function. But the form load takes a lot of time, and the other functions finish up too quickly, much before the form load, which gives me wrong results. Is there any way I can have a wait function, that waits for the infopath form to finish loading before the other functions are called?(in