Woman In Tech: NAVIGATING THE DIGITAL WORLD

seeker, learner, educator and paying it forward… in short – Jigyaasu

Insert “+ Add Document” in a Sharepoint page.

Posted by

·

We all know that we have an option to add new document in document libraries. If the customers want the ability to do the same from any other page, we can do that too with the use of ‘Content Editor Web Part’.  Here are the steps.

  1. Edit Page -> Add new content editor web part.
  2. Click here to add new content  -> HTML markup<a class=”ms-addnew” id=”idHomePageNewDocument” href=”http://abc.xyz.org/_layouts/Upload.aspx?List={your list guid}&amp;RootFolder=” onclick=”javascript:NewItem2(event, &quot;https://office.bt.com/sites/PCs/KAL/_layouts/Upload.aspx?List={0DAB416D-AB62-489A-AEAA-798114AD244F}&amp;RootFolder=&quot;);javascript:returnfalse;” target=”_self”>+ Add document</a>
  3. You can get the link of your ‘+ Add Document’ by right clicking properties and copy the path that you can then paste in the href section of the hyperlink above.
  4. Apply -> OK -> Stop editing.
  5. You can further change the title of the web part by editing the content editor web part.
  6. Now we can add new documents to the library from the page you inserted the link in.

Good luck!

Swetha Sankaran, Microsoft MVP(2017-2020) | Gen AI enthusiast Avatar

About the author

Hi! My name is Joan Smith, I’m a travel blogger from the UK and founder of Hevor. In this blog I share my adventures around the world and give you tips about hotels, restaurants, activities and destinations to visit. You can watch my videos or join my group tours that I organize to selected destinations. [Suggestion: You could use the Author Biography Block here]

Discover more from Woman In Tech: NAVIGATING THE DIGITAL WORLD

Subscribe now to keep reading and get access to the full archive.

Continue reading