sharepoint2007

how to check-out document in document library programmatically in sharepoint

how to set a document in check-in/out mode programmatically by using webservices or objetmodel in sharepoint ...

Sharepoint: Is there a maximum number of permission levels?

Hi, I get an error when trying to add a new permission level that due to a "contingency limit" I cannot add another permission level. I should delete an existing one and try again. (Sorry, no original error msg as this originates from a German WSS install, hence this is just a translation). There are about 1000 permission levels alread...

SharePoint Deploy WSP to another server

I made my first WSP with VS2008, and used WSP Builder to build and deploy to my local install (SharePoint and VS2008 on same dev box). Now I want to get the WSP onto a staging server, in general, how is this done, copying the WSP to the remote server's file system then using STSADM? ...

General Sharepoint What is a Web Part Question

I'm learning SharePoint development. I read some general how to build a web part, but I'm wondering what a web part is in general? Big picture, why are they used, what problem is it solving? ...

Why do I need to create Mutiple SSPs

Why do I need to create Multiple SSPs in MOSS? My manager (sharepoint administrator) asked me to create another SSP which he wanted to use for TOP Management users. He didnt tell me what was the reason for it. I was wondering what all scenarios we need to create Multiple SSPs. Any ideas? ...

Permissions to Search on SQL - MOSS 2007

How to provide permissions to Search account on SQL Database? ...

site collection Creation time?

How to find the creation date & time of the site-collection in sharepoint 2007? ...

How to create a PeopleEditor ?

Hi, I am building a windows application that upload documents to sharepoint document library and modify its column. My problem is that i'm uploading a file to document libary that has a people editor column. To solve my problem I want to pop up a windows form containing a people editor so users can pick the users or groups to fill in t...

lookup field control

Hi, I'm developing a windows application that updates item properties. what should i have to do if a document library have a lookup field or a people editor? what is the control to use? ...

Delete redundant MOSS content database entry

In a sharepoint content database we have noticed there are a couple of records in the all_docs table that reference documents that no longer exist. The listid guid that they are associated with is not in the site so we have no way to view them and delete them. I think this was a result of moving a content database from another environmen...

SharePoint 2007 lists webservice - identify revision of list item

Using the lists webservice I retrieve the items from a list. In the XML returned I can see the attribute ows__IsCurrentVersion="1" which I assume is the same as the file object model (i.e. a boolean to say if it is current or not). However I do not see a way to identify what revision it is? What should that attribute be? ...

Query list items based on what permissions they have

Don't know how to google for such, but is there a way to query all the items where Permissions are unique to listitem These unique permissions contains assignment for specific group X. ...

Custom column using MOSS Search Service

We are using out of the box MOSS search web service to retrieve meta data of the documents. We are able to retrieve the document name, document link, author, last modified person, last modified dates of the documents in SharePoint. There are some custom columns added in some document libraries in SharePoint. We would like to retrieve the...

Copying Sharepoint "list" from one Sharepoint Server (2007) to Another Server(2010) using c#

Hi All, I want to programatically copy List of One Sharepoint (2007) to another Sharepoint(2010). Using Sharepoint web services.(C#) How should i proceeed? Regards, Jene ...

Calling a custom SharePoint web service from ASP.Net AJAX gives a 403 error?

I have developed a custom SharePoint web service, and deployed it to /_vti_bin/myservice.asmx. As a "regular" user, browsing to that ASMX URL works fine. When I try to browse to "/_vti_bin/myservice.asmx/js" as required to call this service from ASP.Net AJAX, I get a 403. If I browse to it as no less than a farm admin (site collection...

How to Use DataSource Property in DataFormWebPart

I'm writing a custom web part that extends DataFormWebPart. public class MyCustomWebPart : DataFormWebPart{ // other methods public override void DataBind() { XmlDataSource source = new XmlDataSource() { Data = @" <Person> <name...

SharePoint custom master page deployed via WSP

I made a solution to deploy a custom master page (a WSP file). After I activated the solution, I fired up SPD to make a new page based on the custom master page. My elements.xml file has: <Module Name="AddCustomMasterBMW1" Url="_catalogs/MasterPage"> <File Url="customWSPTest1.master" Type="GhostableInLibrary" IgnoreIfAlreadyExists="TRUE...

sharepoint FullTextSqlQuery

hy, In FullTextSQLQuery,when using the operator "contains" or "does not contain" with the column "Author", it gives wrong results. any ideas?? ...

Catch 22 in deploying SharePoint WSP?

I deployed a WSP vis VS2008 WSPBuilder. The WSP is to deploy a custom master page. After deploying and activating the solution, I set the new custom master as the master. When I try to surf to the application, I get an error. I fixed the error in the file in VS2008, and deployed again (I did not deactivate the solution first, should I ha...

SharePoint WebPart Install Error

I have created a WebPart. When I add the WebPart to a page I get the error below. If I delete what is in my constructor for my WebPart it will then add to the page. Then if I deploy my code with the WebPart all ready on a page the WebPart will display correctly. I can't add it to other pages I get the error before. So I presume that ...