Solved

Create a Item in List when a document is uplodaded in Document library

Posted on 2013-12-13
1
231 Views
Last Modified: 2014-01-14
Hi I have a requirement to create a list item in Contracts List when a document is uploaded in Contracts Vendor library.
Contracts List will have  columns - Contract Name ( title column), Contract Number, Contract Start date and end date.
Contracts Vendor library will have Contract Name,Contract NUmber.
User will select the Contract Name from drop down ( this is look up column linked to Contract Name in Contract List).When user uploads document in Contract Vendor library then item should be created in Contract List with selected Contract Name and Contract number .
Contracts and Contracts Vendor are related by look up Contract Name. Contract Name is internally a title column in Contracts List.
Issue1 :

Since Contract number is look up column, while I am creating item the Contract name is not getting updated in Contracts List. I have to use sharepoint designer workflow to achieve this task. Title colum or Contract Name shows no title.
Issue 2:

One more issue I am facing is that Contracts List has Section and Division cascaded drop downs when i select values from section and division dropdowns and save item in Contracts list the values are getting saved in Contract List.
Could anyone suggest me how to handle this ? I am attaching the screenshots of the list and library structure. TRuly appreciate your help.
List-structure-Dec13.png
0
Comment
Question by:asrithap
1 Comment
 
LVL 11

Accepted Solution

by:
FastFngrz earned 500 total points
ID: 39718967
Why have the second list at all?  Just add the additional columns to the library (start and end dates, section and division) and use a view to filter in/out what you want to see.  I think you are making much more work than it needs to be... after all, what will happen when you delete a contract from the library - the corresponding list item will be orphaned, no?
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 do not offer the option to configure the location of the SharePoint diagnostic trace log files during installation.  This can, however, be configured through Central Administr…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

820 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