sharepoint

Active Directory authentication on WSS 3.0

Our customer wants to use their existing active directory to authenticate users on a new WSS 3.0 server. The company is using several domains. I have read this thread sharepoint-wss-authentication-across-multiple-domains but it does not give me the information on how to set up the sync-connection. Ive seen on meny places that AD sync is...

SharePoint Ajax web part web.config problems

Hi I am using AJAX Extensions 1.0 in my web part. It works great when I add it on SharePoint and everything runs fine. I also have links to other applications which are put onto SharePoint as IFRAME's. I run into a problem with the application inherting from my SharePoint web.config. I get this error in the IFRAME: Parser Error Mess...

Delete a Web that doesn't exist.

While setting up a test environment I was attempting to set up many different types of sites for testing various things when I ran into a strange bug in SharePoint. I was creating a subsite under a blank site template and saw the option for "News Site" so I selected it and got an error saying that the Publishing Feature was not enabled ...

Saving a document to SharePoint brings up "Web File Properties" dialog with incorrect metadata

Situation: A custom "Master Document" content type inherits from Document The "Master Document" content type has five additional choice fields There are five custom "Document Template" content types that inherit from the "Master Document" content type Each of the "Document Template" content types uses a different Word document template...

How to update a field of type spFieldUserValue from SharePoint web services

I am trying to update a field of type spFieldUserValue, you know a, PeoplePicker. The relevant code is batchElement.InnerXml = "<Method ID='1' Cmd='Update'>" + "<Field Name='ID'>1</Field>" + "<Field Name='APersonField'>32;#This is pretty much ignored</Field>" + "<Field Name='Title'>Wow edited!</Field></Method>"; result = l...

Update Files in Sharepoint Document Library

Simply put, I have a custom editForm.aspx in a document library, that uses my own custom dll. When a user edits a record, I can update all the properties associated with the file, however, when you update the actual document(ie replace it) and then Update() (Or SystemUpdate()), you get the following : The file BLAH.doc has been modified...

SharePoint: Problem Exporting Versioned List to Excel

I have a list in SharePoint that has versioning turned on. This list contains a multiline text column that stores notes about the list item. The "Export to Excel" function works and produces a spreadsheet of all the list items however, each list item only contains the most recent entry in the notes column. I'd like this export to contain...

Including Sharepoint /pages/ in Import/Export

My team and I are using multiple virtual machines on our local computers to develop a Sharepoint Site and, as this is really not supported, we are running into problems: I am attempting to use the in-house import/export features with the following commands: -- Export -- stsadm.exe -o export -url http://localhost/ -nologfile -haltonwarn...

allowing anonymous user to save contents of a form in sharepoint doc library

I have moss 2007 configured for anonymous access. I also have a public accessible form created in infopath, which can be opened in a webpage and filled and submitted. However, an anonymous user is unable to submit the form after filling it. Submit action is supposed to save the form in a doucment library. I checked the anonymous permiss...

I can't "Create or Extend Web Application" in SharePoint?

I encounter this error "Cannot find an unused port" when I want to create or extend web application in Centeral Administration. I also tried to disable the antivirus and firewall but it didn't work. The associated error with this in Event viewer is : *"The description for Event ID ( 0 ) in Source ( PrmBackgroundAgent ) cannot be found. ...

Permissions neeed for SharePoint2003 object model

Hi, I’m having some permission denied issues when I try to execute following code segment within the context of a SharePoint domain user. Please note that this particular user does not belong to any groups in the local machine. I have tried to run the following code by adding this user as “reader” and “administrator” of the SharePoint b...

Can I add object field to SPItem, to attach some kind of object to item?

Hello. I have an SPListItem object. Can I add a field to store some kind of object like ArrayList or Dictionary, or whatever? Thank you. ...

What's the best Sharepoint book for developers in C#?

What's the best Sharepoint 2007 book for developers in C#? thanks! ...

Get parent web not top level

Hi, I have make a custom lookup field and i lookup to the contacts in my top level site. but i want to lookup to a subsite. dataSource.List = site.RootWeb.Lists["Contacts"]; this is the code i used for the lookup but i reference to the rootweb and i don't want that. Someone? thx ...

Using Disposable With SharePoint Objects (Web Parts)

When writing web parts in SharePoint, are you implementing IDisposable via a using clause? Or, do you dispose of your objects in try/catch/finally? Both? Depends? Why'd you pick one over the other? Background: I'm working on a bit of inherited code that doesn't implement IDisposable, so I've been reading up to correct the problem. MSDN...

Issue accessing SharePoint list data using SSRS 2008

I'm trying to access list data using SSRS 2008. I have created an XML data source with the following connection string: "http://[Your_Site_Name]/_vti_bin/lists.asmx". I then created a dataset with the following query: <Query> <SoapAction>http://schemas.microsoft.com/sharepoint/soap/GetListItems&lt;/SoapAction&amp;gt; <Method Name...

Organising large Doc volumes in Sharepoint

I need to upload into Sharepoint around 100,000 (MS-Word) documents that are currently on a file server - added over the past 7 years. I've read that a sharepoint Document Library should really be limited to 2,000 documents, and that there are performance issues once this is exceeded. I've thought about creating a Doc Library for each c...

sharepoint web services in subwebs

I'm trying to build a web service that is sensitive to the subweb context (i.e., it exposes a WebMethod that needs to be able to touch lists in particular subwebs). I have deployed the web app with the following files: ISAPI/MyService.asmx ISAPI/MyServiceWsdl.aspx ISAPI/MyServiceDisco.aspx The codebehind: [WebService] public class M...

filter people picker

Hi, i have some customer sites and i have a issue list with a people picker. I want to show only the people that has acces to the customer site of there own company. I don't want that other customers see customers of a other company. thx i try this but i don't have any effect stsadm -o setproperty –url http://extranet.company.com/si...

SharePoint: How to get Top 5 records by using CAML query from a list.

Hi there, I have already created a webpart to show the data from list, but I really want is to only show top 5 records from that list (by using CAML query). Does anyone know how to do this? Many thanks. <Query> <OrderBy> <FieldRef Name='ID' Ascending='False' /> </OrderBy> </Query> ...