sharepoint

SharePoint Item Event Receivers and Site Creation

I have created an Item Event Receiver for a document library and I have test that the logic works correctly and it all does. The next thing I wanted to do is automatically create the list when a site is created so I added the list to the ONET.xml file for the site: <Lists> <List Title="Documents" Description="Documents " url="MyDocume...

MOSS 2007 - Using Connectable WebPart - Consumer has TextBox

I have 2 webparts which are connected, where the provider sends a string to the consumer. However it fails to work if I put any TextBox controls in the consumer webpart. (works fine if I use a Label or Literal control. The idea is that the consumer is to be composed of form controls like TextBoxes. e.g. the codeproject sample at http...

Security Problems when Extending a Web Application in SharePoint

So, I had a site running (http://servername) and wanted to add another URL, http: newURL to get to the same content. I wanted both sites to use the same active directory domain for users/authentication. I extended my existing web application so that the new URL would work. I configured the authentication provider for the new zone to b...

Powershell remove user from specific group in sharepoint

I am trying to remove a specific user from sharepoint and have hit a wall. I keep getting the following error You cannot call a method on a null-valued expression. Code: function verifyUsers { $verify_sitepath="https://extranet.mydomain.com" $verify_site=new-object Microsoft.SharePoint.SPSite($verify_sitepath) $verify_we...

Integrating Interwoven Teamsite into SharePoint for Content Management

I'm working on a roadmap to re-architect our corporate intranet, and I'm stuck on a hard decision around content management. We own licences for Interwoven TeamSite, and we use it to manage our content for our externally-facing internet site, our main intranet, and a couple of big internal knowledge exchanges. It's looking likely that ...

SharePoint where to start?

Possible Duplicates: Getting started developing for SharePoint Sharepoint for a C# Asp.net Developer Learning sharepoint at home How to start learning SharePoint How to begin as a .net and SharePoint developer Where should I start if I have to get into SharePoint as well as ASP.NET? Career in Shar...

Error loading and running event receiver Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver

I have a custom SharePoint workflow attached to a custom ItemAdded event receiver that was working fine up until the last type I promoted it using WSPBuilder. My code is very close to this example: http://www.codeproject.com/KB/sharepoint/MOSS%5FFolderContentTypeWF.aspx I used WSPBuilder in the past but not for this project and it se...

DataGrid paging with persistent data

In a Sharepoint web part, I have a DataGrid with paging that I load with all of the data (not using custom paging - custom paging would require a significant overhaul in the current process and is probably one of the last options I can try). I was wondering if it was possible to have it page through the data without re-binding the data ...

Deploy sharepoint site

Hi all, I have created simple application in windows sharepoint services. Now I want to deploy that solution. For that I have taken backup of my site and FTP that backup to remote server. I have create Blank Webapplication on my remote server. What I want to do is now simply restore this backup on blank webapplication on remote server. ...

Configuring RSS feed in MOSS

I am trying to configure RSS feed for a pages library in MOSS. The requirement is fairly simple, it includes: display the page title display the page description (short summary) filter the feed by the content type I have done the following: enable RSS feed in site collection enable and configure the RSS feed on the list to display ...

Automatically start up ASP.NET app pool?

Is there a way to automatically spin up an ASP.NET app pool after an IISRESET or the scheduled reset so that the initial user doesn't have to wait for the app pool to load? ...

Accessing HTML source on web part zone Sharepoint

I've to retrieve all the html that will be rendered by whatever web part zone. The scope is looking for some words in the web part zone, match them with those contained in a repository and replace with different html. ...

How to show Failed status in Sharepoint Timer Job

I want my timer job to display failed status on certain condition. Should I just throw an exception or what? ...

Need a separate role for adding Users in MOSS 2007

I want to have user rights split into two. Some of the policies at the client's side mention that we should have a seperate user who has only the rights to add users and nothing else, and the Site Administrator should not be able to add users. As of now, the Site Admin is used to Add users and to manage other configuration. Can we remov...

SharePoint Developer Documentation

I will be needing to write some pretty comprehensive documentation for an upcoming project and was wondering if anyone has seen any samples of good documentation for SharePoint solutions. E.g. What should go into the documentation for: a custom site definition a feature a custom web part a custom workflow etc etc etc Any samples out...

Default selected Item in Connected web part

Hi All, I have a web part connected to another (provide a row to). It shows the radio button that when clicked correctly provides the data to the second web part. Can I have this radio button selected by default so that it automatically provides the filter data as soon as the page is loaded? Thanks in advance Sachin ...

SharePoint activate feature file not found error

I am trying to activate a feature on our production MOSS server, all I get is a file not found exception. Feature works great in test environment. What can it be? ...

SharePoint web part storage with multiple instances of web part on same page

I have a custom web part I've built, that I'm attempting to place three instances of on a single page. What I've noticed is that when I have a single instance on the page, the custom properties save and work appropriately. When I then add two more instances of the same custom web part to the page, the following web parts do not save th...

How can I determine whether or not a SafeControls entry already exists for a given assembly

I have several features which are deploying web parts into a given site sollection. The WSPs were built using the WSPBuilder add-in to Visual Studio 2008. Although the SafeControls entry is always created in the manifest.xml it is not always added to the web.config on deployment. I beleive this may be due to the fact that I have inclu...

Attaching Visual Studio Debugger to Sharepoint 2007 worker process crashes the process

When attempting to attach to the iis worker process associated with sharepoint, the worker process terminates with the following error: I have the correct assemblies deployed because adding the following line in my code causes the same effect when the debugger is not attached, similarly crashing the IIS worker process for Sharepoint: ...