Solved

Auto-filling a SharePoint form with entries from a previous form

Posted on 2013-02-03
1
310 Views
Last Modified: 2013-03-05
I currently have a SharePoint calendar with a customized form used to enter new calendar items that track projects that my business is working on. That custom form has additions to the standard form, such as:

1. A project ID that the user manually inputs.
2. Any special tools required for the project (a list of tools with a checkbox next to each that I hardcoded into the form)
3. Personnel working on the project (a list of people with a checkbox next to each, also hardcoded into the form).
4. Several other custom properties similar to the tools and personnel ones I mentioned.

Sometimes, projects don’t get finished within the originally scheduled time so folks have to make another calendar item for a later date to track the rest of the project. When the user creates that second calendar item, I’d like him or her to have the following experience:

1. Click the “new” button to create a new calendar item.
2. Enter the project ID from the previous calendar item
3. All of the custom fields (like the tools and personnel field I mentioned above) get automatically filled out using the values from the first calendar item.
4. User clicks “OK” button to save the calendar item.

I’m not a SharePoint expert, we are using http://companyweb from a small business server installation that I migrated to a standalone SharePoint foundation 2010 server a while back. If it’s possible to do this in a simple manner and without custom code, that would be awesome. If not, it would still be great to hear how it’s done and I’ll do my best.

Thanks in advance for your help
0
Comment
Question by:Julian123
[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
1 Comment
 
LVL 7

Accepted Solution

by:
dhawalseth earned 500 total points
ID: 38850077
Dear Julian,

Based on my understanding, I would request you to do the following steps:
1. On your custom form, place two webparts. One webpart will act as search and other will act as a new entry.
2. On first webpart, allow user to enter a project number and then click on search or create an event using javascript which will help you pass value from one webpart to another.
(Need to try this, I haven't tried it) I am sure this is doable, some how we should be able to pass or set new form fields based on the entered project number. The condition being, that data should exist for the project number.

You might need to use the javascript evvents to achieve this.("_spBodyOnLoadFunctionNames.push()"- method)

3. If Successful in step 2, you need to just click on 'submit' on second webpart and your item will be created successfully.

You need to try this solution, it just popped into my head.
Infopath is another solution.
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SBS 2011 certificates expired - need to renew? 4 150
Yet more SharePoint App with Angular and Bootstrap 4 64
SharePoint 2013 Site Replacement 6 53
VPN problems 4 68
SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
If you are a user of the discontinued Microsoft Office Accounting 2008 (MSOA) and have to move to a new computer running Windows 8, you will be unhappy to discover that it won't install.  In particular, Microsoft SQL Server 2005 Express Edition (SSE…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

726 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