Home > Sharepoint > Add Webpart in sharepoint wiki page

Add Webpart in sharepoint wiki page


Recently one of my friend asked about adding a sharepoint document library webpart in to

a Wiki page. Wiki page still allows you to add a webpart by Edit page but the list of webparts are limited

when compared with Webpart Page. As a workaround we have created a new webpart page and added the

document library wbpart.Then using Sharepoint designer opened the webpart page and copy the Webpart

content and pasted into Wiki Page.

While doing so you need to make sure there are pre-requisite sharepoint specific javascript file

should be loaded for the webpart to function properly.

<script type=”text/javascript” src=”//ajax.aspnetcdn.com/ajax/4.0/1/MicrosoftAjax.js”>
</script>
<script type=”text/javascript” src=”_layouts/sp.runtime.js”></script>
<script type=”text/javascript” src=”_layouts/sp.js”></script>
<script type=”text/javascript”>
// Continue your program flow here.
</script>

Advertisements
  1. July 2, 2013 at 11:05 am

    Hello there, just became aware of your blog through Google, and found that it is truly informative. I am gonna watch out for brussels. I’ll be grateful if you continue this in future. Many people will be benefited from your writing. Cheers!

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: