Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

A question that is asked often, is how to generate sequential numbers in InfoPath Forms. The best way to achieve this is to use a SQL database, along with a stored procedure and a web service to connect Forms Services to the DB. The first thing t…
I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

863 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

19 Experts available now in Live!

Get 1:1 Help Now