Monday, June 3, 2013

TIP: Add a Simple Modal File Upload Link


In the following procedure, you will walk through how to add a simple modal file upload link to any SharePoint page.  The approach uses SharePoint 2010's own markup.  It really is that simple.


1) Go to the SharePoint 2010 document library to which you want to upload files by clicking the link.

2) View the source of this page.

3) Search for Add Document.

4) Copy all markup from (and including) <a to .../a>.

5) Paste this markup to the desired location in your SharePoint 2010 page.

6) Optional: Also copy and paste the <span... .../span> tag and content just preceding the above in order to get the neat + icon.


Happy Coding!

No comments: