Solved

Saving infopath form to be continued later

Posted on 2014-04-16
2
456 Views
Last Modified: 2014-05-01
I am teaching myself how to use Infopath 2010, Sharepoint 2013, and SPD13, to create a time sheet form to be filled out.  I have hit two walls.  Any help is appreciated!

Is there a way for multiple users to begin filling out a form, save the form, open it at a different time but from the same provided link to the form (with the information that was entered previously), and then submit the form when it is finished?  I have designed a biweekly time sheet and I need the users to be able to fill in each day at the end of each day and submit the form for approval at the end of the pay period.

Second question: I have several XML data connections set up on the form to populate a few different fields.  One XML file (which is still being created) needs to be able to populate three fields (employee name, ID#, and Department where they work).  We want this information to be populated upon logging in to fill out the form.  The user would enter their NT credentials and when the form opens it would be filled out with name, ID, and department(s).  How do I set this up?  Or would it be better to set it up from inside the form--the user opens a blank form, enters their ID number, the form refreshes and fills out the name and department.

If this doesn't all make sense, please let me know and I will do my best to explain myself!  I don't have quite all of the lingo down yet as I am still learning.
0
Comment
Question by:reedcp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 28

Accepted Solution

by:
clayfox earned 500 total points
ID: 40005334
To identify users
create a receive connection to a sharepoint library
navigate to your main SP site
in the list will be the User Information List
This has all of your AD and SP information.

Typically I just use the username function to look up the user opening the form and get their department, etc.  You also could give users the ability to query for themselves if they are using a non-windows device or one with a non-domain account.

Another good practice is as soon as a new form is completed the basics, have a field in the main data that is Form_Name.  Typically a concatenation of an ID, the user, date, time, whatever as long as it is unique.  Set the Form_Name field with this value. When creating the submit connection use this field as the name of the xml file.  Make sure to check allow overwrites and I often would turn on versioning in the library.
Also when emailing or sending out links concatenate the site library with this Form_Name to be the hyperlink.  

Submit the form as often as you like and it will always have the same name for its whole lifespan.

Another good practice is to have a field Form_Status.  This way you can programmatically know how to handle a form that is opened and hide or whatever the workflow is.  So the default value is new and on submit or any other logic can look at the form state to know what to do.
0
 
LVL 28

Expert Comment

by:clayfox
ID: 40005341
You can also use that user information to tell when a form is submitted and it is being viewed by someone in HR or Payroll, that they get a summary view or whatever. Or that people cannot edit it once it is in payroll approved status or whatever.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

The Scenario: Let’s say you have a quote worksheet in Excel that you use to work up sales figures and such for your clients. You utilize SharePoint to manage and keep track of these documents. You would like values from your worksheet to populate Sh…
Before you can digitally sign infopath forms, you must have a digital certificate. Microsoft Certificate Services will need to be enabled on a Windows Server 2008 to facilitate the creation and verification of the digital certifciates on the web ser…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

740 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