sharepoint

Forms in SharePoint

If I want to put a form up on SharePoint, is it easier to use InfoPath or build a custom web part in C#? Are there other options that I should consider? What are the requirements and hurdles for each option? ...

Webpart feature not adding Description

I am adding a webpart to the webpart gallery as part of a feature within a solution. When the webpart is added to the gallery, the webparts Description field is being overwritten by an empty string. I have added a description to everywhere I can think of, including: The webpart itself. myWebpart.webpart <property name="Description" ...

In sharepoint designer's workflow editor how do I get the workflow initiators username?

In Sharepoint designer's workflow editor I wish to retrieve the username/name of the work flow initiator (i.e. who kicked it off or triggered the workflow) - this is relatively easy to do using 3rd party products such as Nintex Workflow 2007 (where I would use something like {Common:Initiator}) - but I can't seem to find any way out of t...

Deployment of custom content type, forms, cqwp, and xsl.

Right now I have a visual studio project which contains a custom content type that I made. It also contains all the necessary files for making a sharepoint solution (wsp) file and a script to generate this. Now, I would like to do 2 things. First, I'd like to create a custom display form for the content type and include it in my solu...

Develop SharePoint web parts in ASP.NET

I have been asked to develop some usercontrols in ASP.NET that will at a later point be pulled into a SharePoint site as web parts. I am new to SharePoint and will not have access to a SharePoint server during the time I need to prototype these parts. Does anyone know of any reasons that this approach will not work? If this approach is...

Firing a SharePoint Workflow by updating a list item through List Webservice - MS verified bug, solved

I am developing, a simple SharePoint Sequential Workflow which should be bound to a document library. When associating the little workflow to a document library, I checked these options Allow this workflow to be manually started by an authenticated user with Edit Items Permissions. Start this workflow when a new item is created. St...

Sharepoint: How to set the permission to edit WSS user profile

Hello, I'm running a SharePoint Application on a MOSS 2007 with a form based user authentication without using the MySite feature. So all the settings on the SSP administration site which only concern the user profile on the MySites should normally not affect the user profile of the application as these should be managed from WSS. But ...

Infopath doesn't render background colors/pictures w/ Outlook Task/Sharepoint

I am using Infopath forms to collect information to trigger my Windows Workflow sitting on Sharepoint 2007. The Infopath forms have logo's and branding which only show up on the Sharepoint portal but the infopath forms which are emailed when tasks are created during the workflow look different as in the background colors (Infopath Theme)...

Secure only Login.aspx for a site

Hi, Is it possible to secure only the Login.aspx page (and the postback) and not the whole site in IIS? We are looking to do this specifically with a SharePoint site running Forms Based Authentication against our Active Directory. Links to this will be helpful. This is what we have done so far: 1. Setup SharePoint to use FBA against ...

Sharepoint: Deploy Custom Lists and New Columns in lists

I've created a custom list & also added a column in the Announcement List. Question is, how can I include those newly created items when I create a fresh Web Application (like a script, feature or something)? Additional Info: It's like when you're to deploy from your development machine to a staging or production server. I'd like to h...

How do I interpret error codes from FrontPage Extensions?

Wrong answer was autoselected by the stupid bounty system. I'm using front page extensions to interact with SharePoint Services 3.0 as described here. In most samples I have seen the client simply looks for particular English strings in the result and uses that to determine if an error has occurred. However, I am writing an application...

Something Good & Something Bad about SharePoint

I'm trying to wrap my head around SharePoint. Why is it good? Why is it bad? At a glance it appears to offer some incredible collaboration tools. However, the cost looks astronomical and it seems to be rigid & difficult to customize. To those who've worked with SharePoint; please describe something good and something bad about it. ...

Programmatically logging to the Sharepoint ULS

I'd like to log stuff in my Sharepoint Web Parts, but I want it to go into the ULS. Most examples that I've found log into the Event Log or some other file, but I did not really find one yet for logging into the ULS. Annoyingly, Microsoft.SharePoint.Diagnostics Classes are all marked Internal. I did find one example of how to use them a...

.NET Architectural issue: 2 Web Services, how do I change which one is used at run time?

I am working with Reporting Services and Sharepoint, I have an application that leverages reporting services however a client would like our application integrated into sharepoint. Currently we are tightly coupled to the ReportService.asmx webservice which exposes various methods for performing operations. Reporting Services has somethin...

Automatically set list item permission, after new item is created

We have a SharePoint Team Site (WSS 3.0 not MOSS), that includes Tasks list to records every tasks related to a project. Here's the scenario. Users : List item Supervisor1 TeamMember1 TeamMember2 TeamMember3 How do we set the permission settings so that Every users (Supervisor and team members) can see any tasks. Supervisors can ...

Have you moved MOSS SharePoint 2007 out of the C:\Inetpub\wwwroot\wss\ folder?

Is it best practice to not use C:\Inetpub\wwwroot\wss\ for SharePoint? My concern is that the configuration wizard seems to look for this C: path and it may be too complicated to not use the default path(s), ...

Unit/Automated Testing in a workflow system

Do you do automated testing on a complex workflow system like K2? We are building a system with extensive integration between Sharepoint 2007 and K2. I can't even imagine where to start with automated testing as the workflow involves multiple users interacting with Sharepoint, K2 workflows and custom web pages. Has anyone done automate...

Debugging SharePoint 2007 Code

How do you debug your SharePoint 2007 code? Since SharePoint runs on a remote server, and I'm developing on a windows xp machine (with the necessary .dll files copied into my GAC), I haven't had much luck with finding easy ways to debug. Breakpoints don't work, etc. The best way I've come up with is to enable page tracing in the web.c...

Sharepoint third-party forum

Does anybody know of a good forum for Sharepoint. The one it brings by default is appalling compared to phpBB. In our company we are trying to move towards Sharepoint and unify our collaboration through it but the forum is one of the more lacking aspects. Even the wiki manages to be slightly better. Does someone know of any good freewa...

How do I rename a SharePoint virtual machine

I am using virtual machines for development,but each time I need a new VM, I copy the file and create a new server, but I need a new name for the server to add it to our network. After renaming the server, the Sharepoint sites have many errors and do not run. ...