Solved

Prefile SharePoint Forms

Posted on 2014-07-24
2
199 Views
Last Modified: 2014-09-21
I’m working on an employee lifecycle workflow.  On hire the form/list item in the workflow is blank and this is fine.  However, in the case where there is a promotion/transfer workflow intiated, the form that circulates for that employee should present to the task worker with the employee’s current status from their list item.  Currently it presents to the task worker as blank.  This makes it nearly impossible for the task worker to know what rights/access needs to be modified. Using InfoPath ’13, how can I do this?  SharePoint is 2013 Enterprise.
0
Comment
Question by:whoam
2 Comments
 
LVL 31

Accepted Solution

by:
Jamie McAllister MVP earned 500 total points
ID: 40218773
It's possible to call web services from Infopath forms, and that's your key to this problem. Assuming your workflow stores the relevent data in a list somewhere you can configure your Infopath form to call the Lists.asmx web service on SharePoint to check if there is prefill information.

There are many examples of doing this sort of thing, I posted some examples below;

http://blogs.msdn.com/b/jannemattila/archive/2007/01/21/infopath-and-web-service-data-connection.aspx

http://blogs.msdn.com/b/infopath/archive/2010/05/06/sharepoint-list-data-connections-in-infopath-2010.aspx

http://wmostafaw.wordpress.com/2012/08/07/calling-web-service-from-infopath-2010-with-parameters/
0
 

Author Comment

by:whoam
ID: 40221274
Thanks so much!  I'm PTO for a week, but will pick this up when I'm back.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
PaperPort has a feature called the "Send To Bar". It provides a convenient, drag-and-drop interface for using other installed software, such as Microsoft Office. However, this article shows that the latest Office 2016 apps (installed with an Office …
This video shows where to find the word count, how to display it, and what it breaks down to in Microsoft Word.
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question