This is one of the frustrations with the SharePoint UI: you can’t display on your site a list from another site.
Well, of course, you have the Page Viewer Web Part, which allows you to embed in your page another Web page. But usually the result doesn’t look good, as the embedded content doesn’t fit nicely in the host page.
If you are looking for something nicer, there is still hope. You may for example have SharePoint Designer, in which case you can use the Data View Web Part to display a list from another site. However, in SharePoint 2007 I have not been able to make it work across site collections (did I miss something?).
The next level is to build your own viewing interface, and use XML to retrieve the content of the list (through the URL protocol, Web Services or RSS for example).
For today, let’s keep it simple. I’d like to offer an alternate option: a “quick and not too dirty” way to display a simple, flat list in another site.
I already mentioned that the iframe was part of my toolbox, so let’ s put it to work. As you’ll see, there are several limitations to my method, but it should be helpful if for example you’d like to share a contacts list, an announcements list or an events list across sites or even site collections. Also, just like for the “HTML calculated column”, I hope to bring some improvements in the future.
I have also written an adaptation using jQuery, as it seems to quickly gain popularity in the Microsoft world.
First, a demo
On my top level site, I maintain a list of updates:
http://www.pathtosharepoint.com/Lists/Updates/Newsletter.aspx
Using my scripts, here is how the list is rendered in a sub-site:
http://www.pathtosharepoint.com/CrossSite/default.aspx
The list is pulled twice in this demo: the first using an iframe, the second using jQuery.
Your turn!
The first step is easy, you may already have done it: choose the list that you want to display in other sites, and create a specific view if needed. The URL of your page will look like:
http://domain.com/SiteCollection1/SourceSite/SourceList/MyView.aspx
You can also decide to stick to the default view:
http://domain.com/SiteCollection1/SourceSite/SourceList/AllItems.aspx
Or maybe you have no control over the source site, in which case you’ll simply pick one of the existing views.
Second step: in the following code, replace the dummy URL with the URL of your source list. Then, on the target site drop the code in a CEWP:
<!-- Load and display list - iframe version -->
<!-- Questions and comments: Christophe@PathToSharePoint.com -->
<DIV id="ListPlaceholder"><IMG src="/_layouts/images/GEARS_AN.GIF"></DIV>
<!-- Paste the URL of the source list below: -->
<iframe id="SourceList" style="display:none;" src="http://domain.com/SiteCollection/SourceSite/SourceList/MyView.aspx" onload="DisplayThisList()"></iframe>
<script type="text/javascript">
function DisplayThisList()
{
var placeholder = document.getElementById("ListPlaceholder");
var displaylist = null;
var sourcelist = document.getElementById("SourceList");
try {
if(sourcelist.contentDocument)
// Firefox, Opera
{displaylist = sourcelist.contentDocument.getElementById("WebPartWPQ1") ;}
else if(sourcelist.contentWindow)
// Internet Explorer
{displaylist = sourcelist.contentWindow.document.getElementById("WebPartWPQ1") ;}
else if(sourcelist.document)
// Others?
{displaylist = sourcelist.document.getElementById("WebPartWPQ1") ;}
}
catch(err) { alert ("Loading failed");}
displaylist.removeChild(displaylist.getElementsByTagName("table")[0]);
var allDescendants = displaylist.getElementsByTagName("*");
for (i=0;i<allDescendants.length;i++) {
allDescendants[i].removeAttribute("id");
allDescendants[i].removeAttribute("onclick");
allDescendants[i].removeAttribute("onfocus");
allDescendants[i].removeAttribute("onmouseover");
}
placeholder.innerHTML = displaylist.innerHTML;
}
</script>
Some limitations
- for now, the above code will only work for simple, flat lists. For example it won’t work with grouped items. I plan to share improved versions in the future, your proposals are welcome!
- the context menus won’t work, and are actually disabled. You can only view the items and click to open them.
- it works fine if the source list and the target site are on the same domain (same http://domain.com). If you try on different domains, let me know the result (it may depend on your browser).
An adaptation for jQuery
We can get a similar result with jQuery’s load function:
<!-- Load and display list - jQuery version -->
<!-- Questions and comments: Christophe@PathToSharePoint.com -->
<DIV id="ListPlaceholder"><IMG src="/_layouts/images/GEARS_AN.GIF"></DIV>
<script type="text/javascript">
// Paste the URL of the source list below:
var SelectedView = "http://domain.com/SiteCollection1/SourceSite/SourceList/MyView.aspx";
$("#ListPlaceholder").load(SelectedView+" #WebPartWPQ1 .ms-listviewtable",function() {
$("#ListPlaceholder *").removeAttr("id");
$("#ListPlaceholder *").removeAttr("onclick");
$("#ListPlaceholder *").removeAttr("onfocus");
$("#ListPlaceholder *").removeAttr("onmouseover");
});
</script>
Note: remember that jQuery is actually JavaScript. jQuery gives a nice crisp look to the code, but it doesn’t necessarily mean that it runs faster.
How it works
Each Web Part on a page has a unique identifier. WebPartWPQi. If only one list is diplayed on the page, its identifier is WebPartWPQ1. This is what we use in the script to call the list.
Update [Jan 22, 2009] I checked a couple MOSS implementations, and it seems that the WebPartWPQ1 id is assigned to the search drop-down menu. In this case, you should replace WebPartWPQ1 with WebPartWPQ2 in the above scripts.
Any jQuery experts out there?
I am very curious about the load function. It looks quite powerful, and I wonder what’s behind… Feel free to step in if you have any information!

79 comments
Comments feed for this article
January 22, 2009 at 9:19 pm
Rob Roach
This is fantastic! Great post! We had been debating writing some custom web part to provide similar functionality. I much prefer this option!
January 23, 2009 at 8:22 am
Mike Walsh
Christophe,
The ability to go across site collection borders was in FP 2003 Data View (for use with WSS 2.0 and SPS 2003 only if anyone else is reading) but dropped in SPD 2007.
Instead you have to use the same method that was used for FP 2003 if the data you wanted to access was stored on a different SP server. That is you need to access the Database (in Data View) to get at the data from another site collection.
It’s possible using the UI and only takes a little more effort.
Mike
January 23, 2009 at 8:57 am
Christophe
Thanks for the explanations Mike. I wonder why they dropped such a key feature…
January 23, 2009 at 12:48 pm
robin
Great Post!
January 26, 2009 at 1:43 pm
Christophe
jQuery 1.3.1 was released on Jan 21st to fix some bugs of the recently published 1.3 version. I have updated the script.
January 29, 2009 at 8:49 pm
Sean
Christophe,
This is pretty cool.
I am having problems though using with more than one list. Am I missing something?
January 30, 2009 at 3:53 am
Christophe
Sean: how did you adapt the code for multiple lists? I suggest that you send it to me with a description of your issue: Christophe@PathToSharePoint.com
There may be conflicts with element ids.
January 31, 2009 at 1:34 am
Christophe
Update: I worked with Sean to resolve his issue.
If you need to apply the method to multiple lists, you need to use different names in the script for each list. So for example you’ll use ListPlaceholder1, SourceList1, etc. for the first list, and ListPlaceholder2, SourceList2, etc. for the second list.
Don’t use it for too many lists; remember that the iframe loads a whole page everytime.
February 2, 2009 at 12:41 pm
John
Anybody run into a “‘WPSC’ is undefined error” when trying to run this?
February 3, 2009 at 4:50 am
Christophe
John, maybe you could provide more details on your issue? Are you with wss 3.0 or MOSS? And which type of list did you choose?
February 3, 2009 at 12:08 pm
Sean
With Christophe’s help I created 3 list displays from different sites below my main site. These sites each contained a list with a single list line for Management details. Like Christophe said: use ListPlaceholder1, SourceList1, etc. for the first list, and ListPlaceholder2, SourceList2, etc. And so on for each separate list.
Team name: single line of text
Current Overall status: choice
Current Customer satisfaction: choice
Current Financial status: choice
Each of the choice selections also has a second calculated column using Christophe’s color coding and script to html. I customized a view for editing and one for the up list display.
The end result is 3 single line list display web parts on a management page from 3 separate sites. Giving upper management a quick and dirty visual indicator with out having to go to each site.
I have been looking for a way to do this without using SPD for a long time. Thank you again Christophe for all your help.
February 3, 2009 at 5:46 pm
Display the Quick Launch in a Web Part page « Path to SharePoint
[...] is very similar to the method I described to display a list in another site – just here everything happens within the same [...]
February 5, 2009 at 12:36 am
larry
Again another great idea. The functionality I have been trying to make happen is to have the ability to use the list from another site. I have a parent with a list of countries. in my child sites I want to create a lookup that they all reference at the parent, a single source. can this be done?
February 5, 2009 at 2:05 am
Christophe
Larry try this:
http://masteringsharepoint.com/blogs/bobmixon/archive/2008/07/11/sharepoint-lookups-with-lists-is-different-sites.aspx
And let me know if it works!
February 5, 2009 at 2:26 pm
Adam Davidson
@Sean,
Did you do this in a single CEWP, or did you use 3 webparts (1 for each list)? Trying to get multiple lists to work but failing miserably! I’m trying to display announcements and events from the parent site. I can get each one to work separately (i.e. if I only have one showing at a time) but not both at the same time. Any suggestions very gratefully received!
Cheers,
Adam
February 5, 2009 at 2:45 pm
Sean
Adam,
Yes, I used three CEWPs for my site. Christophe suggested change ListPlaceholder and SourceList to ListPlaceholder1 and SourceList1. I had the same problem adding. There are many places to change. Here is a copy of my third CEWP. Change source to your list view url and give it a try. Also Do not use “replace” to change numbers. The “WebPartWPQ1″ should remain the same.
copy:
February 5, 2009 at 3:27 pm
Christophe
[Sean, I have corrected your comment as the initial "ListPlaceholder3" was missing. Also, I display it as code to fix formatting issues and make it easier to grab.]
February 5, 2009 at 3:32 pm
Christophe
Again, remember that for each list you actually load a whole Web page.
Do not discard more advanced methods like the Data View Web Part, the URL protocol or Web Services.
February 7, 2009 at 3:31 pm
Adam Davidson
Sean,
Thanks for the quick response, and for posting the code. Worked a treat!
Cheers,
Adam
February 17, 2009 at 2:04 pm
Amit Saini
Thanks Sean and Christophe, For providing the solution for display the list from different sites.
Thanks
Amit
February 26, 2009 at 10:38 am
Using calculated columns to write scripts « Path to SharePoint
[...] Note: I have already used the onload event in some other posts, for example here, combined with an iframe. [...]
March 12, 2009 at 3:50 pm
larry
Christophe, I think this is one of my favorite posts. Very useful and recently had a need for this. Now I may be reaching but something I have been toying with is better functionality for site collection admins. We can go to several pages to get data about the collection, but it is not clean and it is a nightmare to manage. I would like to display data from the “View all site content” page from all child sites. can this be done? What I mainly need is site sizes, but I can would settle for it by site, or library/lists. I know you can display one level down sites. I know you can go to a site collection page and view size of libraries/lists, is there a way to combine this on one page?
March 16, 2009 at 10:23 am
Christophe
Larry: the method allows to display any list in any other page, so you can gather all the information you need from your subsites in one page. But then there’s still a lot of work to combine all.
Web Services seem to be the right approach in your case.
I’ll publish this month an example of how to display the “View all site content” list in another page.
March 18, 2009 at 3:22 pm
Nathan
Christophe: Many thanks for posting this great tool! I’m very new to Javascript, but know just enough to get the job done based on someone’s posted work (like yours). Like Sean, I modified the code in order to use it multiple times on one page. (I should note here that it works with personal views if you are setting up a page that will be used only by yourself.)
The one (minor) inconvenience I have found is that when you click the ID or Title field to navigate to the full record (dispform.aspx), the Close button will redirect you to the default view of the source list on the target site. Not a problem for those of us who know how to use the back button, but potentially a bit confusing for the rest of the world. Would it be possible to modify the script in order to append something like Source=location.href to the ID/Title hyperlink? That way, the Close button on dispform.aspx would redirect you back to the starting page.
March 18, 2009 at 3:37 pm
Jakub
Christopher, thank you for this method. It solved my issue. However I would like to ask how did you add the same look to your rendered list as is it in original site. When I use your script i get the list with no style at all as it is in sharepoint sites. Just only white page with correct data from other site list. Is there any fast method in SPD how to set it? Thank you for the answer.
March 18, 2009 at 9:30 pm
larry
Again I am trying to break some things and I tried combining this script and the HTML cal column script. I could not convert the HTML on the viewing page. I added the script to the source page and it worked, converted HTML, in the source page, but when viewing this from another site, no luck all I get is the code. Can this be achieved?
March 19, 2009 at 3:01 am
Christophe
Jacob: by design the list should adopt the style of the host site (not the style of the original site). Isn’t it the case for you?
March 19, 2009 at 3:07 am
Christophe
Larry: you need to add the script for the HTML cc to the target page, and make sure it runs after the list is loaded.
Peter Allen is working on such an example. I think he’ll have something to share very soon!
March 19, 2009 at 4:15 pm
Jakub
Christophe: Thanks! I got it now. If I put the script betweeen
tags it works nice and the style is applicated on the list too.
March 20, 2009 at 10:11 am
Christophe
Nathan, interesting question. I think modifying the script to redirect to the original page is not too complicated. I’ll give it a try and post the solution if it works.
March 20, 2009 at 2:06 pm
larry
Christophe, that may be the issue, getting it to run after it loads. Now there is a small delay in the list loading. I look forward to the post from Peter.
thanks
March 23, 2009 at 4:33 am
Display a list in another site (Cont’d) « Path to SharePoint
[...] March 23, 2009 in Content Editor Web Part, SharePoint 2007, The iframe series, Tips and tricks, html/scripts, jQuery Two months ago I published a simple method to display a SharePoint list in another site. [...]
April 1, 2009 at 3:20 pm
Bruce
Just wanted to say great thanks. This was a tremendous tool. You have added value to me as an employee.
April 10, 2009 at 11:00 am
Sam
Amazing post which i was hunting for so long. But unfortunately, it is not working for me. I am trying to link a normal List from a sub site to a parent site in our INTRANET. all links are https enabled. After adding the IFRAME script to a CEWP it is not loading the link inserted inside.
I have two CEWPS on this site. I even tried changing the ListPlaceHolders to such as ‘ListPlaceholder3′ as posted in one of the comments above here etc but it is not loading the custom link i had. The animated GIF keeps rotating and the list is not loading.
Many thanks for your expert advise please…
April 10, 2009 at 12:44 pm
Christophe
Sam, are you on wss 3.0 or MOSS? The scripts are slightly different. Also, first validate the method with one CEWP.
I haven’t tested https links, but it should make no difference.
April 10, 2009 at 1:03 pm
Sam
Apologies Christophe… I just figured it out to get the list data populated in a CEWP. But if have multiple CEWP’s for getting the data from mutiple lists , while trying to save the script it shows the error ‘Cannot Retrieve properties…”; cannot save changes. Can you kindly advise what further changes if need to be done on this script to get mutiple CEWP’s working..
Many thanks in advance.
Sam
April 10, 2009 at 1:07 pm
Sam
Its on MOSS. Once again many thanks for your outstanding support and sharing your expert advise.
April 10, 2009 at 1:13 pm
Christophe
Sam, see Sean’s comments above. There’s a script that you can copy/paste for your second CEWP. Just change WebPartWPQ1 to WebPartWPQ2 for MOSS.
April 16, 2009 at 1:37 pm
Aminuddin
Hi Chris,
Thanks for the post. I managed to get it done. I make blog list with picture,title and published column. I fit it into right wp zone but it’s too big to fit in 200px box. Any idea to shrink it especially the picture.
Thanks.
April 16, 2009 at 5:52 pm
Gretchen
Christophe, I’m having the same problem that Sam mentioned previously in that I have two CEWPS on a site. I have changed ListPlaceHolders to such as ‘ListPlaceholder2′ etc. as posted in one of the comments above but it is also not loading the custom link. The animated GIF keeps rotating. In this case I am on WSS 3.0, not MOSS.
April 21, 2009 at 2:31 pm
Mats
Having the exact same problem as Gretchen…. HELP!!
April 30, 2009 at 8:34 pm
thewire
for multiple lists, you also need to add an incrementing number to the DisplayThisList function name.
So to change the ListPlaceholder and SourceList id’s and change the DisplayThisList function name to ListPlaceholder1, SourceList1 and DisplayThisList1() and increment that number for each additional CEWP linked list.
May 1, 2009 at 12:14 am
Christophe
Absolutely. Sean and I have worked on a script to address this, it is posted in this comments section.
Sam, Gretchen and Mats: are you still having an issue, even when using the script shared by Sean? If so, I propose that we set up a SharePoint site to work on this. Feel free to send me an update by e-mail:
Christophe@PathToSharePoint.com
May 4, 2009 at 5:57 pm
Gretchen
To all who replied….Thanks. I had a second set of eyes review the script and they found I was missing a “3″ from one of the items. Now everything works perfectly!
May 12, 2009 at 3:26 pm
Brian
Anyone know how I could update a URL in a list column and append it with the &source=URL format.
Ex. If we were using this for an Announcements list, the title column is a link to the individual item. By appending &souce=URL if you click the link, you can read/edit the item and then click save/close and be returned to the URL you specify in the source value. I just do not know how to update the javascript above to append &source=URL to the end of each title fields URL.
May 13, 2009 at 3:57 am
A simple method to display a list in another site « Microsoft Technology, .Net, BizTalk, Sharepoint & etc.
[...] 2009 I found a very useful script which will display a list/document library in another site. See here, and it works for folders in the library as well. Just be aware of WebPartWPQi which is the id in [...]
May 16, 2009 at 1:53 am
Christophe
Brian, I think what you’re looking for is here:
http://pathtosharepoint.wordpress.com/2009/03/23/display-a-list-in-another-site-contd/
May 18, 2009 at 8:34 pm
Steve Beard
Christophe, thanks for an excellent and informative blog. I have just implemented your cute calendar solution to a couple of sites within our sharepoint environment then I came across this. This appeared to provide a solution to a problem I am having, we have a school menu that is common for all schools in our authority and I was wanting to produce one calendar and then be able to display it on other site collections. I tried the instructions above and all I get is the green circle with lines moving around it
May 19, 2009 at 12:54 am
Christophe
The above script works for lists, but as is it won’t work for calendar views.
Did you try to display the events as a list, and if so were you successful?
May 19, 2009 at 2:00 am
Iain Munro
Hi Christophe
One thing that this does not like is working within the Tab environment by Peter Allen at Bit of Sharepoint.
The combination of looking up lists and the tabbed environment are a perfect match for each other.
I got it working with one lookup, but as soon as I added in another it did not like it and often displayed the second list in the first lookup.
Iain
May 19, 2009 at 2:26 am
Christophe
Iain: did you assign specific ids to each list (cf. Sean’s example in the above comments)?
btw I’ll publish a method for creating tabs this week. I just validated that it works fine with this script.
May 19, 2009 at 8:45 pm
Jim
Christophe,
I agree with Iain. I have been trying to use the Tab feature mentioned by Peter Allen. The Tabs work great and I can get one list to display under a tab but I can not get a 2nd tab to display a different list. I have attempted to change the ID’s but have had no luck. Does the WebPartWPQ need to be a 1 or 2 or??.. I think this would be a great feature. I would really appreciate your input on how to make this work. Thank you very much.
May 20, 2009 at 1:58 pm
Christophe
Iain and Jim: first make sure your scripts work without the tab feature. Again, see the script in Sean’s comment that should work as is.
Also note that I have just published today a method for creating tabs.
May 20, 2009 at 2:03 pm
Andrew
Hey,
I am having some problems getting this to work correctly. I have included the code above in a CEWP and it does not seem to work.
I changed the url to the list I wanted, and added in the link to my local version of jquery… yet when it loads the green spinner dissapears and then shows nothing. Just blank.
Any ideas?
Many thanks,
May 21, 2009 at 9:24 pm
Christophe
Sam, Gretchen, Mats, Jim and all: there was a “3″ missing in the code proposed in Sean’s comment. I have corrected this and the script should now work for multiple lookups.
It should also play well with the Easy Tabs Web Part I just released.
Special thanks to Iain for sharing his test page with me, and bugging me until I get this issue resolved
May 29, 2009 at 12:28 am
Mazhar
Simple great! It soved my problem. Thanks
May 29, 2009 at 3:45 pm
Vamshi
Hey!
Chris your site is fantastic. I really appreciate the work you are doing. All the tips and things you are working on are perfectly useful in a real world.
Did you get a chance to work on recreating the list html code to show even the lists with categories and sub categories and hpw about attachements added to the list. I think this will really make the tool more useful?
June 8, 2009 at 4:49 am
The Content Query Web Part « Path to SharePoint
[...] videos or widgets, display content from other SharePoint sites, etc. To see it in action, explore my blog, Iain’s site or [...]
June 9, 2009 at 2:22 pm
Aaron
What some of the about may be having problems with is the code only allows lists, not webpart pages stored in a document library (for example). I had to learn this one the hard way. But, speaking of this limitation, Christophe, can you think of anyway to modify this code to bring in webpart pages or individual webparts from those pages and not just lists?
June 10, 2009 at 6:32 am
Christophe
Aaron, any reason why you would need to pull content from a custom Web Part page, instead of the original list?
That said, it should work. You’ll need to identify the correct id of the Web Part you want to retrieve. It will be of the form WebPartWPQi, where i is an integer.
June 12, 2009 at 1:08 pm
Aaron
Long story, shortened.. I’m creating individual lists that are set up as a scorecard with several calculated columns to automatically total each criteria. The scorecards are set up in a datasheet view which allows the calculated column to be totaled, but of course, in a standard view, they can’t without some extra code. So, in a webpart page, I’m displaying a list and a CEWP that not only adds the code to total the list view but also displays the total in a div with google’s chart api. What I want to do is pull the charts from the CEWP to another page in order to do side by side comparisons. I’m thinking that I may have to bring in all of the lists, hide them and customize my code to target the correct WebPartWPQ.
June 9, 2009 at 6:02 pm
Sara
I see in your post that you can’t go across domains. Could it be security related? Any idead on how to make it work?
June 10, 2009 at 6:37 am
Christophe
Absolutely Sara, this is a JavaScript security limitation. I won’t advertise any way to make it work, but you’ll find on the Web temporary hacks or browser specific workarounds (search for “cross-site scripting” or XSS).
July 22, 2009 at 4:07 pm
Clif
Thanks for the post, but I am having an issue with the code. When I change out the dummy code with mine in the CEWP and hit apply, the web part just sits there with the green loading sign. There is no way it should take this long to load, in my mind, any ideas of what could be going on?
July 22, 2009 at 9:08 pm
Christophe
Clif, remember to adapt the script if you are working with MOSS (see the end of the post).
August 19, 2009 at 8:07 pm
Phil
This is a really great tool, but is there a way to make it work with “blog” style posts? I want to display the Posts element from another sharepoint site in a web part. I can display a view of the Posts from that site using this tool, but I cannot get it to format them the way it does on a sharepoint “blog” type page.
Any ideas?
August 24, 2009 at 9:04 am
JShidell
This is great. Have you or anyone else found a solution for grouped lists? I was able to bring up my list but they are grouped so I can’t unexpand my list so its taking up alot of my screen. Is there a way to incorporate this with grouped lists so it will allow for expand/unexpand?
Thanks
v/r
JShidell
September 4, 2009 at 12:02 pm
Amanda
Great site, its very helpful!
Just wondering if there is any way to do a roll up of mulitple lists from different sites? I have seen webparts that can be purchased, but this isnt an option for us.
September 4, 2009 at 12:09 pm
Christophe
The standard roll-up tool is the Content Query Web Part (in MOSS).
It may be easier to do it the other way around: create a Master list for a site collection, and filter it for each site. You can then use the technique described in this post, or use the method described by Mark Miller at endusersharepoint.com (his examples are for calendars).
September 9, 2009 at 8:48 pm
Tom
Hi, Christophe,
One thing I notice in using this to display lists from another site, like a Contacts list, is the entire list is brought back. Now, if you have 2000 items it stalls out. It works fine for small list views.
How can you limit what it shows (say, 25 items at a time) and be able to click on a “Next” “Previous” button or some such thing?
September 12, 2009 at 3:25 am
Christophe
@JShidell and Tom: these are the limitations of the method, it seems difficult to keep the onclick events.
Another approach is to use a Page Viewer Web Part (or iframe), this will keep all the functionalities. Some JavaScript/jQuery magic will help filter the selection and resize the Web Part to fit its content.
September 30, 2009 at 1:25 pm
Simon
Hi Christophe,
This works really well for me for most lists, but InfoPath form library lists don’t seem to work. I can’t see why the list type would affect this code – any ideas?
October 15, 2009 at 6:56 pm
Triston
Similar to Sam, Gretchen, Mats – I cannot save source editor changes in my CEWP. I had it working the first time I tried – I had a script to edit a field on my calendar list form – but when I tried to change my script at a later date it wouldn’t save.
Based on Sam’s comments, I thought the problem was that I had created two CEWPs which was causing the problem. I’m pretty sure I deleted all existing CEWPs, however I still cannot save when I make a new one.
Anyone else ever had this problem or know what could be the problem?
October 15, 2009 at 7:08 pm
Triston
Recycling the App Pool is a recommended solution when getting the error ‘”cannot retrieve properties at this time”, but I’m no SP admin. I just am using out of the box stuff with design access and trying not to break anything.
October 17, 2009 at 3:05 am
Christophe
Unfortunately not everything can be solved from the client side. Only your IT support can help you with this.
October 23, 2009 at 4:04 am
Dan
Thank you for all the help. I was wondering if you could point me to some documentation that will help me understand the displaylist. removechild block of code. I was able to get this to work on a blank page, but had problems when I tried to put it on a page with lots of web parts.
November 2, 2009 at 8:52 pm
Avi
Thanks for the solution. I was wondering if you want to (view and) filter the master list based on variable (say Project Name) in the another share point site (project workspace) – how can you do this?
Basically, we want to create a master SharePoint List in Project Server 2007 (Project Web Access > Create > Custom List) and view and filter that list in various project workspace sites?
Avi
November 3, 2009 at 3:15 pm
Christophe
With this method, you could create multiple views of your Master list, each filtered for a specific project name. Then make each workspace point to its specific project view.
November 3, 2009 at 3:38 pm
Avi
Thanks Christophe! Is “creating of multiple views of your master list” a manual work around? If you have 100+ projects, that might not be practical.
Hopefully, you can point me to a way where we can dynamically filter the master list (using a list column name) in project workspace.
The way I see this work is:
1) Create Master SharePoint site with a SharePoint list
2) Create Project workspace template where cewp points to the SharePoint list (in the master sharepoint site) and filters on project name column based on the project name of the workspace.
3) Each Project created will by default use the project workspace template site and have the cewp which will have list rows relevant to their project.
Let me know what you think and how can we use the existing solution for the above,
Thanks a bunch!
Avi