These scenarios more
likely to happened when working on restricted environment such as no custom
development and the SharePoint Designer is only tool available.
For instance,
"Calendar list
cannot be shared across other site collection or subsite with Calendar view
mode"
Or
"This webpart
is only work on current website context and when it used on other website the
information is not the same"
If above sound
familiar then this little non-coding hack maybe useful to you.
Here the
pre-requisites:
- SharePoint Designer (2007 or 2010 depend on your environment)
- Basic Html editing skill.
- A new minified masterpage.
- A new page inherit from new minified masterpage.
- SharePoint Page View Webpart.
Some of you may
already aware what have to be done with above pre-requisites. You are right, we
are going to create a new webpart page without any branding and loaded with
Page View webpart (Iframe).
Here the steps:
- Create a new masterpage without any branding but leave the main place holder.
- Create a new webpart page and point it to newly create minified masterpage. This page has to be create on website that you wish to share. e.g. http://yoursharepointsite.com/pages/calendar.aspx
- Insert the Calendar webpart into page just created in step 2.
- You are almost there, go to the page that require the Calendar webpart to render and insert the Page View webpart. e.g. http://yoursharepointsite2.com/pages/pagerender.aspx
- Point the newly inserted Page View Webpart to http://yoursharepointsite.com/pages/calendar.aspx.
- Walah, done.
Limitation
- The website which consume the content is assume to have same access permission to source website, otherwise credential is require for login.
No comments:
Post a Comment