sharepoint

SharePoint Designer Workflows - tips and resources?

I'm working on revising some existing SPD WF's and strugling with some of the concepts including why 2 appearingly alike WF's doesn't produce the same output. Are there anyone of you that has worked with SharePoint Designer / Workflows and knows any good resources (more detailed than the MSDN introductions) or tips on the matter. E.g. o...

Order of calling of CreateChildControls() and ApplyChanges() methods in a SharePoint web part

I am creating a web part for SharePoint. I have a custom editor part which is overriding the SyncChanges() and ApplyChanges() methods (among others). The problem is that when I click OK in edit mode, the page is switched to browse mode, but data (propeties) which were changed in the EditorPart and saved in the ApplyChanges() method are ...

Change document library "Type" after it has been created from list definition

When beginning to develop against SharePoint I did not fully understand all the ins and outs initially. I created a list definition (for a document library) and associated various custom actions to it. Unfortunately, I used the following for the list definition itself: <ListTemplate... ... Type="101" ... And to register the CustomActi...

Create a directory on UNC Path web part sharepoint

I have created a web part which renders a button, on click of this button I want to access the directory of the other machine in LAN. Once I get the access to this Directory I will create a nested directories inside it with different extensions of files, but the problem is when I tries to access this folder by UNC Path it is giving me er...

SharePoint SiteDefinitions

I have created a simple site definition based on the publishing portal. Every time I want to use the template to create a site-collection I get the following error-message: The template you have chosen is invalid or cannot be found. I do not use any custom feature, just the default features with the publishing portal site-def. Any hint...

MOSS vs. traditional ASP.NET

I am in process of evaluating MOSS (SharePoint) and traditional ASP.NET for my client's site. The site will be available to client's partners over the internet. I'm interested in differences between these two approaches from following perspectives: Development perspective. How does development differs? What are pros and cons of both a...

Error using QueryString, SessionVariables and ViewState in SharePoint

I am doing webparts in sharepoint and I want to transfer the data from one to another. I tried the 3 ways but they all fail. Any idea? It just says An unexpected error has occurred. ...

Problem with final branch in a parallel activity

This might seem like a silly thing to say, the final branch in a parallel activity so I'll clarify. It's a parallel activity with three branches each containing a simple create task, on task changed and complete task. The branch containing the task that is last to complete seems to break. So every task works in it's own right, but the la...

Sharepoint - How to agregate Announcements from sub-sites onto main site

I am new to Sharepoint (WSS 3.0) and have the task of creating a company intranet. This site will have a number of sub-sites - each owned by a different department. Each of the sub-sites will have an 'Announcements' webpart on their top-level page. What I want to do is to take the most recent announcement from each of those sub-sites an...

How do I implement user theme switching in SharePoint?

My customer wants to provide 2 themes for a SharePoint application. Is there a strategy to accomplish this in MOSS 2007? We want to apply user profile-based theme selection, and maybe even a drop-down to switch modes. ...

Sharepoint Designer is very slow; what are the alternatives?

A colleague of mine is trying (for the first time) to develop an application with SharePoint Designer. The structure of the data is very simplistic -- however there are a lot of fields/columns (several hundred). He's complaining that the designer is incredibly slow. Any change apparently causes some type of screen refresh that takes a...

How to handle SharePoint deployment of wsp? Take site offline?

What is the recommended approach to handle a SharePoint deployment via a WSP? During the deployment of the WSP the web site returns an HTTP 503 Service Unavailable response. I am doing the WSP deployment with a series of stsadm.exe commands from a bat file. I know I can probably drop an app_offline.htm file in the virtual directory fold...

SharePoint - Open Document Library PDF in New Window

I want PDF files in MOSS 2007 Publishing site document libraries to open in a new window. Is it possible to achieve this by creating a custom HttpHandler? I don't want to mess with a site definition for something as basic as this... ...

How to automaticaly print a form when a new item is posted to a list in SharePoint?

How to automaticaly print a form when a new item is posted to a list in SharePoint? I created a list in SP, with customized Entry and Edit forms and a workflow that connects them. Everytime a new item is posted the Entry form needs to be used, but when I click submit I need the workflow not only to post the item to the list, but also ge...

Access network folder programmatically WSS 3.0 sharepoint

Hi All, I want to create a web part which will contain a button, on click of that button I want to access the network folder and apply the business logic such as create a file/folder, delete a file/folder e.t.c. I do have created such kind of web part but it's giving error like "Could not find a part of the path '\comp01\ibc'" while ac...

determine the user on SharePoint

How can I know the user logging onto SharePoint through code? I am using WebPart inside it SmartPart and inside it a User control. ...

User control with ajax fails to load in smart part with ajax

Hi All, I have a user control with some ajax functionality. I am using smart part with ajax to load user control. I have put this user control in my virtual directory i.e(C:\Inetpub\wwwroot\wss\VirtualDirectories\2323\UserControls). But while loading it is giving me an error as follows Error: unable to load ~\/UserControls\Vendors.asc...

How can I create a new user (visitor - read only) in SharePoint?

What I find is only adding existing users to a group or creating a new group, but I couldn't find anything that allows me to create new users. I'm logged in as administrator and there are no more users anyway. ...

increase text size font in Sharepoint website

Has anyone implemented an ‘increase, decrease text size’ java script function in a Sharepoint web site? I’m attempting it using the getElementByTagName and getElementByID functions but they don’t seem to be doing much and behaving very oddly - by not selecting the correct tag at all. All the examples on the web have really simple marku...

Default Content Type and Content type order using Folders in a Sharepoint List

I have a Custom List Definition (schema.xml) i have set up Site Columns (through A feature) and numerous content types also through a feature, this all works fine. I have a list definition (schema.xml) and i have put the content types at the top in the order i want them to appear (assuming that the top content type will be the default fo...