sharepoint2007

setting SPField values for SPListItem

Rather than iterate through all the fields in an SPListItem SPFieldsCollection and rendering an input control for each one then trying to programmatically match them back up on post back. Is there an inbuilt method of doing this? i.e. of reusing the same control in the edititem.aspx page? ...

Accessing remote sharepoint server

Hi, I have written an IronPython script that generates a xml file that contains the metadata of a site and the document libraries that it has. I use the Microsoft.SharePoint dll extensively. Is it possible to run this script and generate the metadata of a site that is hosted in a remote server. ...

RenderingTemplates for EditProfile.aspx - Which RenderTemplate uses the MySite?

I am working on Replacing Default text editor in MOSS. So I found good blog for change in regular sites, but not in MySites collections. Looking for RenderingTemplate for Richtextbox(ProfileEditor) in EditProfile.aspx page. EditProfile.aspx has ProfileEditorXXXX. I know DefaultTemplates.ascx will render templates for regular sites colle...

How to update a document of a sharepoint list using UpdateListItems

I'm able to delete a document in a list using this piece of code: // string fileRef = "folder/myplan.doc" private void DeleteDocument(string fileRef, string listGuid) { string strBatch = "<Method ID=\"1\" Cmd=\"Delete\">" + "<Field Name=\"ID\">1</Field>" + "<Field Name=\"FileRef\">" + fileRef + "</Field>" + "...

Sharepoint CMS vs UmbracoCMS

I work for a large local government organisation who are about to embark on using SharePoint to replace our ageing intranet with an all-singing all-dancing collaborative site. The focus for the intranet will be replacing random files, content pages and documents that are spread across the organisation with a SharePoint installation which...

SharePoint Approval

I need to add sharepoint approval to a list... and I was hoping to use the default approval process... but... I need to run some code once an item is approved. Do I have to then use VS to create a custom workflow? I need to run some code that currently runs in an event reciever. I need to move the code to another function (as we are ...

Is it possible to hide the Web File Properties dialog in Office 2003?

Hello, We're implementing SharePoint 2007 but have Office 2003 as our client. This causes problems when editing metadata since custom field types like BDC columns aren't represented properly within the Web File Properties dialog in Word. To get around this, we would like to disable the this dialog to force users to edit metadata with...

Insert SPWebConfigModification at beginning of httpModules node

We've built a simple IHttpModule for our SharePoint deployment that catches exceptions and emails the developers the contents using the following foundation: public class ExceptionReporter : IHttpModule { //snip public void Init(HttpApplication context) { context.Error += new EventHandler(context_Error); } ...

Sharepoint Document library

I have files in my document under specific folder with a specific format yyyymmxx.doc. Now the user selects something like yyyy,mm,xx and i from the file name and open it up for him. This i did using form webpart and javacript into it. Now is there a way i can do it with the webaprts alone. Like filtering. I searched around but could no...

0x81020014One or more field types are not installed properly. Go to the list settings page to delete these fields.

In sharepoint when trying to update a list I am getting the error: 0x81020014One or more field types are not installed properly. Go to the list settings page to delete these fields. The Caml that is being created is: <Batch PreCalc='TRUE' OnError='Continue'> <Method ID='1' Cmd='Update'> <Field Name='ID'>4</Field> ...

Page deleted from Wiki. Recycle bin has been disabled.

We have a Sharepoint WSS wiki site from which one of the users accidentally deleted the page. The recycle bin is empty as it has been disabled. I understand the WIKI maintains the older versions of the pages as well. Is there a way to restore the older version of the page? ...

Sharepoint accessing "User Information List" via a webservice

I am trying to get the contents of "User Information List". This list can only be acessed as an admin user. I have a method that logs in as the admin user and then does the following: var xmlDoc = new XmlDocument(); var query = xmlDoc.CreateElement("Query"); query.InnerXml = "<Where><Eq><FieldRef Name='ContentType' /><Value Type='Choice...

What master page is used for SharePoint Site Settings pages?

I'm wanting to edit the master page that is used for the Site Settings pages in a SharePoint site. I've changed the main master page but it doesn't alter the Site Settings page. What page do I need to edit? ...

MS SharePoint 2007 - Anyone know where I can find a thorough learning resource?

Hey guys. I would like to learn about MS Sharepoint 2007...does anyone know where I can begin (the more thorough, the better) Thanks...much appreciated! ...

Sharepoint 2007 Column Filtering breaks when new field added

Wondering if anyone has seen this before. We have a sharepoint site we maintain that contains records of job applicants. If we ever add a new field to the list all of the filtering on the site breaks until we go through and update each new record in some way. We dont have to set a value for the new field, we just have to change A fie...

SharePoint: Timerjobs Lock Type

Hi I am trying to create a timer job in WSS 3.0. My timer job would create the object of SPsite then SPWeb and then SPDocumentLibrary (or possibly picture library)using their GUIDs stored in any xml or database.After that it would take the back up of documents in the document library in some third party application and then delete thos...

Sharepoint Web Service GetListItems not returning all rows

I am using the GetListItems web service and it is only returning about 50% of the results stored. Is there a limit to how much data can be returned? Is there anyway round this? ...

SharePoint development with visual studio

i have installed SharePoint 2007 and VS2008 extension on my computer.i have created a site but i don't find source code for solution file.how i development for my SharePoint site on visual studio? ...

SharePoint custom controltemplate not being applied

Hello, I'm having trouble with a custom control template. My intention is to use a custom control template on a NewForm.aspx for a list. I have created a CustomTemplate.ascx file and this is deployed to 12/Template/CONTROLTEMPLATES < SharePoint:RenderingTemplate ID="CustomListForm" runat="server" >... I have modified the schema.xml ...

Does a CustomAction menu item apply to child content types?

I have a CustomAction definition with RegistrationType="ContentType": <Elements xmlns="http://schemas.microsoft.com/sharepoint/"&gt; <CustomAction Id="Sample.DuplicateListItem" Location="EditControlBlock" Title="Copy Item..." RegistrationType="ContentType" RegistrationId="0x01010012"> ...