Solved

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

Posted on 2013-12-13
1
228 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Pimping Sharepoint 2007 without Server-Side Code Part 1 One of my biggest frustrations with Sharepoint 2007 in the corporate world is that while good-intentioned managers lock down the more interesting capabilities of Sharepoint programming in…
The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

760 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now