sharepoint

MOSS how to edit default page layouts

IS it is possible to change the default page layouts that can with MOSS. If so where are they stored to change? ...

Sharepoint Branding

I am trying to brand share point. I have created a mastepage in the top level site. I have soem controls in there which I have overridden. When I apply the master page onto other sites my custom controls do not display but the default ones's do. Any idea what might be going wrong> ...

Sharepoint : Access denied when editing a page (because of page layout) or list item

I'm logged in as the System Account, so it's probably not a "real access denied"! What I've done : - A custom master page - A custom page layout from a custom content type (with custom fields) If I add a custom field (aka "content field" in the tools in SPD) in my page layout, I get an access denied when I try to edit a page that comes ...

Sharepoint : Access denied when trying to delete a page layout or master page

I'm getting a : "This item cannot be deleted because it is still referenced by other pages." When I try to delete a master page or a page layout. All the pages that were made with those are now gone. ...

Sharepoint workflow fails after upgrading solution

Hi I have a running workflow that is using both the parallell and OnTaskCreated Activities. The solution has bee deployed at multiple clients, I was recently working on an upgrade which required to swap out the workflow assembly. I had some running workflow instances on the server when I did the upgrade. Since then nothing has been wor...

SPListItem.Update Fails

Using the following block of code, the listItem.Update fails with a NullReferenceException: SPWeb web = null; SPList list = null; SPListItem listItem = null; try { SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite site = new SPSite(this.SiteUrl...

dynamic treeview population in a sharepoint webpart

I am trying to dynamically populate a treeview object on a sharepoint webpart. For some reason, the node population is triggered automatically and without user input. Below is a sample of how I set up the tree and webpart. Any suggestions on how to prevent the automatic populate would be appreciated. The following is in the createchi...

SharePoint Error "The list cannot be displayed in Datasheet View"

How to fix this error in SharePoint: "The list cannot be displayed in Datasheet view. A datasheet component compatible with Windows SharePoint Services is not installed, your browser does not support ActiveX controls, or support for ActiveX controls It started to days ago, for apparently no reason. ActiveX is enabled on...

How to create a Appointment in a Shared Calendar (Sharepoint) with VBA (Macro)?

I am actually trying to make an appointment from an excel spreadsheet. I have all the information of the appointment, like subject, body, start and end dates, I actually can create an appointment but only with my personal calendar in outlook. How do I copy/move/create an appointment in a shared calendar in a sharepoint server? I've tri...

Prompting a user when activating a SharePoint feature through the site

I would like to know if there is a way to prompt the user when activating/deactivating a feature within SharePoint. The background behind this is that I have a SharePoint solution that deploys several configuration files that are modified by the user when deployed to the site. I would like to either allow the user to decide whether or ...

Calling Reporting Services Web Service from SharePoint using Kerberos over SSL

I have multiple SharePoint web parts that needs to access Reporting service 2008 which is integrated into MOSS2007. There are 2 end points that I will be using: ReportService2006 and ReportExecution2005. I would like to put all the logic that calls the web service in one common assembly (class library) which will be packaged within the...

Restaurant review site in SharePoint

I'm totally new to SharePoint but my company has adopted it for internal use. As a learning exercise I thought it would be fun to create a local restaurant review site. Can anyone point me to an example or tutorial to get me started? What I have in mind is a simple site where users can enter the restaurant name, cuisine style, address, ...

Sharepoint ajax web service compatibality

I have a Sharepoint publishing site that is configured to use ajax 1.0 to use some third party controls (RadEditor, Bamboo). My problem is I have created a custom web service (.asmx) in a visual studio wspbuilder project and deployed it to the ISAPI folder. The project is set up to use .net 3.5 framework. This works fine for our custom ...

Sharepoint Search Delegate Controls

I have been followinf this http://msdn.microsoft.com/en-us/library/ms470880.aspx to create a delegate control to overide the default search used in Sharepoint. I am trying to make the search use a custom search scope called people. I don't seem able to do this. Could anyone please give me some tips? Feature xml <?xml version="1.0" enco...

WSS 3.0 Site Definition breaks when including MasterUrl in onet.xml

I have created a simple site definition for WSS 3.0 which uses a feature, this feature provisions a master page into the masterpage gallery. This works absolutely fine, and once I've created a site from the definition I can go into the masterpage gallery and view my provisioned file. If, however, I set the MasterUrl in my Configuration...

Button Click event not getting fired in Webparts when inherited from other webparts

I have 3 Webpart namely WebPart-1.dwp, Webpart-2.dwp and WebPart-3.dwp. I have the following scenario: WebPart-1 : WebPart-2 (Inheritance) WebPart-2 : WebPArt-3 (Inheritance) WebPart-3 : Microsoft.SharePoint.WebPartPages.WebPart (Inheritance) If I load WebPart-1, all the web parts gets loaded correctly but the click event of the ...

reading xsl file from document library sharepoint

Hi, I know it cud be quite simple questions for most of you. But I am not able to load xsl file from sharepoint document library. i m trying to do this getXSL = Server.MapPath("//Documents/myxsl.xslt"); XslCompiledTransform xslt = new XslCompiledTransform(); xslt.Load(getXSL); but if i m doing like this it is taking it ...

When to use SharePointPermissionAttribute

When do I actually need to decorate my methods with the SharePointPermission attribute? I've come across some code samples that have them and some that don't. ...

Get all webpart properties via Powershell for each page in SharePoint site

Hi, I have a site in Sharepoint 2007 (not mine personally) with some subsites. For each subsite, and each of its pages, how can I get all the webpart's properties? This is using Powershell (Server does not have Visual Studio, another matter). Thanks ...

when this javascript function is called?

Hello everyone, I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I am developing using VSTS 2008 + C# + .Net 3.5 + ASP.Net. I am learning the following code dealing with javascript, my confusion is for $(function(){...} part of code, when it will be called and what is its function? I did not see any code...