sharepoint

Can Sharepoint document library support folder versioning?

Will the sharepoint document library support folder versioning? For example, I have a document library with a folder say, 'My Folder'. Can i create a new folder with the same name so that there will be multiple versions of that folder. ...

Opening Excel file in a SharePoint document library from VSTO with specified credentials

I'm trying to open a workbook from within Excel. The Excel file is located on a SharePoint server, within a Document Library. I use the following code to open the workbook. newWorkbook = globalsThisAddInApplication.Workbooks.Open( workbookUrl, Type.Missing, false, Type.Missing, Ty...

SharePoint 2007 Object Model: How can I make a new site collection, move the original main site to be a subsite of the new site collection?

Here's my current setup: one site collection on a SharePoint 2007 (MOSS Enterprise) box (32 GB total in size) one main site with many subsites (mostly created from the team site template, if that matters) that is part of the one site collection on the box What I'm trying to do*: *If there is a better order, or method for the followi...

Why is checking out an excel document programmatically from SharePoint not working

I'm trying to check out a document from SharePoint from VSTO. But it keeps nagging that the document cannot be checked out. I'm able to check out the document manually, using the same credentials. What I already saw is that if I turn off the "Require Check Out", that I can perform a check out on the document programmatically. Unfortuna...

Distinct values in SPDataSource/DropDownList

How to get distinct values in asp:DropDownList control which is bound to sharePoint:SPDataSource control. But the remember the only tool i can use is sharepoint designer. ...

Creating tooltips for each field in Sharepoint form.

I want to create tool tips for each part in a form which employees have to fill in a share point web page. When users move the mouse cursor on each field (Title, description, department etc.) the related tip will be automatically became visible as a simple pop-up (tool tip) and summarize what they should write there. and when the mouse c...

Connecting Web Parts

I'm having two connected web parts, the consumer has a button that when I click refreshs the page, which in turns kills the connection. I need to use the passed value from the provider in the btn_Click event. How can I do that?. Is this possbile?. ...

Sharepoint Form Webpart with Javascript

I'm trying to use the form web part to do the following [TextBox Field for typing a product number] [Submit Button] On Click of submit should go to: http://www.link.com/product.asp?=[TextBox Field Value] ...

What is the best method for Migrating or Restoring Project Server (PWA) to a new environment for testing?

I have attempted bringing up a new farm and performing a stsadm backup/restore with no success. I have also tried doing a stsadm export/import with similar results. I need to migrate/copy PWA to another server for testing purposes and I am at a standstill. What is the best method to accomplish this? ...

SharePoint 2010 List View Query Parameters failing to deploy

Greetings, Using Visual Studio 2010, I've created a list definition + list instance based on a SharePoint calendar. In the Schema.xml file, I've defined a custom view for the list that filters the calendar events based on the category field and set it as the default view. The view deploys to SharePoint 2010 and correctly gets set as th...

Nesting a SharePoint Webpart inside of a User Control

I know it's usually the other way around, but I have some extenuating requirements that must be met (read as "No one bothered to do the research and now I have to bail them out") I have a standard user control (ascx) that is to be imported into a SharePoint 2007 website. Due to a design constraint, a sharepoint web part that is also nee...

Connecting TFS2008 server to Sharepoint (WSS3)

I have recently upgraded from TFS2005 to 2008, and in doing so, lost the connection to Sharepoint so now I cannot access my project portal from VSS or TFS Web. I have a working WSS 3.0 installation on the same server as TFS, and TFS is working fine other than the Sharepoint disconnect. I have even been able to go into Sharepoint and cr...

How to access SharePoint files and folders from outside SharePoint?

I need to programatically interface with SharePoint folders, files and lists from outside SharePoint. Most tutorials focus on working within SharePoint itself, or at least on the same server where SharePoint is installed. I need to automate some tasks from completely different servers -- tasks that require reading SharePoint lists, bro...

Sharepoint 2007: How to create a content page usinf webservices

Hello to all, I'm trying to create a new content page in sharepoint using the sharepoint webservices. Does anyone achived that ? Many thanks ...

How to detect the view mode (PersonalizationScope) of a SharePoint WebPart

How do I check programmatically whether a web part is displayed in the shared resp. in personal mode. ...

Implement a decision tree in SharePoint

What is the best way to implement a decision tree in SharePoint? Is there a web part available? Does any of Sharepoint's Fab 40 templates contain a decision tree web part? i have searched but i couldnt find a useful answer anywhere. Please suggest. ...

Timer Job from a SPWeb

Hi, I guess starting a timer job from within the code required Farm admin credetials. However, i need to start a timer job from a web part that will be used in any site. Now when i try to start the job it gives me access denied error and obviously so as app pool identity is not farm admin. Any ideas on how to resolve this issue? Thanks...

SharePoint webpart with button to auto-login to 3rd party website

I have been tasked with creating a SharePoint 2007 webpart that logs the user directly into our website (which uses forms authentication). Most likely the username and password will be same in the SharePoint account as in our website. Ideally we would like it to be fully integrated in that the webpart looks up the SP login & password, s...

Open source alternative to Sharepoint lists

Sharepoint's lists functionality is powerful. Because I don't want all the other functionality of Sharepoint, I have been looking for an alternative (preferrable open source) without much success. Basically I want to have a platform or web application that: allows us to define custom datatypes (for different kinds of customer product...

How to apply multiple filters to sharepoint list

Hi all, I have sharepoint list with several columns - month, year and some custom data. I want to provide 2 dropdowns to allow user select month and year to filter rows. I added "Choice Filter" webpart for month and set connection to list (this works). I added second "Choice Filter" for year and I wanted to do the same. However, I can...