views:

9

answers:

0

Part of a bigger design issue really. But does anybody know why customizing EditForm.aspx of a Doc lib breaks the Upload function? and how to fix it so it does not. My version of the editform works great, but after an upload I get Unknown Error

the resulting url looks like this:

https://xxxxx.edu/sites/xxxx/_layouts/Upload.aspx?List=%7b0404432B-91A3-4E18-9202-5954E3A7E0D2%7d&RootFolder=%2fsites%2fmcpharm%2ftest3&Source=https%3a%2f%2fxxxxx.edu%2fsites%2fmcpharm%2ftest3%2fForms%2fAllItems.aspx


The bigger design issue - disregard if you like:

That said, the bigger design issue is we are trying to relate one list row to many documents, but don't want to seperate the docs into seperate folders and would like the solutoin to be seamless. We are going to add a look up from the doc lib to the list, but did not want to use anythng but the List's ID column. However, we do not want users to have to manually look up row IDs, and we did not want to use a list column that can be edited, even if we can add a unique column policy.

My design and thinking is to build a few custom pages with dataviews to show row level details in both lists (1 to many) and a dataview to drive list level functions like edit, delete and upload docs. I think all the pieces are there except for the less than graceful upload function that fist uploads the file and then asks the user to edit columns like title and maybe that lookup column. I was hoping to edit the page it would not even ask for the list ID for the lookup, maybe grab it from a session variable (I know.. I know... that's less than optimal). Bascially - trying to think of a way (with minimal code) to send the upload page the List row ID to use when uploading the new file so that the user does not have to select it.

Thank you.