Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Prefile SharePoint Forms

Posted on 2014-07-24
2
Medium Priority
?
241 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 32

Accepted Solution

by:
Jamie McAllister MVP earned 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Windows Explorer let you handle zip folders nearly as any other folder: Copy, move, change, and delete, etc. In VBA you can also handle normal files and folders, but zip folders takes a little more - and that you'll find here.
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.

916 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