sharepoint

Problem adding field to a custom list type in SharePoint

I have defined a custom list template type for SharePoint. I install it using VSeWSS 1.3 and everything seems to behave correctly. I have added a custom action which will add additional columns (SPFields) to the list. However, every time that code executes it throws and ArgumentException with a 'Value not in the expected range.' error m...

WSS web-parts trust level error

Just created a WSS site with a some custom web-parts. But I get an error: ...dont have the trust level. I edited the safecontrols section from the web.config file of the virtual server, but to no avail. ...

How to pass username to a web service from sharepoint

I'm new to Sharepoint and have tried googeling this, so sorry if I'm just being dumb. I have written a webservice that takes a username and returns some company related information about the user. I found on google that one of the best ways to use this information is be creating a data store in Sharepoint designer. I have managed to ...

set date to iso format in sharepoint through the GUI

in sharepoint can i use calculated value on a date field to set the format of a date? eg i want to set a date field to ISO format ...

Sharepoint Master Pages and Session State

I’m using Heather Solomon’s minimal publishing master page, I’ve got a simple feature with an apsx page and a code behind file that does this public class SSInformPage : Page { protected Literal Literal1; protected override void OnLoad(EventArgs e) { //base.OnLoad(e); try { ...

Newb needs to learn how to query .asmx web service

Hiya, I've been thrown a project which I have to say I've not got the faintest idea where to start so I'm hoping someone can give me some pointers here! I'm working with a SharePoint intranet, and I need to query a web service which has been set up. In the words of the guy who set it up: The result of that query will be a DataS...

Sharepoint lookup column custimization

I'm developing a customized document library in the SharePoint 2007 environment. What I'm doing is creating a content type with multiple columns of information related to the document. Users will use this content type to upload new documents rather than the standard new document functionality. One of my columns in this content type is...

SharePoint SPListItem.ContentType.Name - "Message" vs "Discussion" ?

I am writing a C# code to find all of our SharePoint Sites that have emails contained in the Email List page. It appears that some of our email messages are SPListItem.ContentType.Name = "Message" and some of our email messages are SPListItem.ContentType.Name = "Discussion" Aside from the confusion, this is forcing my to cycle through m...

Sharepoint Image library with custom thumbnail and video

Hi, I've set up an Image library in SharePoint, and have written a tool to upload an Image and a custom thumbnail. This works like a charm, with the custom thumbnails being shown correctly. However, users are now uploading videos with custom thumbnails, and though the thumbnails follow the proper convention for naming (are are being pu...

Generating unique random string in SharePoint document library

I'm working on customizing a SharePoint document library called "Quality Documents" so that when new docs are added to the library, a random and unique number is generated and applied to a field named "Document Number". I coded the feature below, but it's not working. Can anyone see what might be the problem? Nothing happens, no error...

Has anyone found a video streaming solution for Sharepoint running on Windows Server 2008 64-bit?

Background We're doing a proof-of-concept around Sharepoint 2007. It's installed using VMWare on Windows Server 2008 64-bit. This covers the whole farm which is 2 front-end boxes, one database box and one index server box. Problem We're trying to use the PKS podcast kit from Codeplex. We run into two problems: video vs search. One sit...

Getting started developing for SharePoint

This is in response to the answer given for the case: http://stackoverflow.com/questions/702556/sharepoint-calculated-column-replace-all-spaces I'm having the exact issue that the original poster has and I'm fairly new at doing development with SharePoint meaning I have yet to venture into doing coding. Can someone point me to a link o...

Is sharepoint good for project management?

Is Microsoft Sharepoint a good solution for software project management? Any gotchas I should be aware of? Can it integrate with SVN? Am I better off turning towards other solutions like Trac or Redmine? I am familiar with this question Software Project Management in Sharepoint But I more interested in the opinions of other develo...

assign a value to a custom column when a document is added or created in a sharepoint document library

I thought this would be pretty simple, but guess not. I have the following code, it deploys and activates just fine, but when I add a new document to the document library, nothing happens. No errors either. And this is taken directly from another example from someone online who said it works. Here's the code for my feature: using Sy...

How do I create a new user in AD from SharePoint.

I am looking to have a SharePoint Extranet Portal setup for my "partner" clients. I want to make a site admin for each extranet site for each client. This admin would be able to add new users to the portal AND have that user be created in AD (Active Directory). Has anyone done this or know of a good tool that would provide me that abili...

"ASP.NET MVC" CMS in Sharepoint Services

I'm evaluating the options for a CMS in ASP.NET MVC. I'm currently working on a multi-tenant app that requires CMS funtionality. I've been looking at N2, Mojoportal etc, but I'm also interested in what SharePoint Services could bring to the table. Specifically I don't want a SharePoint site but rather I'd like to potentially use the shar...

Why SharePoint Changes URLs from other web applicatons to the current web application and how to avoid that

Dear ALL, I'm using sharepoint object model to develop a web part that gets List items from a list in a different web application, I did that protected override void CreateChildControls() { SPSite site = new SPSite("http://myhost/"); ListViewByQuery lview = new ListViewByQuery(); SPWeb web = site.OpenWeb(); lview.List =...

SharePoint VS workflow emailing to a SharePoint group

I have a code activity that sends an email in a VS workflow. It simply sets the 'To' property to the name of a SharePoint group in the site collection. However, only the 1st person in the group gets emailed. Any ideas why this is happening? thanks ...

Best Practice for Accessing SharePoint List Item through Object Model

I would like to know the best Practice that you guys follow when it comes to access the SharePoint List Items / Doc Lib using Object Model. To start let me share few things I have found. Limit the number of Items Per container to 2K items. Use ProcessWebData method of SPWeb to do Update/Insert of Large items ...

Evaluate SPListItem field values using debugger

How do I evaluate SPListItem field values using VS debugger? Best I get is only a list of Field names, but not values. ...