moss-2007

[Sharepoint] How to show a list of sites the current user can access?

Hello, I'm working on MOSS 2007 and I want to build a sharepoint webpart that can list all the sites (in the same SPfarm) visible to the current user. What I can think of is: Use FullTextSqlQuery class to search for the sites, but is it possible; Build an external application that crawls the user-sites information by using the Sharepoi...

Easiest way to convert static HTML documents on SharePoint

Hi there, currently I'm faced with a LOT of static HTML documents to convert to SharePoint (MOSS 2007), basically they can remain static, but need to be migrated into the SharePoint site with the SharePoint look and feel (each page needs to be updated with the SharePoint headers and footers at a minimum), are there any tools out there th...

MOSS 2007 Create Lookup Column but list is not in dropdown

I have create a list in sharepoitn and I am trying to add a column whih is a look up to another list. The list that I am trying to look up is a parent site to the site I a currentley on. I do not see the list that I wish to add in the drop down. Any ideas why this list is not apearing? ...

Adding html to CreateChildControls() method

I'm using MOSS 2007 in my webpart within my CreateChildControls() method I have the code below: protected override void CreateChildControls() { base.CreateChildControls(); Panel myPanel = new Panel(); myPanel.ID = "SelectionPanel"; this.Controls.Add(myPanel); this.myGridView = new G...

SharePoint writing content to a site navigation programmatically

Hi, For a certain sub site in sharepoint I want to add a new section to the navigation on the left handside. For example "My Section". Under "My Section" I wish to some links but I want to control the hml output of the links. For example add my own classes. How would I go aboutdoing this? ...

adding custom property to webpart with a custom toolpart

Hi, I'm trying to add a custom property to my webpart as below: [Personalizable(PersonalizationScope.Shared)] [WebBrowsable(true)] [System.ComponentModel.Category("Settings")] [WebDisplayName("RSS List Path")] [WebDescription("")] public string RSSListURL { get ...

Sharepoint going to Manage search Service (managesearchservice.aspx) gives an error

When I go to Central Admin > Application Managment > Manage search services I get the following error: Method not found: 'Microsoft.SharePoint.SPException Microsoft.Office.Server.Search.Administration.SearchAdminUtils.ConvertToSPException(System.Exception, Microsoft.SharePoint.Administration.SPServer)'. at Microsoft.SharePoint.Portal....

Sharepoint Publishing Page not Keeping Information

I have a SharePoint publishing site with a few custom designed page layouts. I've set up the a custom SiteContent object which inherits from Page and it has the appropriate custom SiteColumns added to it. The Layout pages each have RichHTML editor controls for these custom SiteColumns and when a new page is added via the Create Page ...

SharePoint Last Modified Date and Anonymous Access

Hi there, Currently I'm trying to display the last modified date in my default.master page in MOSS 2007 doing the following: <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> --Snip-- <SharePoint:DateT...

SharePoint 2007 Central Admin w3wp.exe process consumin 99% CPU

Hi, I have been running an intranet using SharePoint 2007 for over a year and all has been working fine. However, after some time, I realized that the intranet portal was slow. Trying to access the Central Admin over another computer not the SharePoint server also became an issue. So I logged onto the real SharePoint Server and it took ...

XSLT Edit option for Custom Web Parts in SharePoint

Hi all I do have a question. Can I implement a similar function like XSLT Edit button for custom Web Parts in MOSS 2007 like DataView Web Part. Can some one help me out with some ideas or related blogs? Thanks Carol ...

Sharepoint 2007 - Finding out where a view is used

Hello! I'm a MOSS 2007 newbie and am trying to find out where a view is used. I have a larger list and i want to have two different views into that list. I've inherited the site collection, and currently there are three views, with two of them named almost identically. Now i'd like to find out if i can safely remove one of those views....

Creating Custom Field Types with Additional Column Settings

I am trying to create a Custom Field Type which is same as Multiple lines of text field with the following additional: It has one extra text box in the Additional Column Settings section when creating the question When rendering the question, the value in the text box to be displayed before the text box as a link Does anyone k...

How can I user ConnectionProvider/Consumer with WebParts that use RegisterInterface?

I'm writing new web parts that need to communicate with pre-existing third-party webparts. If I use RegisterInterface to provide a connection point, I can set up connections between my new web part and the third-party ones. However, so far I haven't been able to manage that using ConnectionProvider/ConsumerAttribute -- the connections de...

Determine which edition of SharePoint is Installed?

What is the most reliable way to determine which version of SharePoint is installed. Whether it is WSS or MOSS. If MOSS, whether it is standard or enterprise. I want to programmatically detect the exact SharePoint version installed.. PS: I already have posted this question http://www.sharepointoverflow.com/questions/1395/determine-whic...

Duplicating Document Libraries

Is there a way to do this in MOSS 2007? Instead of manually creating the same type of document library with a different name, I'd like to use a shortcut -if exists- to achieve this. Thanks. ...

Suggest FreeWare or Paid Network Share explorer WebPart in SharePoint

Hi, Can any one please suggest any good Network share explorer WebPart in SharePoint where in it provides all basic features like expand-collapse network share folders in left pane and containing files/folder in right pane, Drag and drop feature, Cut and or copy - Paste feature... I really appreciate any help. Nikhil. ...

How to restrict user to attach particular type of files to items in a list

How to restrict user to attach particular type of files to items in a list ? Now i can attach any type of file to an item . But i want to restrict the user to upload only images. If user will upload any other then i want to display an error message . Also how can i restrict the user to upload maximum one file only to a particular item? ...

Sharepoint: Why do I not get the option to create new Survey, Discussion, Wiki etc?

I have created a new web application (port 44455) to host all the discussions, surveys and wikis that we will want. I then created a new site collection (which uses the publishing template) and then tried to create a survey (AllSiteContent --> Create --> Tracking --> Survey) but the only option presented was 'Tasks'. Why is this? On the...

How to get current user display image in Sharepoint?

Hi. I have a MOSS 2007 site. I want to display the display image (or avatar, whatever you call it) of the current user. Is it possible without writing a new web part? I don't have any MOSS 2007 installed computer that i can reach, so i can't develop web parts for Sharepointç (Or at at least i think) Thanks. P.S. By display image, i...