Sharepoint Document Upload Page - Passing URL Variables?
Posted
by Corey O.
on Stack Overflow
See other posts from Stack Overflow
or by Corey O.
Published on 2009-11-02T17:50:45Z
Indexed on
2010/04/30
23:07 UTC
Read the original article
Hit count: 194
Throughout my SharePoint site, I have several document repositories that are tied to primary keys from an external database. I have added custom columns in the document library metadata fields so that we will know which SharePoint documents correspond with which table entries. As a requirement, we need to have document uploads that have these fields automatically populated. For instance, I'd like to have the following url:
./Upload.aspx?ClassID=2&SystemID=63
So that when you upload any documents to this library, it automatically adds the ClassID and SystemID values to the corresponding ClassID and SystemID columns outlined in the SharePoint document library fields.
Is there any quick or easy way to do this, or will I have to completely rewrite the Upload.aspx script from scratch?
© Stack Overflow or respective owner