sharepoint

Changing My Site and My Profile tab text

How do I go about changing the My Site and My Profile text on everyone's My Site within SharePoint 2007? I can't seem to find anywhere where these are set in any of the master pages. ...

Adding a WebPartZone using a feature

In a number of different WSS and SharePoint sites we typically add a LeftNavZone to the default.aspx page using MS Office SharePoint Designer. I'd like to write a feature to do this programatically so it can be activated only on certain sites. Is this possible? I would like to add it within <asp:Content ContentPlaceHolderId="PlaceHol...

Formatting of BDC Fields

Hi there, I'm trying to format a field in a BDC (Business Data Catalog) definition, in SharePoint, with a thousand separator. It doesn't appear to be possible in the BDC XML definition, and only possible through the SharePoint Designer(!). The fields I've got at present are System.Decimal, so it displays as 12345.98, but I'm wanting it...

ApplyWebConfigModifications to only one web application and not all the farm

I want to apply web.config modifications only on the webapplication i am installing my feature on and not all the web.configs of the farm. i am using SPWebService.ApplyWebConfigModifications , how can i do that? Help pls ...

How do I set the setuppath of an incorrectly provisioned file?

I have a feature that provisions a heap of files including layouts and images into a MOSS site. Over the lifetime of this site we have altered the provisioning file, the Elements manifest, a number of times: adding files, removing files, and changing the file structure in the feature folder. Unfortunately we have discovered that if you r...

How to tell if page is in edit mode on a non-publishing site.

Hi there. For our publishing sites we use the SPContext.Current.FormContext.FormMode enum to work out if the current page is in edit mode. I've seen that this does not work for a team site I'm currently working on. The FormMode is always set to 'Invalid'. However, when I click edit page on a sample page, the page does switch to edit mo...

SharePoint - Scheduled Workflows

Is there any 'out of the box' feature in SharePoint to allow you to schedule a workflow? ...

How can I customize SharePoint list column aggregation (total) calculations?

I have a SharePoint list column of type 'Single line of text'. Out of the box SharePoint only provides the ability to display a 'Count' total for this column type. I would like to be able to perform a custom aggregation on the data (specifically to sum numeric data held as text to overcome this deficiency). I have found examples for doi...

Moving Lists in SharePoint

Does anyone know how I can move a list from one sub site to another, but retaining all content, including version history? Saving as a template doesn't work, I'm not able to use sitemanager.aspx, as my company has a policy to have Publishing Infrastructure de-activated. Any ideas? ...

Order the sharepoint group-headings in a View

In Sharepoint (WSS 3.0) I have a list with a custom view that groups some items. A item 1 item 2 B item 3 item 4 C item 5 item 6 How can I specify a custom ordering of the group-headings? I would prefer to have something like C,A,B as example. Is there a way to do so through CAML? ...

Opening of the spWeb.ContentTypes gives SOAP Exception 0x80004004

Hi everybody! I have the code which going through the sharepoint contenttypes and changes needed field display names. On my local server everything works fine, but on the client side it gives me an error: Microsoft.SharePoint.SPException: Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT)) ---> System.Runtime.InteropServic...

SharePoint: insert ASP code into login.aspx

I have FBA (form_based_authentication) on my SP site, so thi first login site is login.aspx. Now there is following problem: users are coming from another site on the sharepoint. Herefor they using some kind of private key. The Public key is on the sharepoint webserver. What I´m trying to do now is to modify the login.aspx with follow...

Moss 2007 Site Action -> Site Settings have disappeared

For some unknown reason for the admin user of our Moss site (and all other users who had full control permissions) the Site Action -> Site Settings menu option have disappeared from the home page. I can navigate to it by going to mysite/_layouts/settings.aspx but I can't change anything it says I do not have permissions. Any ideas what ...

SharePoint MOSS Approve/Reject button customisation

It seems that the out of the box approve/reject buttons in SharePoint CMS try to direct you to an InfoPath form. We have implemented custom .aspx pages that we use for our workflow approval process and would like it to show these when a user clicks the buttons. Currently we get an error that the formURN cannot be found. Can I affect th...

Change List Settings

Hello all, I wonder how would I go about doing this. I want to change a behavior for a list. When a list is added into sharepoint site, you can see 'Add New Item' underneath the list. When the user adds a new item, it should be replaced with 'Edit Item' How can I achieve this? Many thanks, ...

Unable to access _layouts from custom login.aspx

I have a custom login.aspx form for SharePoint FBA. However, I want to reference files (images, css etc) in _layouts\me\css etc. each time i try, i get redirected to the login page! How can i get this to work? ...

Sharepoint upgrade: Map custom site definition to out of the box definition

I'm currently working on upgrading a Sharepoint 2003 installation to a Sharepoint 2007 installation. I am using a custom site definition in 2003 and would like to map that to the out of the box "Team Site" definition in 2007. Assume my custom site definition is called CustomSiteDef. I have created an upgrade definition file called Cus...

No access with SP Designer after change to FBA

Hi, two days ago I changed the authentication of my site from "Windows" into "Forms". So far so good, users are now in a SQL Express 2005 and it works fine. The problem is now, I have have no access to the Site with my SP Deigner 2007. Does he only support Windows-Authentication? Visual Studio ist the same, I get error message to enable...

Automatic workflows do not "firing" anymore (SharePoint WSS3.0)

Hi all, last week I changed the authentication in WSS from Windows to Forms. Now I have big problem with the workflows I created in SP Designer. When I start the workflow manually, it fires, but when it should to do it automaticly (when new item is created) it fails. Before they all worked fine. Had anyone the same problem after the s...

Image Handler for Sharepoint Not Working

My ImageHandler.ashx is not working when the webpart is calling it. any ideas on what is the correct way on calling or adding a handler in sharepoint? Thanks in advance Here My ImageHandler.ashx code byte[] buffer = (byte[])image.ImageData; context.Response.ContentType = "image/jpeg"; context.Response.OutputStream.Write(buf...