moss-2007

How to make the MOSS 2007 My Site profile fields not act as searchable links?

I have a MOSS 2007 instance where my client wants the content that comes in the My Site profile to not show up as links. How can we achieve this? I tried removing the preferred search center url from the SSP. It did the trick but it also broke the standard search functionality that resides on the top right hand side of the page (below t...

Hiding a custom web part in SharePoint

I'm attempting to completely hide a custom web part I'm writing under specific circumstances. What I'm not finding a lot of help on is actually hiding the complete web part. Using: this.Hide = true; will hide the content of the web part, but it appears to leave the Chrome behind. I can't change the Chrome display, so that's not an ...

SharePoint Lists as DataSources - How to Manage

Hello All, Its a kind of newbie question: We have a web part with user controls and a SP list as data source. For different kind of sites say team sites, publishing portals etc the path for the respective list would be different. eg: Team Site it would be http://<Server>/Lists/<List Name> and for Publishing portal with Locali...

Need a separate role for adding Users in MOSS 2007

I want to have user rights split into two. Some of the policies at the client's side mention that we should have a seperate user who has only the rights to add users and nothing else, and the Site Administrator should not be able to add users. As of now, the Site Admin is used to Add users and to manage other configuration. Can we remov...

How do you get SharePoint "My Links" back after a profile has been deleted and restored?

We're running SharePoint 2007 SP1 and profiles are imported from Active Directory (a full import runs daily). We had a problem where many of the users were disabled unintentionally in Active Directory and this caused their profiles to be removed from SharePoint. We re-enabled their Active Directory accounts and ran a full import which ...

Can I have a custom document workspace for documents in a document library?

Is it possible to have a custom document workspace for documents created in a specific document library? I don't need every document library to have this custom workspace, just a single document library. For example, assume there is a "Movies" document library. I'd like to have a customized document workspace for any documents created...

MOSS - get site usage summary by code

I want to build a WebService that shows two columns: User Name , Url. It will be a list of all the entrances to my sharepoint site. I think to use the "MOSS usage service", are there any articles about how to get to the service's data? or maybe I need to deal here directly with the IIS ? ...

Approach For Syncing One SharePoint List With One or More SharePoint Lists

What would be the best approach or strategy for configuring, customizing or developing in SharePoint a solution that allows me to keep one or more SharePoint lists in sync with a SharePoint list I have designated as a master or parent list. I would like to be able to create a master/parent list of some information that can be extended ...

Programmatically Add Site Template (.stp) to SharePoint

Hi, I would like to programmatically add a custom site template (.stp file) to a MOSS team site collection as part of my build process. Can anyone point me towards the best way to do this? Thanks, MagicAndi. ...

Create Feature to Upload Site Template File (.stp) in MOSS

Hi, Following on from this question, I have created a feature to upload an site template file as part of an automated build of a SharePoint site. However, while the feature deploys the .stp file correctly to the hive, and the solution appears in the CAS | Operations | Solution Management page, the site template does not appear in the s...

Remove "Create blog" link from My Site

Hi, what is the best way to remove the upper-right link "Create blog" from My Site ? I have found this article, but I hope there's another solution than doing that ! link text I'm using MOSS 2007. Thanks for your help, Raphaël ...

Features not being deleted after removing the solution

Hello All, I have removed the wsp from the Operations-Solution Management. Still in the site collection features I see the Feature I have removed. Please help me in deleting it from the Site Features too. ...

Determine the SharePoint Sites and Webs That A Specified User Can Access Programmatically?

Hi, I need to determine the sites and webs that a specified user can access in a SharePoint web application via the SharePoint API. Note the specified user is different from the current user that is calling the code. I initially was thinking of making use of the PortalSiteMapProvider, but it does not offer an option to change the user...

How do you remove/delete a column in a custom list that you added from existing site columns?

I have a custom list, and I've added a 'Page Image' field by clicking on the 'Add from existing site columns' link on the Settings page for the list. I would now like to remove the field, but clicking on the field name on the Settings page yields no 'Delete' functionality. How do you remove fields from a custom list in SharePoint that h...

Cutomize quick launch menu and site action menu in My Site

Hi, I've been asked to cutomize the following : In the left quick launch menu, is it possible to remove these menus : Documents, Lists, discussions and Sites ? These menus need to be remove/disable/hidden by default when the user creates it's My Site. In the site action menu, is it possible to remove/disable/hide the Create menu, so t...

Content Deployment and AllowUnsafeUpdates

I have this bit of code... using (SPSite sitecollection = new SPSite(siteUrl)) { using (SPWeb web = sitecollection.OpenWeb(webUrl)) { try { web.AllowUnsafeUpdates = true; ContentDeploymentJob.AddQuickDeployObject(web, Microsoft.SharePoint.Deployment.SPDeploymentObjectType.L...

Automating Site Collection Creation in SharePoint

UPDATE I can now perform succesful UI impersonation. This was an issue with the code I was using and after viewing Jay Nathan's article I have reverted to his code and all is working great. In response to a comment this is the code I am using to create a new site collection: Dim newSite As SPSite = webApp.Sites.Add( _ txtWebApp....

Print a gantt chart in MOSS

Hi, Does anyone have a tip, a third-party component or anything else that would help me print a gantt chart created in MOSS 2007. When I try to print it, IE only prints part of the web page, but not all the Gantt chart. Thanks for your help ! Raphaël ...

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...