sharepoint

How do I set full trust for a single Web Part in SharePoint?

I am looking to set full trust for a single web part, is this possible? manifest.xml maybe? ...

Error when trying to deploy web part

I just wrote a new web part and now I am getting this error when I try to deploy them on my non-dev servers: the default namespace 'http://schemas.microsoft.com/WebPart/v2' is a reserved namespace for base Web Part propertiees. Custom Web Part properties require a unique namespace (specified through an XmlElementAttribute...

Deployed Web Part not showing up in 'Web Part Gallery: New Web Parts'

I took a wsp file, and did my stsadm -o addsolution like usual. Then I went into central administration->solution management and it showed up just fine. Then I deployed the web part, no problems so far. The problem is when I go to add it to the webpart gallery (Web Part Gallery: New Web Parts) usually the web part is in the list, I ch...

Sharepoint StateMachine : Handling multiple responses to multiple created tasks

Hi, I created a StateMachine workflow for sharepoint and at one state, I create multiple tasks using a replicator. The number of tasks created is variable. I need to handle the OnTaskChanged event for all the tasks I created which seems impossible as one event handler can only be associated with one task. I can use a restrictive ...

Placing a Sharepoint Site under version control

Working with Mircosoft Office Sharepoint Server 2007 (standard edition) what is the best way to place a site collection being developed under version control? We're using Subversion for all our other (non-sharepoint) projects but I'm just not sure how to approach MOSS. What needs to be placed under version control to ensure we have eve...

How can I get the computer name of the client filling an web-based Infopath form?

I have an Infopath 2007 form hosted on MOSS 2007. The code behind the form is written in C#. In this context, System.Environment.MachineName return the server name. How can I get the name of the computer from which the client is filling this form? ...

How to add a new SharePoint alert via Web Services

I found the Alert Service but it only seems to have methods for Getting and Deleting. How do I add a new alert? ...

How can I fill in a Sharepoint List edit form offline using Windows Mobile 5.0 Quickly?

I need a method for a user to quickly enter info using a Handheld Symbol MC9090 scanner running windows Mobile 5.0 from a power off state Currently it takes approx 1 min from power off state for user to enter data into a sharepoint list. I need to get the time down to seconds. It takes approx 30secs for handheld to establish wireless c...

Good file management software

Currently all our files are stored on a windows network drive and with 15 members of staff and 3 external workers, file control is beggining to get a bit of nightmare. Even though we have a policy in place people still seem to save file to their pcs, make changes copy them back without notifying anyone, send files via email instead of it...

SharePoint 2007 - SQL Query to find a list of documents in site collection

I need to get a list of all documents in a site collection, which I believe I can do with either the alldocs table or the alluserdata table (MOSS 2007 SP1) but do not see how I can get the author information for the document. I do not need the contents of the document (e.g. AllDocStreams content) Something like this: SELECT tp_Di...

Best Pattern for AllowUnsafeUpdates

So far, in my research I have seen that it is unwise to set AllowUnsafeUpdates on GET request operation to avoid cross site scripting. But, if it is required to allow this, what is the proper way to handle the situation to mitigate any exposure? Here is my best first guess on a reliable pattern if you absolutely need to allow web or si...

connecting web parts in sharepoint

I am trying to connect to simple webparts in my sharepoint team site, i need one of the webparts to filter its information based on what it recieves from another webpart I am using the query string filter webpart and the a list view webpart but no matter how i connect them always i am getting this error "Web Part Error: This page has...

What steps do you take to increase performance of a Sharepoint site?

Sharepoint isn't the speediest of server applications, and I've read about a few tips to speed it up. What steps do you think are necessary to increase performance so it can be used to host a high traffic site? ...

Charts in webpages

What I'd like to accomplish is to present charts on webpages. For example aspx pages gridviews that present a two column table are able to be copied & placed into Excel then a chart created. The pages I currently use most are ASP.NET 3.0 or SharePoint team sites with stored procedures. People are very interested in how people perform cha...

SharePoint and Firefox 3

I think most of the SharePoint developers and administrators know that with the change form Firefox 2 to Firefox 3 some functionality of SharePoint have became unavailable. Especially adding Webparts to a site and using the PeoplePicker don't work anymore with Firefox 3. So I want to know how you deal with this problem when some of you...

SSRS Sharepoint Integrated Mode: Where's my recursive parameter?

Could someone tell me why the SSRS web service ReportService2005.asmx has a recursive parameter on ListChildren while the Sharepoint integrated mode version ReportService2006.asmx does not? ReportService2005: public CatalogItem[] ListChildren ( string Item, bool Recursive ) Ref: http://technet.microsoft.com/en-us/library/repo...

Monitoring a SharePoint document library

I was wondering if there was a good way to monitor a document library on SharePoint for changes (new files added, files changed / checked-in, files deleted, etc.) Basically, what System.IO.FileSystemWatcher does on local / network directories. Are there events that get fired when documents are uploaded to document libraries? Perhaps c...

Proper disposal of SharePoint objects?

I hope there's a SharePoint expert here on SO who can help with this. Here's the problem. My SharePoint logs contain this line, several times: An SPRequest object was not disposed before the end of this thread. To avoid wasting system resources, dispose of this object or its parent (such as an SPSite or SPWeb) as soon as you are done ...

How can I check my .NET assembly for freshness?

All, I'm working on a SharePoint project, but this isn't a SharePoint-specific question per-se. I have an assembly I've deployed to a SharePoint farm, and I'd like to verify whether my "newest version" is sitting in the GAC, or if an older version from late yesterday is sitting there instead. This is a test farm, so yes, we are revving ...

how can i use sharepoint (via soap?) from python ?

I want to use Sharepoint with python (C-Python) Has anyone tried this before ? ...