wss

User specific theme in sharepoint

Hi All, I have a requirment where in my sharepoint site I want to set the theme according to user. for e.g lets say if user a set his theme as theme1 and the user b logs in and set theme to theme2. So next time when user a log in he must have to see the theme set by him. I.e theme a. Can any one tell me what will be the best approch ...

Is it possible to call a WCF Service hosted in a Windows Service within SharePoint?

I have a WCF Service hosted in a Windows Service in the same server where i have moss. The WCF works well calling it from a Console application, but if i call it from a page within Sharepoint, it throws a timed out exception. I added the following configuration to the webconfig: <system.serviceModel> <bindings> <wsHttpBind...

WSPBuilder cannot find my assembly

I am using WSPBuilder on Visual Studio 2010 to create a feature with a feature receiver assembly for SharePoint 2010. When I try to build the WSP using WSP Builder I get this message in the output window: The assembly MyAssembly.dll is unmanaged. The assembly will be excluded from the WSP package! The defined Project Assembly seems not ...

How to get main site url inside webpart?

Hi, I need to get main site url from inside my custom webpart. Is there any programming way to do it? ...

Document version management

Hi all, I am working in sharepoint site. In this site there is a user requirment where user want see the version numbers maintain by sharepoint in its OOB versioning feature in a document itself. SO as the document ge modified sharepoint maintains the version number for each updation. User want to see that vesion number in that docume...

SSIS - SharePoint to SQL without Adapter Addin?

Hey all, Im looking to Extract a SharePoint List (WSS 2.0) to a SQL(2005) Table using SQL Server Integrated Services. First off I am aware of the "adapter" that does this from http://msdn.microsoft.com/en-us/library/dd365137.aspx however I'm just wondering for compatibility purposes if it can't just be done "out of the box". There are...

Display document library setting as a report

Hi all, I have a sharepoint site which contains site and subsite and document libraries in it. Couple of document library has setting to maintain the versioning of the doc along with the comments. Now I have requirment where a client wants to see this settings site wise as, under which site how meny doc libraries are there which hav...

SharePoint Code Access Security-requirements to call Page.TemplateControl.ParseControl

Hi, What are the CAS policy requirements to call the method Page.TemplateControl.ParseControl as referenced here? http://msdn.microsoft.com/en-us/library/kz3ffe28(loband).aspx Specifically, in SharePoint I've tried to call the method in a Minimum-trust environment, but get this error on the page: Request for the permission of type ...

Editing a WSS 2.0 template

I have an STP file that is used to create WSS 2.0 sites. I have been asked to add an additional folder to the existing structure that is in the template. How can I edit this STP to make this change? ...

How do you add an Active Directory user to SharePoint using WSS?

Is it possible to introduce existing AD users into SharePoint using WSS? If I create a new list item manually, and there is a User / People Picker field in the list, if I type a username in the field and submit, SP finds the user and adds it in as a SP user. Why does that not work when adding new items through WSS? I cannot get WSS to ...

Sharepoint W3WP.EXE Process Consuming 100% CPU - Corrective Action?

We have a Windows Server 2003 web server, and on that server runs about 5-6 top level Sharepoint sites, with a different application pool for each one. There is one W3WP process that keeps pegging 100% for most of the day (happened yesterday and today) and it's connected (found by doing "Cscript iisapp.vbs" at the command line and match...

Binding multiple OnTaskChanged.AfterProperties to one Workflow field.

Hi, I'm creating a State Workflow for WSS and have several tasks that get created throughout it. I wanted to bind all of the OnTaskChanged.AfterProperties to the one Workflow Field so that I can define one rule, to check the status of the task that changed, and re-use that rule wherever I have an OnTaskChanged event. I can't see any pr...

How do I tell if a class is WSS or MOSS specific?

How do I tell if a SharePoint class is specific to WSS or MOSS? For example, can I use the SPAudit class in MOSS only? ...

Send email from users account

Hi All, In my sharepoint site I have a document library with a workflow attached to it.Once any user upload a new document workflow is started and the document is send to approver for approval along with this an email has been sent to the approver for new document pending for approval. Now then email is sent from the mail server I have ...

SharePoint AddDiscussionBoardItem via CAML and JavaScript

I have a SharePoint Message Board named ConceptsGeneralInformation. It currently has two Disccusions in it, they are named GeneralDiscussion and SpecificDiscussion. While a user is viewing a Discussion I want to allow they to post a reply. To do so I am calling the AddDiscussionBoardItem method on WSS via CAML and JavaScript. AddDiscussi...

Archiving sharepoint site instead of deleting

I have a sharepoint site. This contains site nubmer of sites and sub sites collections in it. There are few sites that are created and are not in use. Now my question is how can I find out these old sites and before going deleting it i need to archive it first. Can any one tell me what is the best possible approach to do it? ...

Getting "task is currently locked" error for SharePoint Workflow created with SharePoint Designer

I am creating a simple workflow using SharePoint Designer that triggers when a user uploads a new Document to a library. This workflow assigns a task to multiple users and then waits until those tasks are complete. Once they are complete it then assigns another task to different users and then waits until those tasks are complete. It rep...

Is it possible to pass a querystring when creating a new document in a sharepoint list?

I would like to pass a querystring to Infopath when creating a new document (based off of a content type that I created and published with infopath). Like so: http://server.com/Forms/Form1.xsn?String=value I know that Infopath can handle querystrings but I'm unclear on the process behind creating a new list item from content type. Is th...

How do I enumerate web part types in WSS site

Hi everyone, How would I go about enumerating the web part types available to be deployed to a web part page in a particular SPWeb by a user on a WSS 3.0 site? Sort of the equivalent of the list that you'd get via the "Add Web Part" link, but in a collection so that they could be instantiated and then added to a page. ...

Sharepoint create site navigation through programming

Hi All, I have a requirement in sharepoint where I want to Create the top link navigation based on excel file. Means The site navigation structure (along with parent site subsite under parent site) is mention in excel file. I need to read that structure and based on modify the navigation in sharepoint. Please can any one tell me is it ...