sharepoint2007

How Can I Print SharePoint document Library Documents Using code?

Hi, I am just wanted to know how to print the document library files (document file). I goggled it and unable to find the solution. But during search I found an http://www.sharepointprinting.com/ having a tool which provides a very same type of factuality. Please guide me. How can I proceed to achieve this type of functionality? Thanks...

How to develop a approval workflow using microsoft office sharepoint 2007

Hi im developing a documents approval work flow for the processes of requesting for the purchase of items to the my department at my university. The request form has to be filled with relevant item name,specifications and quantity. Then the request is directed to the Dean of the faculty for the approval. Then it's directed to the Bursar...

SharePoint Crawler: Deleted by the gatherer

Hi all, I have an issue with my SharePoint 2007 crawler. Problem: There is this warning on the crawl log: Deleted by the gatherer (This item was deleted because the crawler did not encounter it during the last full crawl.) This made the search not visible. Methods tried: I have checked the permission.I have reset the search, add th...

SharePoint :How to know if an email contains an attachment using web.GetFile(guidOfEmail)

Is there a way to find out that an email contains an attachment if we upload an email with an attachment to sharepoint? using web.GetFile(GuidOfTheEmail)... or any other method? Thanks. ...

SharePoint calculated column using "Created" results in 12/30/99?

I am looking for a formatted date field using Created. So I created a calculated column titled Added with the following formula: =TEXT(Created,"m/d/yy"). Data type is Date and Time. Date and Time Format: Date Only. I added the column and all existing entries for this list have the new column working properly. However, when a brand new...

MOSS 2007: custom redirect page sps404.html does not return HTTP header content-type

With most browsers this is not a problem, but with a combination of ISP proxies and Safari browsers on iPhone/iPad the page is rendered as text/plain, so the JavaScript on the page won't run. Can I set the HTTP header for this specific page manually somehow or Is there a workaround on MOSS/IIS? I could put rules onto our load bal...

How to get user information from sharepoint site to my webpart.

Hello , I want to developed a webpart that get all users information with user images from sharepoint 2007 site. Please suggest me how can achive this. Is there any webservices that can i use in my custome webpart? Please suggest solution for the same. Thank you. ...

Allow users to view items in a SharePoint Document Library, but not open the files

I have the requirement to allow users to view the content of a document library, including browsing through folders, but not actually open the individual files. There doesn't appear to be a permission to restrict users from opening files, but still display them. Naturally it is an option to create a view that doesn't have the 'open lin...

Excluding list items created by certain users from a list's view

Hi, I have a custom list created in Sharepoint 2007 and displayed by a content query web part. I would like to Show all items to general admin users except those items created by two users. The two admin users need to see all items in the list. The first requirement is easily done by adding a filter to the view on the created ...

debugging a sharepoint baselayoutpage

is it impossible to debug? I am running 64-bit Windows Server Enterprise, and trying to debug my solution on Sharepoint which includes a dll that has baselayoutpage pages. When I try to atttach the process to the Visual Studio debugger (VS2008) it says break points will not be hit. I have been pulling my hair out on this one, I have trie...

Problem adding a dynamic field to a SPList in sharepoint

We have the following code in a webpart: using (SPSite site = new SPSite("http://localhost/")) { using (SPWeb web = site.OpenWeb()) { SPList list = web.SiteUserInfoList; if (!list.Fields.ContainsField("Office")) { list.Fields.Add("Office", SPFieldType.Text, false); list.Update(); } } } in the 4th ...

SharePoint 2007 - editing Global Audiences

This is a ridiculous question and I hate myself for having to ask. I have an issue that some users from AD are not able to see some secure sections of a share-point site. the webpart is filtered by a 'global audience' list. where do I need to go on share point 2007 to be able to see and amend this group information. I have full admin r...

where is csharp source code is used sharepoint

please provide the csharp area in sharepoint. what are the part csharp source is used. how can be document loaded in the sharepoint. whether it can be done through by c sharp. ...

SharePoint GetListItems Return Keys Inconsistent

When I call the SharePoint GetListItems web method, it returns some of the items with a GUID as the key, and the rest with a text ID as the key. For example, if I have a form library with three columns, say UserName, EnvironmentName, and LastStatus, they might be returned as follows: ows_b5acede2_x002d_ab94_x002d_470f_x002d_b9e9_x002d_...

Create folder in document library using SharePoint workflow

Hi all, I want to create folder inside my document library based on other document library in the root. And I want to run this workflow on new document library creation. So let say I have 4 document library: Help News Doc Archive I want to create folder inside "Archive" Document library when New document library is created. Help...

How to Enumerate ALL SharePoint MOSS databases

I want to enumerate all databases used by my SharePoint system. The stsadm -o enumcontentdbs only handles content db's but I also want the names of the SSP, Search and any other databases used by in the system. Thanks ...

WSS 3.0 Feature- Check if User is Farm admin

Hi All I am developing a sharepoint feature that should allow only Farm admin to delete a sitecollection. In SiteDeleting event, i need to chech if the user deleting is farmadmin. How should i do that? I got a property to check if user is webadmin(properties.Web.UserIsWebAdmin) or siteadmin(properties.Web.UserIsSiteAdmin) but how to che...

What is a watsonrc.wat file in the sharepoint 2007 log folder?

And how do you open it (if it's a type of log file.) ...

How to obtain users from Active Directory using the Contact Selector control of InfoPath 2007?

We have a SharePoint2007 web site. There is an InfoPath form with the Contact Selector control (ActiveX) on it. When I open the control I see a list of Sharepoint users and groups. Is it possible to populate the control with users from Active Directory? Or maybe there is another control/solution to solve this issue? Thank you in advance...

SharePoint and proxy problems

Ok, so I'm new to SharePoint and my knowledge of how proxy servers work is not great, so that doesn't help. I've created a custom webpart that needs to be deployed in various client environments. One of my clients is having trouble connecting to a my web services form the webpart, and my assumption is that it's because he's using a pr...