sharepoint2007

How do I set a friendly name for SharePoint custom property enums?

I have a simple web part with a custom enum property (which SharePoint renders for me as a dropdown). Is there a way to render friendly names for the enum values? I have tried System.ComponentModel.DescriptionAttribute, but it does not seem to work. I also tried Microsoft.SharePoint.WebPartPages.FriendlyNameAttribute, but it canno...

WSS 3.0 - Can not display created custom template lists with web services

I have created a custom list from another list in sharepoint, it is saved into the "List Template Gallery" I need to get this new list template by using web services, but the .GetListTemplates method of lists does not retrieve the custom templates. How can I get the custom templates?, so then I can use it to create a list. ...

MOSS 2007: Displaying data from SQL Server Database

I have a requirement to select some data from a table in a database (SQL Server) and display it on a page in a SharePoint site (MOSS 2007). I have a little bit of experience of MOSS, so I know I have a couple of options: BDC SSRS or possibily even a custom ASPX page. I've never really worked with any of these. Can anyone advise on ...

Sharepoint Code Generation Tool

our team is looking to use a code generation tool for the current sharepoint application we are working on. We want to be able to generate most of the stored procedures and business entities instead of having to write them from scratch. Any recommendation what is the best code generation tool to use with sharepoint projects. I am familia...

Order documents by most popular in sharepoint content query webpart

I'd like to order a set of webpages showing inside a content query webpart by 'most viewed' I know sharepoint keeps track of such things but I don't know how to expose this list to the content query web part - can anyone point me in the right direction? Thanks in advance ...

Extending SharePoint Breadcrumbs across multiple site collections

I’ve been trying to find a way to extend SharePoint breadcrumbs across multiple site collections, and I’ve been unable to find a way. I can set the portal site connection setting on the site collection to link to its parent site collection. But, that will not show only one parent site collection. Here’s an example of the type of setup...

SharePoint Installation Problem on Windows Server 2008

Hello All, I have installed MOSS 2007 on Windows Server 2008. I am facing a strange problem: I am unable to logon to SharePoint using IE 8, but am able to using Firefox. Pl note that I have taken care of the security in IE. After creating a web application, when I try to chage the web application for creating a Site collection..I am ...

Accessing Sharepoint File Server Search Results Externally

We are currently implementing MOSS 2007 to replace an older portal system (Plumtree) and are currently looking at searching. We have 1000s of documents on a file server that we would like users to be able to search. This I can set up by adding a content source of "File Shares" and pointing it at the UNC of the file share. The issue is...

Getting properties from SharePoint field controls

I'm creating a SharePoint publishing master page and would very much like to be able to take properties from SharePoint field controls such as <SharePointWebControls:UrlField FieldName="FAQ-Video" runat="server" /> and reuse them in object tags and jQuery elements. Does anyone know how to do this? ...

SharePoint API: 2003 vs 2007

I have coded a solution that uses the 2007 API to traverse the SharePoint object model. Now I need to support SP 2003 as well. What is the best way to do this? Is it possible / recommended to use the 2007 api to get access to a 2003 SharePoint Farm? If I use the 2007 api, do I have to use the deprecated classes to (for instance) refer...

Workflow stops responding when list item is updated programmatically.

I have a workflow running on an item in a list. The workflow has an OnWorkflowItemChanged activity sitting within a While activity. I know that the workflow enters the While loop, and if I update the item through the UI, it fires the OnWorkflowItemChanged activity. However, if I update the item programmatically (through a console appl...

Trying to install SPJobDefinition; not showing up in list.

I'm trying to follow http://msdn.microsoft.com/en-us/library/cc406686.aspx and similar tutorials. I've got a custom SPJobDefinition derivative and a feature. The definition doesn't do anything yet, since I'm just trying to get it setup. The feature has the following code in the FeatureActivated: // Get the Site Collection in ...

Populate a SharePoint Site with Users/Groups from AD

Hi, I have created a SharePoint (MOSS 2007) site template, and I am programmatically creating a number of new site based on this template. I would like to populate each site created with this template with a number of users and groups from the Active Directory. Can anyone offer any guidance on how this can be done, either as part of t...

MOSS 2007: 3 additional assembly binding redirects, where are they coming from

Hi, I have a web.config of a functioning MOSS server with our custom settings and a web.config of a freshly installed MOSS. Here's 3 redirects I don't know the source of: <dependentAssembly> <assemblyIdentity name="Microsoft.SharePoint.Portal.SingleSignon" publicKeyToken="71e9bce111e9429c" culture="neutral" /> <bi...

What do the different scopes in WSPBuilder do?

When creating a new WSPBuilder project or new WSPBuilder item in Visual Studio, you get to choose the scope of the item being created. The options are Web, Site, WebApplication and Farm. What do the different scopes do, and how does that affect deployment? How do you determine which scope to use? ...

How to make an InfoPath web form and its web services accessible from the Internet via HTTPS?

I have an InfoPath web form deployed on SharePoint. It has Full Trust, uses web services to obtain data, and some pieces of code to generate filled rows in the form. The web services are custom web services deployed on the same web application on the same site. I have extended the web application to the Internet Zone with HTTPS access a...

How to enable auto save in SharePoint when editing documents in Office 2007 from client machines?

I understand from various web sources that documents stored in SharePoint 2007 and accessed by Office 2007 can be auto saved by a time setting. Usually it is referred to as the "Auto Recovery Setting" in Office 2007. Is this similar to Google's auto save "Draft" with a TimeStamp or a simple Telerik RAD Editor ASP.NET AJAX Solution which...

Creating a custom Document Library in SharePoint

I have a document library in my SharePoint page and there are 10 documents in it. If UserA is logged in i want him to only see 5 of those doucments in that document library. How can i create some custom document library for this to work? I have MOSS installed as well. Thanks in advanced! ...

Upload Custom Thumbnail to Sharepoint Image library

Hi, I've got a webpart to upload images to a SharePoint image library, and SP does the thumbnail generation automagically. I'd like to give my users the options of uploading their own thumbnails, without SP doing it for them. Any thoughts how to do this? I do know that SP will store the thumbnails in a folder /_t in the library, but I...

Migrating ASP web site into Sharepoint 2007

I need to migrate a ASP legacy web application into MOSS 2007. Is there any tool that can be used for migration? if so please specify? ...