sharepoint2007

Filter a sharepoint list dynamically

I have a task list which contains tasks which are submitted on the end date of every project phase. I need a list view which displays the submissions for the most recent project phase. Currently, this is implemented by specifying the most recent project phase end date as a filter condition. Whenever the tasks for the new project phase ...

Hide a Column name in a list View sharepoint 2007

I'm using a list as a list of hyperlinks so there's no need to sort ascending etc but the "Name" is annoying, how can I hide the name of the column but still show that column's data. ...

Attribute not valid on declaration type

I have the following code but I am getting the following compile errors: Attribute 'WebPartStorage' is not valid on this declaration type. It is only valid on 'property, indexer' declarations. AND Attribute 'FriendlyName' is not valid on this declaration type. It is only valid on 'property, indexer' declarations. I have modified my ...

MOSS 2007: How do I move Project Pages from the C: drive to another drive

I have two drives on my server, C: & D:. I am out of storage on my C drive and need to validate that the multiple project pages I have created are being stored on C. The URL string does not point to any specific folder on the server. How do I validate where project pages are stored, and if they are on my C Drive, can I move them to D w...

On MySite Creation in SharePoint, How Do I Add a Customized My Home Page?

Hi, I need to add a customized My Home Page, using a specified page layout, on the creation of a new My Site in SharePoint (2007). Can anyone give me any pointers on how to do this, preferably without modifying the Master page (as detailed here)? Thanks, MagicAndi ...

SharePoint: How to create a folder in a document library please using web services

I need to create a simple folder in a document library in SharePoint, but I can't seem to find a scrap of documentation on the subject. The dws webservice seems to be used to create physical folders in a workspace, I need a way to create a folder in a document library. Not sure what to do , please help ...

sharepoint development concept issue -- about site and application

Hello everyone, I am developing on SharePoint Service 3.0/SharePoint Server 2007. I always read document says create an application or create a site (collection). The term application and site always make me confused. Could anyone help to clarify what is the relationship between a SharePoint application and a site (collection)? For exa...

Using AspCompat in a SharePoint web part page

I'm in the process of creating a SharePoint web part that needs to use a single-threaded COM component. I've discovered that in order to make this work well, I need to add the AspCompat="true" directive to the page where the web part will live. The problem is I can't seem to set up such a page. I created a new blank web part page via th...

SharePoint user/group role concept issue

Hello everyone, I am programming with SharePoint Service 3.0/SharePoint Server 2007. SharePoint has some built-in roles like contributor, visitor, designer, administrator. I am wondering if I use Forms Authentication, how to define roles in Forms Authentication Roles in order to map the Forms Authentication roles to SharePoint built-in...

How to get original URL of a site whose Alternet Access Mapping is set?

How to get original URL of a site whose Alternet Access Mapping is set? Original URL is http://machinename%3Aportnumber/documents/text.doc Mapped URL is http://documentshared/documents/text.doc How can I relate this two url? Is there any function in which I will supply Mapped URL and will get Original URL? Is there any way to do thi...

extending SharePoint List - adding a button control to the toolbar

I am creating a special Task List in SharePoint, I think that the best way to do that is through using SharePoint List Definition project in Visual Studio 2008, that's what I'm using. I want to add a button control to the ViewToolbar of the list "AllItems" page, and to specify action when this button is clicked. all the articles that I ...

Sharepoint Intranet Branding : How to rollout the changes for themes

I have created a new theme as per the corporate guidelines and stapled the same with the site defination, as all the custom themes are unghosted, what is the best way to rollout changes. is there any option to make the custom theme ghosted, this would make the job much more easier :) I have found below tool to do that, but I would like...

Changing the Sort order on BDC Actions in SharePoint

We have a number of Actions defined in a BDC (Business Data Catalog) definition in SharePoint, and need to change the order they are displayed in the UI. Within the Action defintion, there is a Position field, which we are specifying, however, the UI wants to display everything in Alphabetical order, which isn't what we are after. An e...

MOSS: How to quickly get total count of all webs in a Site Collection?

Is there a way to get a total count of all webs in a Site Collection, without enumerating through them? ...

How can a web part know it's EditorPart is open

I've created a web part with a custom editor part. Now I want to make changes in the behaviour of the web part if the editor part is open. I can almost get it to work by setting a flag in the CreateEditorParts() method except that also fires when the user clicks "OK", "Apply" or "Cancel". The page will render without the editor part op...

Creating profitable sharepoint webparts

At my day job, we are currently porting our portal to Sharepoint MOSS 2007. Like it or not, there is alot of big companies following suit. After working with the consulting company that setup ours (and buying their EXPENSIVE crappy webparts), I wanted to know some annoyances in MOSS 2007 that would make good commercial webparts. Or would...

SharePoint - An unexpected error has occurred.

In SharePoint I am getting the following when I go to my new web part page: Error An unexpected error has occurred. Web Parts Maintenance Page: If you have permission, you can use this page to temporarily close Web Parts or remove personal settings. For more information, contact your site administrator. Troubleshoot issu...

Replace the Default Page in a SharePoint WebSite

Hi, I have been asked to programmatically do the following in a SharePoint 2007 team site collection: Create a website using the OOTB blank site template. (Please note, for project specific reasons, we are not using customized site templates.) Activate the Publishing feature on the created website Activate a number of other custom fe...

Project Server Login Issue

Hello All, I have migrated Project server from one server to another. I am able to see all the content that was present in the old server by appending _layouts/user.aspx or whatever I want to see. However I am unable to see the Project server home page. As we know Project Server has its own security model. Can anybody throw li...

Filename shows as a Required field in a Document Library in Sharepoint 2007.

Ok, so got a stumped scenario. On a Sharepoint MOSS 2007 site, somebody messed around with the settings of a Document Library. You try and upload multiple documents to the document library and it keeps them as checked out. This was not occurring before. The library settings (versioning settings are set to Yes to check out before edi...