• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 246
  • Last Modified:

Prefile SharePoint Forms

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
whoam
Asked:
whoam
1 Solution
 
Jamie McAllister MVPArchitectCommented:
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
 
whoamAuthor Commented:
Thanks so much!  I'm PTO for a week, but will pick this up when I'm back.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now