moss

Display SharePoint lookup field on publishing website

A page within our MOSS publishing website has a property which is a lookup field. I only want the selected text to be displayed when you view the page not in edit mode, but when I use the Microsoft.SharePoint.WebControls.LookupField it generates a hyperlink to the SharePoint list item (obviously bad). Is there a way around this, short...

Deploying Control Adapters in SharePoint

Is there any way to automatically deploy Control Adapters (some menu modifications) in SharePoint using WSP solution and features ? Can I programmatically edit/deploy some ".browser" file? If it is not possible what are the alternatives (some good practice) ? I need this for Publishing site. ...

Configuring Outlook Webpart in Sharepoint 2007

I'm exploring sharepoint a bit. I would like to show the email inbox and calendar of the user logged in. The logging in of defferent users is no problem. We are running Exchange 2003 and we're using the webaccess. This works without any problems also. I added the OWACalendarPart to the default.aspx page. When I set mail server address t...

Using custom SharePoint rendering templates

In MOSS 2007 (SharePoint), is there any way to access the current SPField from inside a ListFieldIterator rendering template? ...

What setup do you use for SharePoint (WSS/MOSS) development?

I'm curious to know how other SharePoint developers setup their dev workstations. My current setup: Desktop with Server 2008 (only for Hyper-V, was using Vista before) Use Visual Studio 2008 on local machine for dev work Keep a local copy of SharePoint DLLs for referencing, no local SharePoint install Run SharePoint in a Server 2...

Why does SharePoint apply 'exempt from policy' automatically?

I have a custom SharePoint document library which allows items to be added of a custom content type. This content type is given a custom expiration policy based on a meta data column. The expiration policy is the following: <data> <formula id=""Microsoft.Office.RecordsManagement.PolicyFeatures.Expiration.Formula.BuiltIn""> <number...

Sharepoint BDC Error: The title property of entity tblStaff is set to an invalid value

I am just starting to create our Business Data Catalog(s) for our practice management system and I am running into an issue w/ our staff table. Background: I am using Business Data Catalog Definition Editor to create my ADF. I am using the RevertToSelf Authentication Mode. I have tried a few other tables and they seem to work just...

Anonymous SharePoint Users and people search core results web part

Hi Can anyone tell me how to allow anonymous SharePoint MOSS users to view people search core results web parts? When they try to access pages containing this web part, they are prompted to login. All the best ...

Sharepoint MOSS customised v's uncustomised

Hi If Microsoft built MOSS so that all data is written to the SQL Server database, why do all best practices for development suggest to keep files etc outside of the database, i.e. on the filesystem? All the best ...

ItemDataBound event of an Sharepoint Task List

Is it possible to access ItemDataBound event of a Sharepoint custom Task List, similar like using event handler to catch Deleting/Editing Events of each ListItem in the List. Please advice. (We need to create a Task List with a set of custom context menu's (this can be done with feature). And we need to change the text/hide these con...

Hiding Custom Context Menus in a List Item

Hi, I have created some custom context menus (using features) for the List Items in a List which is created from Tasks template. Now I need to hide these context menus based on user group. i.e., a particular context menu will be only visible to all users in a specific User group and for others that particular menu will be hidden. ho...

Why would a web part fail on constructor the first time it's being added to a page?

Hello, This question is a bit specific (MOSS2007) and I don't high hopes for getting an answer, but maybe luck will smile upon me. I have a web part that works except the very first time it's being added to a page. It throws an exception inside a constructor when I'm trying to open a connection to a SQL server. The demand for the SqlCl...

Creating a custom field that requires unique values

I am implementing a custom list definition that contains several columns. A requirement to one of the columns is, that it can only contain unique values. If a user enters a value that is already present in another list item, a validation error must be shown. Are there any options for doing this OOTB, perhaps in the list definition or in...

SharePoint Lists and Forms

For those using SharePoint or MOSS 2007 specifically. How do you handle forms? Like say you want a form that submits contact information. I don't have this in production yet but I'm currently creating a list for the form that I need and then modifying the list add item form as needed. I'm not sure how this will translate to a public anon...

Filter a Content Query Web Part using the values of another web part on the same page

I have a Content Query Web Part on my page that rolls up all the contacts lists from all the sub-webs in my site collection. this works fine. I'd like to be able dynamically filter the contacts rollup by having the user click on a list of leters of the aphhabet at the top of the page. click A and see the contacts that start with A, et...

Ceiling function in SharePoint CAML query

I am trying to create a custom view for a sharepoint list, similar to the one explained here: http://msdn.microsoft.com/en-us/library/ms916812.aspx I have a column which is a number field with values ranging from 0 to 100. I need to create a view style which will display an image in the column based on the column value, instead of dis...

SharePoint 2007 Remote File Access Denied CAS

I have code running in an ascx within PageLayout within SharePoint 2007 that accesses files on a remote server i.e. File.Create("\servername\sharename\folder\file.txt"). The code runs within a SharePoint web application that has CAS trust set to Full in the web.config. The File.Create throws the following exception:- System.Unauthoriz...

Search Center on SharePoint Publishing site

Can someone give me some directions on how to setup SharePoint Search Center so I can get results from the list and that they have some custom (modified) link? I have Forms authentication (and anonymous access) enabled with alternate access mapping. Right now in the Default zone I get results from the data in lists and they all point ...

Is there a reliable way to find out last accessed date in MOSS 2007?

Site Usage report in Site Administration does not help. I also tried querying the SQL Db to read daylastaccessed but that would not help. 'GetUsageData' method of the Object model only reads data for last 1 month and the "Most Recent Day" value is not accurate. Also I want a report of the last 6 months. The search crawler too modifies t...

Move MOSS 2007 Sharepoint Site to a New Server

I have a MOSS 2007 site hosted on a server. I would like to move it to a new server, databases and all. When looking for help, people generally say, "Just a run a backup, install MOSS on the new server and perform a restore." Is that good enough? I can't seem to get it to work. What kind of options do I need to select when installin...