sharepoint

SharePoint XSLT Problem -

Hi there, I am trying to do some highlighting on some SharePoint XSLT Results. BElow is the XML that i am getting. The Problem that i am getting is that the Template Match blocks are not matching the child nodes of UM If someone can see where i am going wrong that woould be great. Thank you Chhris <rows> <row> ...

Disallow item addition in a List or Doc lib

How can I disallow adding item or document to a list or document library? Due to some other feature scenario I cannot break role inheritance and have custom permission set for the list. Today, we restrict the addition using event handler (Item adding) – but this leads to poor UX. Is there a way to have Role inheritance for a list and s...

SharePoint EventReceiver How to get the name of the column being changed

Hi i'm implementing an eventreceiver, my question is simple : how to get the name and/or the display name of the column of the current item that is being changed ? Thank you. ...

Sharepoint Up-To-Speed Tutorials

Hi ladies and gents. I just got a SharePoint project dumped on my desk to finish up by ASAP. :( Up till today I have never touched or seen SharePoint, and I only got a quick whirlwind tour from the guy doing the handover. Does anyone know of a some good learning material to get me from a SharePoint Zero to at least remotely competent? ...

SharePoint Alternate Access Mappings: Event Receiver only fires when accessing the site using localhost but not with IP or machine

Hello gurus, Context We have a SharePoint site set up on a Windows Server 2008 VM box. We also developed a SP event receiver in C# and registered it with the appropriate SP site and subscribed to the following events: ItemDeleted; ItemFileMoved; ItemUpdated; The following is list of SP info: local machine name: testsp; local ip...

SharePoint get the size of individual web sites using API

Right now all I am using to calculate the size are the files in the folders. I do not think this is all of it, because the content database size is about 15gb. When I calculate the size of all the files I get around 10gb. Does anyone know what I may be missing? Here is the code I have so far. using System; using System.Collections.G...

Excel Save As Dialog not displaying correctly..

Hi: I have developed a SharePoint WebPart using ASP.NET and C# (code behind). One of the things that needs to be done is to launch the Excel Save As dialog so that the user can save the Excel file. On the SharePoint Server box, this functionality works correctly. When I click "Export", as expected the Excel "Save As" dialog appea...

PerformancePoint dashboard permissions problem in MOSS

I have a PerformancePoint dashboard running in MOSS 2007 portal. The dashboard consists of one SSRS 2005 report, running in SharePoint Integrated mode. NT Authority\Authenticated Users have read permissions to the report library containing the SSRS report, the dashboard, and the report library containing the dashboard. Users that atte...

SharePoint AddDiscussionBoardItem via CAML and JavaScript

I have a SharePoint Message Board named ConceptsGeneralInformation. It currently has two Disccusions in it, they are named GeneralDiscussion and SpecificDiscussion. While a user is viewing a Discussion I want to allow they to post a reply. To do so I am calling the AddDiscussionBoardItem method on WSS via CAML and JavaScript. AddDiscussi...

Why is performance on a webpage so different between IE and a WebClient? (TREEVIEW!!!)

I've seen some similar posts, but nothing quite like this... I have a website (Sharepoint). When I access a particular page that has many custom-coded webparts on it, the page takes ~30 seconds to load. I've used Firebug and confirmed that the long load time is the server working (in the "Net" tab the webpage timeline shows ~30 seconds ...

Does SharePoint 2010 still have the complicated SPWeb.Dispose methods?

One of my gripes with SharePoint 2007 are the complicated SPWeb.Dispose rules that can either cause a big resource leak if you don't dispose what you have to, or all sorts of other weird issues if you dispose when you don't have to. Roger Lamb's Posting tries to summarize the madness. but I wonder if SharePoint 2010 improves this? I hav...

Sharepoint Custom List code-behind not invoked on a embedded page

I have written a custom list in sharepoint, with the onPreRender method populating the list via a webservice. The list needs to stay updated everytime it is rendered. When the list is viewed via the Lists-> MyList , the allitems.aspx is called and my code behind (a WebpartPage) gets called and the list is updated. But if i embed the li...

General Recommendation on redesigning existing sharepoint site

I have already made a site in MOSS 2007. There are couple of issues with it so the company has decided to redesign the site. Now what I want is some general recommendations as to the best possible approach for restructuring the site. What should be the first steps to move ahead. Should I start with navigation followed by groups and r...

Sharepoint Feature Visibility

In Sharepoint 2007 I have installed some commerial components. They all appear in the "Central Administration > Application Management > Manage Web Application Features Visibility" page in the administration site. All features in the list as shown as "Shown" (not hidden). When I switch to the "Team Site > Site Settings > Site Features" ...

Debug a WebPart Error in a SharePoint Page Layout

Hi, I have a page layout that I use in my SharePoint solution when I programmatically create a new publishing page. There is an error with one of the web parts that is included in the layout, so that when I am try and create the page, the operation fails. Can anyone suggest a way of debugging the error with the web part? Thanks, Ma...

Disposing object in sharepoint ?

Hi all I read the msdn article about disposing objects in http://msdn.microsoft.com/en-us/library/ee557362(office.14).aspx now I'm really confused about this. consider this example SPList List = SPContext.Current.Web.Lists["DemoList"]; SPListItem Item = List.GetItemById(ItemID); is it ok to use this or better to use: using (SPWeb we...

Solution Package - List Synchronization

How can we use Solution Package (WSP) MOSS 2007 to synchronize lists from one server to another? ...

Update Item Lookup in Sharepoint Workflow

Hi. I have several lists, each has a workflow to its item created event that creates another item in a third list. Every workflow creates an item in that list. By the way, each list has different columns, so they're not identical. Everything is fine up to this point. But i want to edit the previously inserted item (to the buffer list) ...

Unable to remove System Page fields from my content type with <RemoveFieldRef/>

Hi guys, I'm creating some content types in a feature for a publishing site in SP2010 RC using VS2010, and I am unable to remove the out-of-the-box Contact fields included in the Page content type with RemoveFieldRef. My definition looks like: <ContentType ID="0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF39...

ViewFormPagesLockDown and excluding specific lists/pages

I am working on a public facing MOSS 2007 site that uses the ViewFormPagesLockDown feature to stop anonymous users from accessing the standard list forms. I don't want to lose the additional security this feature provides, but there are a few lists where anonymous users should have access to the forms. Is there anything I can do in the...