moss

Sharepoint custom workflow activity fails silently; FaultHandler not being called (or failing)

I have a custom Sharepoint workflow activity created in Visual Studio that works and logs properly in my test environment but fails in production with a generic "Error Occurred" message in the Workflow History list. In order to debug the activity (since remote debugging against production is a last resort), I implemented step-by-step lo...

extending SharePoint List - adding a button control to the toolbar

I am creating a special Task List in SharePoint, I think that the best way to do that is through using SharePoint List Definition project in Visual Studio 2008, that's what I'm using. I want to add a button control to the ViewToolbar of the list "AllItems" page, and to specify action when this button is clicked. all the articles that I ...

Changing the Sort order on BDC Actions in SharePoint

We have a number of Actions defined in a BDC (Business Data Catalog) definition in SharePoint, and need to change the order they are displayed in the UI. Within the Action defintion, there is a Position field, which we are specifying, however, the UI wants to display everything in Alphabetical order, which isn't what we are after. An e...

MOSS: How to quickly get total count of all webs in a Site Collection?

Is there a way to get a total count of all webs in a Site Collection, without enumerating through them? ...

How to association workflow on creating of list definition

Hi, I have my custom content type, and list definition. Once we create a list from this template, by default I wish to enable "Require content approval for submitted items", "Create major and minor (draft) versions", "Enable scheduling of items in this list " and approval workflow association. My list look as :- Also i tried added a...

WSS GetListItems Not Returning Folders without Inherited Permissions when Calling with GUID

WSS 3.0 List Service I am running GetListItems() on a Picture Library (name Pictures) using the follow CAML query: <Query> </Query> <ViewFields> <FieldRef Name="EncodedAbsUrl"/> <FieldRef Name="Title"/> <FieldRef Name="ContentType"/> </ViewFields> <QueryOptions> <Folder>Pictures\Uploads</Folder> <ViewAttributes Scope="Recur...

Why does OnLoad / CreateChildControls order change at postback?

The web part lifecycle is described like this: On Page Load Constructor OnInit OnLoad ConnectionConsumer method is called if web part is connectable CreateChildControls ... On 1st Postback (PostBack click handler sets ViewState via public Property) Constructor OnInit CreateChildControls On...

SharePoint - An unexpected error has occurred.

In SharePoint I am getting the following when I go to my new web part page: Error An unexpected error has occurred. Web Parts Maintenance Page: If you have permission, you can use this page to temporarily close Web Parts or remove personal settings. For more information, contact your site administrator. Troubleshoot issu...

Replace the Default Page in a SharePoint WebSite

Hi, I have been asked to programmatically do the following in a SharePoint 2007 team site collection: Create a website using the OOTB blank site template. (Please note, for project specific reasons, we are not using customized site templates.) Activate the Publishing feature on the created website Activate a number of other custom fe...

Creating and updating site columns in MOSS publishing site

I have created a feature, a publishing site, in Visual Studio to MOSS - this feature contains a masterpage, some pages, some site columns etc. I have also created a site collection based on my template. I have several times updated my mastepage and pages with succes. Now I want to update my site columns, adding some columns, but these c...

Aggregating news with Sharepoint MOSS 2007

Our company is split into divisions. These divisions work for client companies and are then further split into account teams that work on projects for a product of the clients. So the structure goes Division > Clients > Accounts > Projects. And this is mirrored in the setup of our sharepoint installation. At each stage from Division to ...

How to add an Exit popup window in MOSS 2007

I need to show an "Exit" popup window in MOSS pages. How can I achieve this? ...

Get items from sharepoint list by Title field with ignore care using Caml or SPQuery

I want to get data from SharePoint List using CAML and filtered by Title with ignore case like <Query> <Where> <Eq> <FieldRef Name='Title' /> <Value Type='Text'>Car</Value> </Eq> </Where> </Query> But with ignore case so if i have an item with title: car the caml should return it how can I do this? ...

Sharepoint with ASP.NET Ajax

I'm running a MOSS2007 Sharepoint website with .NET 3.5 Ajax. I'm using the SmartPart webpart to host a user control that contains an update panel. I've added the script manager to the /_catalogs/masterpage/default.master file and it works fine when I log in as myself. But when I log in as a normal user I get the error message The contr...

update page templates with new site columns in MOSS publishing site

I have created a feature, a publishing site, in Visual Studio to MOSS - this feature contains a masterpage, some pages, some site columns (grouped to match each page) etc. I have also created a site collection, some sites and pages based on my template. Now I need to update some of my page templates and make the changes affect the exist...

Difference between Windows Share Point Service and MOSS

What is difference between Windows Sharepoint Service and MOSS (Microsoft office Sharepoint). If I have the WSS 3.0 installed in my machine, I can create a sharepoint site, using Sharepoint Designer and Inforpath. Then why do I need MOSS 2007 (WSS 3.0 being free for download). ...

Sharepoint asks for authentication while processing a web service call

In sharepoint my web part is calling a web service. This web service does some heavey processing in the background. On large data sets the page asks for your username and password after a certin period of time before a response is returned. It seems to be timing out. What setting timing out and where do I change this limit? ...

SharePoint "Thread was being aborted" looping through a SPListItemCollection

I have a SPListItemCollection with ~500 items in. I am looping through using a for each loop, each time grabbing the file and writing it out to a pdf document. I am getting the error "Thread was being aborted". It looks to be a time out issue but I dont know how to fix it? Collections with 200-300 items work fine. Is there any way I can ...

Sharepoint: How to connect to a web service (MOSS Server not on a Domain)

In a typical (professional) environment you would expect MOSS to reside on a domain so this code is used to create the credentials to a web service method : dwsService.Credentials = new NetworkCredential("Tanveer", "Test", "MyDomain"); Anyone have any experience when MOSS does not reside on a domain? How then can you pass a local adm...

Getting error while modifying custom web part in MOSS.

I have a custom web part on a web part page. When I try to edit that web part directly(not selecting site settings -> edit page option) via "modify shared web part" option it gives error in the web part properties tool pane as "a web part you attempted to change is either invalid or has been removed by another user". If I Select Site Set...