sharepoint

WSS Features and Data Storage

When developing complex features for SharePoint, what is the recommended method of data storage? Should you constrain yourself to SP Lists and all the limitations that come with that, or use your own database, or create tables within the SP database? ...

How to migrate sharepoint 2 survey to sharepoint 3.0

I am trying to migrate surveys from an older sharepoint site to a new 3.0 version of it. I exported the old sharepoint surveys as spreadsheets and I know how to import the surveys as regular lists. But how do I import the spreadsheet data as an actual survey rather than a regular list? ...

Customized Sharepoint List Add/Edit page is slow to load

I have a list with about 3000 items in it. The editing page is taking forever to load but the rest of the site is fast. I thought it had to do with having a Lookup column on the page and using the multiselect drop down but after replacing it, I am seeing no difference. The page is about 118kb and take about 5 min to load. Any ideas o...

How do I set a friendly name for SharePoint custom property enums?

I have a simple web part with a custom enum property (which SharePoint renders for me as a dropdown). Is there a way to render friendly names for the enum values? I have tried System.ComponentModel.DescriptionAttribute, but it does not seem to work. I also tried Microsoft.SharePoint.WebPartPages.FriendlyNameAttribute, but it canno...

Best practices for applying changes to a SharePoint application

I feel like I need a better defined framework for updating my SharePoint (MOSS 2007) application with custom code changes. I am creating wsp solution files with features and new types and such, but once those get tested and deployed, I feel like it's a bit of a leap of faith, and that makes me nervous and occasionally reluctant to deplo...

Sharepoint/WSS: helping writing xpath conditional expression

Assuming there is some way to do this... I am using WSS 3.0 and SP Designer 2007. I've changed a list to its XSLT data view in SPD, and am trying to add a formula to display the first 250 characters of the body text, and then IF there are additional characters, add a "(more)" link to the list item. The problem I'm running into is the co...

sharepoint web service Maximum request length exceeded even if the file is inside the max file size

Hi, I have configured the web.config to allow 50 MB <httpRuntime maxRequestLength="51200" /> but when I try to add an Atachment of 40MB to a sharepoint list it fails. But it works if I increase the maxRequestLength to 52 MB <httpRuntime maxRequestLength="53248" />. What is happening?? does the web service call increse the size of the ...

Programatically create web application & sub site

I am using the following code to programatically create a web application & sub site, try { SPWebApplicationBuilder webAppBuilder = new SPWebApplicationBuilder(SPFarm.Local); SPWebApplication newApplication; int myPort = 3333; webAppBuilder.Port = ...

Add ASP.NET control to Sharepoint Web Part

Hi. I'd like to dynamically add an ASP.NET LinkButton to my SharePoint web part. I'm hooking the LinkButton up with an event-handler, but when I execute the code it seems the event is never fired. Where in the life-cycle (which event) should I add such a control and how? Thanks. ...

Debugging Sharepoint timer jobs

Hi all. I am creating my first Timer Job and want to debug it. I have installed the timer job through a feature, and added it to a webapplication's JobDefinitions collection, and added a SPMinuteSchedule to run every 5 minutes (for testing purposes). Then, in Visual Studio I've tried attaching the debugger to the WebApplication's Proces...

Preserve SharePoint display formatting on my custom SPGridView

Hello. I'v used SharePoint:SPGridView control in aspx page to display data as I would like it (It's as simple as two column grid with no filtering/grouping or whatsoever). But how do I inherit formatting, so my SPGridView would look something like default sharepoint list? It now appears as: ...

How do you use the CopyIntoItems method of the SharePoint Copy web service?

I am attempting to load document files into a document library in SharePoint using the CopyIntoItems method of the SharePoint Copy web service. The code below executes and returns 0 (success). Also, the CopyResult[] array returns 1 value with a "Success" result. However, I cannot find the document anywhere in the library. I have two qu...

WSS 3.0 - Can not display created custom template lists with web services

I have created a custom list from another list in sharepoint, it is saved into the "List Template Gallery" I need to get this new list template by using web services, but the .GetListTemplates method of lists does not retrieve the custom templates. How can I get the custom templates?, so then I can use it to create a list. ...

WSS licensing and pricing

Looking for a clear answer on the licensing costs of WSS 3.0. I've read no fewer than 50 web sites, including every relevant MS resource, and the answer still isn't clear. We are a web host looking to provide WSS solutions to our clients as follows: Scenario 1 Company extranet with forms authentication. Every user will be an authenti...

SharePoint: Temporary switching PageLayout of PublishingPage in HttpModule fails

Im working on an edit/display mode switch of MasterPage and PageLayout. I asked a question on this before (http://stackoverflow.com/questions/981685/how-to-dynamically-switch-pagelayout-and-masterpage-of-sharepoint-publishing-page). The nicest approach seems to be a HttpModule where to switch MasterPage and PageLayout to edit specific va...

Developing a non english language Sharepoint site

I need to develop a multi language sharepoint site, (English / French ) for example. I installed the french language pack with Service packs. I used variations, added labels for En-US and Fr-FR and created the hierarchies. The problem is that when working with the french site, All Sharepoint menu items are in french. This is very hard fo...

How do I rename a file using the SharePoint web services?

I have a custom definition for a document library and I am trying to rename documents within the library using only the out of the box web services. Having defined a view with the "Name" field supplied and trying the "LinkFilename", my calls to rename a file are respectively returning a failure or ignoring the new value. How do I rename...

Get the numerical value of an SPFieldCurrency field

I am using SPFieldCurrency column in one of my lists. My custom code receives a string value as a parameter, which contains the field's value as returned by the GetFormattedValue() method. Now my problem is that the value received by my method contain currency symbols in them, Eg, 10$, 10¥, 10€ etc. Because of the presence of the curr...

How to show Java portlets in Sharepoint

Does someone know/have experience in showing Java web application generated UI in Sharepoint? We have a Java web application and are evaluating the possibilities to embed Java-generated web UI into Sharepoint. I don't think Sharepoint supports Java portlets, but it might support consuming WSRP? ...

MOSS and Reporting Services

Can I provision reporting services reports to MOSS 2007 or do I need to use Performance Point? Would love to hear how people have done this. ...