sharepoint

Problem with a custom content type

I've made a custom content type based on the "Page publishing". In this content type, I've also made a lookup field that lists all items in a list (nothing special with that list though) When I use my own user to look at a page made with my custom content type, no problem. When the site is crawled, the crawler doesn't want to index it...

How to control file uploads in a SharePoint Picture Library?

How can I restrict file upload type and size for a WSS 3.0 Picture Library? I know I can restrict file upload size for an entire SharePoint web application via Central Admin / Application Management / Web Application General Settings. I can also block file types for the web application on the Central Admin / Operations / Blocked File Ty...

SharePoint many-to-many strategies

I have a SharePoint site collection that contains a custom site definition and a couple dozen deployed sites for a "Project". Each project contains many "Documents" (each represented by an actual document and a site about the document). So, currently that relationship is one Project to many Documents, and my current sharepoint configur...

MOSS : Accidentally deleted a webpart, how can I get it back

I have deleted "New comment" webpart on the Blog Post detailed Page on the my SharePoint blog site, I am unable to find it in the webpart list. How can I get undo / add the webpart back. ...

Can I use Visual Studio Express Edition for WSS 3.0 development?

I understand that the answer is "yes - but...", and I'm just trying to get some sense of what I won't be able to do with Express Edition (relating directly to Sharepoint development). I haven't found much on the web about this, and I'm guessing that's to be taken as a sign that it's probably not recommended. ...

How do I create a development environment for SharePoint using Windows Server 2008?

I'm in need of creating a development environment for SharePoint 2007. I'm running Windows 7 RTM and have installed Windows Virtual PC (not Virtual PC 2007). I have a VM of Windows Server 2008 running with all available updates applied. At this point, I know I need to install IIS 7, Visual Studio 2008, SQL Server (hoping to use 2008, ...

Calculated Field: How to display 'Approval Status'

In a calculated field in SharePoint, how do I display the approval status? I've tried =TEXT([Approval Status]) but it doesn't work. Any Ideas? thanks. ...

Find a field on sharepoint site.

Let's say I have a string array of field internal names. How do I get their display names? I've been searching for an answer and found that there is a SPFieldCollection(SPWeb web, string strXml) constructor. My first thought - yeehaw, i can pass a CAMLquery and get SPFieldCollection objects to work with. However for strXml I've tried p...

How to configure Sharepoint site for intranet?

I am basically a windows developer and very new to Sharepoint. I have Designed a small site in sharepoint on my virtual PC environment. I want to access it from out side of VPC environment and also from other local LAN machines [like intranet]. How do i configure (IIS/Sharepoint Adm) to make my site as an intranet site? I googled it,...

Is there a way to only return documents from a SharePoint Web Service Search?

If a query the SharePoint Web Service Search, is there a way to send a parameter so that it only return documents? There is of course the possibility to filter the result using the isDocument column, but is it possible during the query? ...

Log In Problem In Sharepoint Site

We are facing Login problems while Logging to our site. We (the Developement Team) can log in to the site with only one prompt but many users are getting login prompts several times. After pressing ESC for 5-6 times they can login to site. Is there any AD setting that needs to be changed? If so not even the Site Admin (Full Permission...

Sharepoint WebPart not installing

What tips do you have for debugging a WebPart that is not installing? One tip per response. ...

MOSS 2007, C#, Web Part - Log Retrievel using LinkButtons

Technology: SharePoint/MOSS 2007 -- IDE: Visual Studio 2008 -- Language: C# I have created a SharePoint/MOSS 2007 web part that displays a list of log files. The log files are rendered on screen as LinkButtons. The LinkButtons are within a DataTable that is set as the data source of a SPGridView and bound to it. This SPGridView objec...

ListDefinition Error 'ctx' is undefined

I have create a DocumentLibrary list using the SharePoint UI and export it using the SharePoint Solution Generator 2008 (VSeWSS 1.3) to a Visual Studio .NET project. Then I have made a webpart to show items from the document library using the ListViewByQuery with som input parameters. I have put the ListViewByQuery into a Ajax UpdatePan...

Sharepoint Crawler is denied access to sites

We create all our site collections programatically with a custom site def/template. Everything works as expected, except for the crawler. It's apparently denied access to the sites. The crawl logs says: http://server.localnetwork.lan/somesites/siteName The object was not found. (The item was deleted because it was either not fo...

Is it possible to deploy a Web Part from Visual Studio 2008 to a (virtual) MOSS 2007 server on my network?

Hi SO: I have a virtual machine running windows 2003 server running MOSS 2007. This virtual machine is not being run on my dev machine, but on a different machine on the network. I can ping both the host and guest OS from my dev machine. I just need to know, if it is possible, how to configure visual studio 2008 to deploy the web parts/...

Is it possible to use custom data types for MOSS user profile properties?

We're wanting to add some properties to our MOSS user profiles and expose them to the people search. However, some of the data are more complex than just a string or choice or whatever. I've been looking around, and I can't seem to figure out if it's possible to create custom data types for use with the user profiles. Does anyone know if...

[SharePoint] SPSite constructor problem "Operation aborted"

Warning: I'm an asp.net developer taking my first steps in SharePoint. So, i'm writing a console application that connects to a SharePoint Server 2007 site on the same machine, but it seems that something goes wrong during the call to SPSite() constructor. Here's the simplified code: using (SPSite siteCollection = new SPSite("http://se...

Does anyone know where I can define this URI parameter?

This happens when I try to deploy a Sharepoint WebPart solution. Is there a file or configuration option that I have missed that is causing this error to occur? Thanks. ...

"Refresh" SharePoint site column definition on lists that use it?

We deployed a feature that installs a custom site column named "Classification." It is a Choice column type. Now, we need to change the choices. We can update the XML in the feature easily enough, but it doesn't affect any of the lists already used the existing site column; they still see the old choices. Is there any way to send a r...