sharepoint

WSPBuilder, Config Store and partially trusted callers

Has anyone used WSP Builder to package a solution that uses the Config Store (http://www.codeplex.com/SPConfigStore) and deploys to the bin directory of the web application? When I try to referecne the config store in my code behind file I get this exception... System.Security.SecurityException: That assembly does not allow partially t...

Upload to a document library

Hi, Is there a programmatic way to differentiate between an addition of a New document and the Upload of a document in a Document Library? (Moss 2007) I want to make a document upload raise an ItemAdded event only after some required fields have been filled, by default it is raised as soon as the upload itself is done by browsing to the...

Synchronizing Sharepoint and Active Directory Groups?

Not sure if this belongs here or on Serverfault. I have a Sharepoint installation and several Active directory domains. In each domain, I have some Security groups. I need to create Sharepoint groups that contain those Active Directory groups, but I need to inlude the actual users instead of just the security group. (So in I have Group...

VB.NET in Visual Studio 2008 on Vista 32bit building a WSP

I am trying to build a WSP file in VS2008 on my VB.NET project. How would I go about doing this? I can find a lot of plugins for C# but not VB.NET. ...

WSS 3.0 Site Provisioning

Is there any way to do WSS 3.0 site provisioning? My client's requirement is attributes as variables that will be defined in XML format: Organization Name, Logo, Address, User and Role information. The client should be able to install this web application to any WSS production server by just defining the attributes in the XML file. Is i...

display fieldname and value of sharepoint list

I have a sharepoint list, and want to get all the items of that list and and loop through each field of each item to output someting like: "fieldname: value" how can i do it? thanks ...

How to create a wiki page (=item) in Sharepoint programmatically?

Hi, how do I create a wiki page and add a title, as well as some content in sharepoint (via webservices)? This is my SOAP message so far: <soapenv:Body> <soap:UpdateListItems> <soap:listName>Cooking Wiki</soap:listName> <soap:updates> <Batch OnError="Continue"> <Method ID="1" Cmd="New"> <Field Name="...

Parser error when trying to wrap child controls

I have developed a server control inherited from WebControl that wraps any number of child controls and changes their output. The control class is very simple and only contains the RenderContents method. Here is an example of how it has been placed on the page. (Not included: registration of control namespaces.) The intention here is th...

Drag-n-drop emails to a SharePoint library

Problem Statement: There is a Document Library named "Temp". This library is associated with a content type "Cnt_Temp" which contains the DropDownList for the field document type Legal Document, Preview Document, Art Document, Presentation document etc. Now I open a library in Explorer View and drop an Outlook 2007 email (sample email) i...

BusinessDataList Web Part Edit view using code.

I am adding BDC List Web Part programmaticaly in the Sharepoint. I want to edit view using code too. Like "Retriever items that meet these criteria" and allow Paging...I tried to do using following code... BusinessDataListWebPart consumer = new BusinessDataListWebPart(); consumer.View.AllowPaging = true; consumer.V...

Update Item attribute in sharepoint using web services

I got this code in VB. and it doesn't do anything.Can anyone help me under stand why and give me a solution? Dim updatestr As String = "<Method ID='1' Cmd='Update'>" + _ "<Field Name='Title'>Ficha_router</Field>" + _ "<Field Name='ID_Cliente'>0000</Field>" + _ "</Method>" Dim xmlDoc = Ne...

DateTimeControl in Sharepoint (c#)

Hi all! I'm trying to change the default values in the "time" drop down list that the DateTimeControl displays in Sharepoint. I want an increment of 15, not 5 minutes. Anybody has any idea how this could be done? Can I overload a method or something? ...

Are WCF Web services compatible with Sharepoint?

I am trying to place a dataview webPart on a WSS page through Sharepoint designer, consuming a WCF Web service, buth when I place the WSDL of my Web Service, it gives me an error. I migrated the WS to ASP.Net WS and it work perfectly. The error is related to the Soap envelope. I am using anonymous consumption for now (don't want to ad...

Sharepoint - how to enable caching w/o server access?

I am using WSS 3.0 in a hosted/shared (read: can make no server-side changes) environment. Unfortunately, between SP and IIS, almost nothing is getting cached, so page loads can be terribly slow. We have a bunch of custom image, JS, CSS, etc files that are currently just in a /img, /js, and /css directories, all of which are grabbed ea...

How to Display SharePoint controls in ASP.NET Designer in Visual Studio 2008

How I can display SharePoint controls (such as the PeoplePicker) in an ASP.NET Page in Visual Studio 2008? I drag and drop the PeoplePicker but it gives me: Error rendering control. ...

Sharepoint - Fields appears twice on View / New Item

I have a problem in a SharePoint list - some fields appear twice on the Display form, New Item form and on the list settings page. Both fields have the same ID and the same property page (same URL), so hiding one hides the other. Using SharePoint Manager I can only see one field, but maybe I looked at the wrong places? Has anyone experie...

Program custom permission level

Hello. Can i program custom base permission level? There are many available in SPBasePermissions like UseRemoteAPIs Use SOAP, WebDAV, or Microsoft Office SharePoint Designer 2007 interfaces to access the Web site. ViewFormPages View forms, views, and application pages, and enumerate lists. ViewListItems View items in lists, doc...

Is there a way to put get the URL of the site in creation in the ONET.XML file?

I have a custom site definition, in an ONET.XML file. Can I get the URL and/or the Site name of the site that is being created and use it as a parameter/moniker in the onet.xml file? Something like this: <Modules> <Module Name="Default" Url="" Path=""> <File Url="default.aspx" NavBarHome="True"> <AllUsersWebPart WebP...

Filter out the Users logging in time

I am new to Sharepoint 2007. I am trying to configure MOSS 2007. My question is: Can we know when a user has logged in and uploaded any document to a particular site in the central database? I know these information can get from the logs but I want any application that give only these information in readable format. that way it will sav...

SharePoint/Exchange Distribution List Mirroring?

A client of mine is at a conference, and someone there spoke to him about something he called "Distribution list mirroring" - something to the effect of automatically copying emails up to a SharePoint discussion thread. That way, people can subscribe to a discussion list or visit it on their own without having to be in a mail group and ...