sharepoint2007

Createing a Document Workspaces for Workflow in Sharepoint

I need to create a workflow that routes a document to a reviewer and upon approval creates a document workspace in SharePoint 2007. Setting up the workflow for the the approval of the document is simple, but I'm unsure of how to create the document workspace upon approval. I want the document workspace to be created programmatically once...

Customize Current Navigation Via SharePoint API

Hi, I have a requirement to remove a number of the default nodes (i.e. People and Groups, Sites) in the left hand current navigation bar using the SharePoint API. Can anyone give me any guidance on how to achieve this? Thanks, MagicAndi ...

convert asp.net code to WebPart code issue

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 have the following code which works correctly in ASP.Net (aspx) and I want to implement the same function in a WebPart and deploy into a page of SharePoint publishing portal site....

Changing PerformancePoint Time Intelligence Post Formula Default Value

Is there a way to change the default value of the Time Intelligence Post Formula?? I have a Dashboard where I use From Date and To Date filters, to calculate the values between the user selected period, for those filters I use the Time Intelligence Post Formula,however the default when the user enters the page is always today's date on ...

Delete Publishing Pages from SharePoint Publishing Web

Hi, How can I delete pages from a publishing web using the SharePoint API? Thanks, MagicAndi. ...

Edit Existing List Item in MOSS 2007

Hello, With Sharepoint if I add a new list item, I can then click on that item to view. Then click on it again to edit, and it works fine. However, if I click on an existing item (that was added last week for instance) then I can view no problem. If I then click on edit I just get an empty page. (When I say empty, I mean that the par...

Sharepoint 2007 Custom Template Doesn't Persist List View Selection

I have a Sharepoint site with a List which has a complex View on it. When I save the site as a template and made a site from it the List contents are preserved and the View is available for selection but it is not selected by default. I have checked the "make this View default" checkbox when adding the View and if I manually go in and se...

How to check SharePoint document permissions ?

I have a custom web service deployed in SharePoint, web method of this webservice expects a SharePoint docuentUri as a parameter. As it is deployed in the SharePoint environment i am done with SharePoint authentication, but the question here is that how do i check whether the user reqesting for a perticular document is authroized or not ...

web site address issue

Hello everyone, I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I am using publishing portal. And currently suppose my root site domain name is www.abc.com, and there is a sub-site called sub1, then the root address of sub-site is www.abc.com/sub1, how to change the sub-site's root address to sub1.abc.c...

Unable to access List using web reference in Sharepoint.

I want to develop an application in C# which can access sharepoint data without any dependency to Windows Server Machine (Without using sharepoint dll). After adding reference to project I am unable to use this reference. For example Web Reference name is: "MyServer". I am unable to use: MyServer.Lists listService = new MyServer.List...

Sharepoint 2007 STSADM export exports a file, but import cannot find the file specified.

I have tried the import and export with and without file compression. Any ideas? Here is the command I am using: stsadm.exe -o export -url http://site.com/sites/legal/ -versions 4 -includeusersecurity -haltonfatalerror -filename c:\export\legalexport\ -nofilecompression Here is the line in the export log: [1/13/2010 8:33:21 AM]: Pro...

Hosting multiple sites - WSS 3.0

I am trying to host multiple internet websites on port 80 that are not linked together (4 sites in total). Do I need to create a new web application for every website I want to host? Do I need to create a new SSP for the search is not linked together? Is there a good website that explains how to do this? I am using SharePoint 2007. ...

More information required about Site Usage Reports in SharePoint 2007

Can anyone point me in the direction of more detailed information about all the Site Usage Reports in SharePoint 2007. I'm trying to find out more about how the values are calculated and where they come from (for example, is it page views vs page edits or both). Also which log files they statistics are collected from (SharePoint or IIS?...

Deploy custom web service to sharepoint server(2007/2010)?

According to MSDN, for deploying custom web service, we need to create *wsdl.aspx and *disco.aspx files, and put them with .asmx together under _vti_bin folder (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\isapi). And put the dll under bin folder of the root of sharepoint virtual directory. It works correctly f...

Sharepoint - create blank page with only webpart

A client has asked that I create a series of filters on a list, with some heavily customised output. To get the output correct I'll need to style a content query webpart using XSL - which is fine, that's pretty simple. However, my main problem is how to apply multiple filters to the webpart. I don't know how to have one webpart insert p...

web site already exist issue?

Hello everyone, I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. And I am using publishing portal template. And I am using command, stsadm -o restore -url http://machinename:8090/siteabc -filename c:\backup\siteabc.bak But met with the following error -- there is a web site already exist on "/siteabc...

SPSiteDataquery returning null datatable

Hi, I need to query all the subsites of a site I m in. I have list called Country which is 2-3 sub level of site my webpart is rendering. My code till now is this.. Country is custom list,DT1 is coming out to be null. I don't know where I m getting wrong , any idea on this? SPWeb web = SPContext.Current.Web; SPSi...

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...

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 /pages/page.aspx = good, /pages/ = access denied

So, we have a sharepoint install in three environments. In both dev and qa, we can do the following (after authentication): ://account.server.com/ In dev and qa, this redirects to ://account.server.com/somepage.aspx In prod, this brings back 'access denied'. Now, if I do this in production (after authentication): ://account.server.c...