sharepoint

WSS 2.0 - Customizing document library toolbar

Hi, I am using Windows Sharepoint Services 2.0 and was looking out for a way to add a new item to the Document Library toolbar along side 'New Document' menu item. I would like to add the menu item for the existing libraries as well as any new libraries created in future. Is this possible? I found that the toolbar items are defined in S...

SharePoint Search on default Masterpage

Hi, I am trying to enable the search bar on my default master page. In the source code of the master page there is the following: <asp:ContentPlaceHolder id="PlaceHolderSearchArea" runat="server"> <SharePoint:DelegateControl runat="server" ControlId="SmallSearchInputBox"/> </asp:ContentPlaceHolder> In the render of the page in design...

Moss Farm Issue (Front End) Web Application Service Won't Start...

So, I have three servers in my moss farm. A database server and two front-end servers... On server 1 I am able to access my web application just fine and the services are running fine. However, on server 2 I am unable to start the Web Application service; I receive a error message on the screen stating "Check the server event logs for a...

SharePoint development environment setup

Hi, i need to setup a development environment for writing Share Point Web Parts. What do I exactly need? My development machine is a Windows XP Prof. with Visual Studio 2008 Prof. If found Windows Share Point Services 3.0: Software Development Kit (SDK) and Windows Share Point Services 3.0: Tools Visual Studio 2008 Extensions, Versio...

Using Microsoft Search Server 2008 with asp.net/vb.net

I'm installing Microsoft Search Server 2008 express with a view to indexing some content for an intranet application. Having not used Search Server before, i am looking at ways of my asp.net app (.net 3.5) querying the search server. I'm just starting to look into Search Community Toolkit to see if it is relevant to what i want to achi...

Sharepoint Designer

Right, I've created a custom theme (TESTTHEME) and have managed to change various css styles etc... to fit in with my design. Now I've come to personalise the navigation I need to drop some new images to be used in the theme.css file as background images and so on. However, I can't seem to add images into the directory. I've added them i...

SharePoint Webpart deserialize error

I am getting a random web part error, it works one refresh and then not the next: Web Part Error: One of the properties of the web part has an incorrect format. Windows SharePoint services cannot deserialize the Web Part. Check the format of the properties and try again. The web parts have been on the site for a long time...

Sending asynchronous request on clicking a sharepoint web part button control

Hi, I am new to this whole sharepoint and aspx programming. I have developed a sharepoint web part that has a button control. The onclick event is mapped to a method in my web part code. When I click the button the whole page reloads and the web part is rendered again. Is there a way to prevent this reloading of the page? Is there a way...

Silverlight WebPart in SharePoint

Hi, I'm making a WebPart for SharePoint that will instantiate a Silverlight UserControl and feed it some data. My problem is that when I have created my sample-WebPart and just instantiate a Silverlight control, the webpart, when added to a page or displayed in the webpart gallery, instead of rendering blank, renders an error page saying...

Sharepoint and custom login maybe FBA

We have a moss internet facing publishing site, we need to restrict access to this web site to people who have come from another specific web site (using the http header referrer property). This has to be an automatic process (the user should not have to click ‘login’ or anything like that). How to do this? Any advice greatly apprecia...

Any tools or scripts to automatically migrate content from RoboHelp to Sharepoint?

Does anyone have any experience with automatically migrating content from RoboHelp to Sharepoint? We have a fairly large repository of content in Robohelp, and rather than manually copy and paste this into a new sharepoint site (which seems to be the current plan), I thought there must be some better way? ...

SharePoint WebPart Permissions

Hi I am using the SharePoint namespace for a webpart and I encounter some permission errors when I try to use the System account. Is there a way I can use a defined user instead of the system account? Right now I have: SPUserToken sysToken = SPContext.Current.Site.SystemAccount.UserToken; using (SPSite site = new SPSite(_SPSite, sysTo...

SharePoint web services: test if file exists

I'm using SharePoint web services in C#. I have my code working to check files and check them out using the Lists web service. I need to test to see if a file exists; I can find lots of examples for doing this using the object model API, but I can't seem to find a straightforward way of doing this using web services. ...

SharePoint 2007 Publishing site development and deployment

I am total beginner in SharePoint and I need some help in starting a project. I have to develop publishing site that will be delivered to the client. I would like to give client deployment experience like he would get when deploying standard ASP.NET application as much as possible. I plan to use Visual Studio 2008 with SharePoint extensi...

SharePoint error relating to page layout after creating site from template

Inside SharePoint I've previously created a site template by appending _layouts/savetmpl.aspx to the end of my site and new sites have been created correctly and work as expected. I've now come to do the same thing again and yet this time the new site is throwing an error relating to the page layout. The error is: This page is not usi...

DateTime Hex Format

I'm getting a hex string when converting a SPListItem's date. eg. "0x01c9d2be|0x809a8800" This question answers it. However, what's the proper way to convert it, what format is the DateTime object in? What if I want to set the datetime? Would I have to convert it into hex format and assign it as a hex string? There has to be a bette...

Handling event when approving a document.

In SharePoint, using an event receiver, how do we find out when a user has approved a document in a document library? I would think it should be captured in ItemAdded or ItemAdding event. Any ideas? Thanks. ...

Developer Documentation: Sharepoint Document Management vs. ScrewTurn Wiki

Background Info I am working on setting up a method for my company's developers to share documentation and information about our various internal systems. This would range from information that would be useful for bringing a new employee up to speed, to descriptions of common problems users have with the systems and their resolutions. ...

How to limit the number of major versions to maintain on a document library list definition?

I have 2 question here, Scenario: I have created a document library with my own list definition, having the default document library settings. There are quite number of document libraries created using my definition. Now I wanna change the version settings to limit number of major versions to 5. I came across "MajorVersionLimit" List e...

Sharepoint and SQL server Endpoint

I created a LinkedServer on MS SQL Server 2005 pointing to my Active Directory. Nothing too fancy. Simple LinkedServer with ReadOnlyAdmin Account assigned to CONNECTAS Property. Then I created some storedprocedures to retreive some data from the LinkedServer. Again nothing too fancy. Just a few simple LDAP Queries. Then I created a SQL...