[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 238
  • Last Modified:

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

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
asrithap
Asked:
asrithap
1 Solution
 
FastFngrzCommented:
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now