sharepoint

Minor versions for SharePoint custom list

I've developed a SharePoint 2007 custom list with a single custom content type derived from Item. The problem is that I only get major versions when enabling versioning on the list. Is it possible to get minor version on a custom list? If not, does anyone know of a post explaining a good approach around how this might be accomplished for...

Why is SPList's LastItemModifiedDate not the same as the modified date shown in the list?

I have a document library that I am accessing programmatically as an SPList. When I use the LastItemModifiedDate property of the list, the DateTime returned is {1/7/2010 1:37:41 AM} but when I browse to the document library (with my web browser) I can see the most recent modified date is 7/01/2010 12:37 PM (this is the correct local time...

Upgrading WSS 3 and Ms Search Server 2008 Express

I've managed to do the upgrade the Ms Search Server 2008 Express in conjuction with WSS 3 SP1. According to the http://technet.microsoft.com/en-us/library/cc297193.aspx - "Configure site collections to use the Search Center" section, I think I am missing the procedure to use this. It said that I need to have different URL (See: 4.Typ...

Get notified when a certain field change in NewForm.aspx

In NewForm.aspx i have three fields (StartTime, Duration, And EndTime), When user fill StartTime and Duration, I want javascript to calculate and fill EndTime automatically. I cant use: _spBodyOnLoadFunctionNames.push("..."); because on onload the StartTime and Duration are not filled yet. So I tried: var control = getTagFromIdentifi...

Sharepoint 2010 - Custom Ribbon

Hello i'm developing a sharepoint project and central admin pages (located in _layouts), and i want to use Ribbon bar. i have found this sample but i hope so, it is wrong.. http://sharepointsolutions.com/sharepoint-help/blog/index.php/2009/10/creating-a-custom-ribbon-tab-in-sharepoint-2010/ page throw this error: Ribbon node must have...

How to output Site title on a sharepoint masterpage

I have a custom masterpage in sharepoint and want to output the site title in a different part of the page. Currently I can see the site title which is outputted using the following code: <asp:ContentPlaceHolder id="PlaceHolderMain" runat="server" Visible="true" /> Apparently using <asp:ContentPlaceHolder id="PlaceHolderPageTitleInT...

Investigating the root cause behind SharePoint's "request not found in the TrackedRequests"

We have a long standing issue in our bug tracking system about the dreaded "ERROR: request not found in the TrackedRequests. We might be creating and closing webs on different threads." message in SharePoint's trace log. As we develop Workflow software for the SharePoint market, we look into this issue from time to time to make sure it ...

Mail enabling an SPList programatically

I am currently building a tool which creates SharePoint sites automatically. Each site must have a mailbox enabled and a speficic Email address specified. I can create the site which by default has a SharePoint list named "mailbox". My questions is how to I allow the "mailbox" SPList to receive email. There is a property within an SPLi...

Prevent deletion of Attachments from a SharePoint List Item

We have a custom SharePoint list type. Part of our list's functionality depends on the existence of a specific attachment for each list item. When the user accidentally or intentionally deletes the attachment (named DoNotDelete.fi!) of a list item our functionality for that item is broken. Therefore we would like to prevent user from bei...

Check to see if a SharePoint site exists or not

Hi, This is my code which checks if a SharePoint site exists or not. string URL = Console.ReadLine(); using (SPSite objSite = new SPSite(URL)) { using (SPWeb objWeb = objSite.OpenWeb()) { Console.WriteLine(string.Format("Site Exists: {0}", objWeb.Exists.ToString())); } } However, it doesn't seem to work. The "Exists...

Is it possible to Consumes Sharepoint Webservices(SOAP-based) into ORACLE DB using PL/SQL

We have a requirement to store Sharepoint List Data into Oracle. Is it possible to Consumes Sharepoint Webservices(SOAP-based) into ORACLE DB using PL/SQL, like to access _vti_bin/lists.asmx?op=GetList and parse the list data and store in the DB. Has anybody tried this ??? Are there any things (Security, environment) things to consider...

Sharepoint: difference between Title, Name and DisplayName for library folders ....

Hi there. Sorry if this has been asked elsewhere. I have looked but can't find any definitive answers. I'm writing an app for Sharepoint 2010 that needs to create folders in a document library; one for each "job" that the app processes, as a place to put the job output. But, I'm having problems with folder name collisions. Each "job" is...

Upload a file into SharePoint using FORM POST

I would like to upload a file into share point using FORM POST. I am trying in this way <FORM NAME="oForm" id="oForm" ACTION="<site>/_layouts/Upload.aspx?List={A4793E2B-3081-4668-B6F1-0A013159F9B1}&RootFolder=/sites/servdeldocmgr/Test SOAP2" ENCTYPE="multipart/form-data" METHOD="POST"> <input type="file" name="file1" id="fil...

Is it possible to programatically change the ResourceFolder property of a content type?

I need to write a tool that renames a content type in all site collections in a Web application. If I only change the Name property, the content type loses access to the resource files. So my guess that I have to rename the resource folder, too. I tried to use MoveTo, but the SchemaXml still contains old URL: <ContentType ID="0x0100754...

Move a SharePoint 2003 site to a SharePoint 2007 Server

I have 2 SharePoint servers, an old pilot SP 2003 server and a new SP 2007 production server. One of the sites in the 2003 server is invaluable and contains a couple of advanced custom lists and document areas that would be a real pain to manually transfer over. I've looked everywhere for a solution to EASILY move or copy the site from...

SharePoint and MVC

Has anyone had any success with SharePoint and MVC, are Microsoft going to support this going forward in 2010? ...

Reading PDF Forms Data into SharePoint Lists

I have an application where customers fill out a PDF form and then post it to a sharepoint library. Once the document is posted, we want to kick of an event handler to extract the user data from the form and post it into one or more sharepoint lists. Any ideas on how I get started- I'm a novice with PDF forms but have a good understan...

HttpOnly cookies in SharePoint break creation of workflows in browser

This is not a question but a solution that I just discovered. The issue was this: When I tried to create an Approval workflow on a document library through the browser in a a MOSS Enterprise installation, I got and "Unexpected Error" message. Outputting the error to the browser, I got Value cannot be null. Parameter name: g at System....

sharepoint custom field render differently in "View Properties" mode "Edit Properties" and Norman Display in page

I have one custom field. Here are different render of that page. In EditForm.aspx [Through Edit Properties] In DispForm.aspx [Through Edit Properties] I have overrided Display Mode and Edit Mode. But when I put field in a page layout. The page do not show any result. It just show Mode[Display] text. Please, give some advice. Tha...

javascript active directory user / groups query

Is it possible to query AD from javascript? I'm working from within SharePoint, and I can get the current SharePoint user's information using some js I found on a blog. But I'm wondering if I can then query AD to see if the current user is in a specific AD group. ...