sharepoint

SharePoint: Add custom style to site definition

I am trying to add a custom css file to my site definition but I am having some issues. I have read that I should place them in 12\TEMPLATE\SiteTemplates\TEMPLATENAME\Layouts\1033\STYLE.CSS But I can't access the file at /_layouts/1033/Styles/STYLE.CSS Do I need to use a feature to add the STYLE.CSS file? I am for my Site Definition usi...

SharePoint: Apply source ContentType to destination when copying a SPListItem

Greetings, I've written my own ContentType definition that can be applied to any Document Library. I would like to preserve the data associated with an item via my ContentType when that item is copied by the user to a Document Library to which my ContentType definition is not yet attached. The obvious thing to do, it seems, is to catc...

Meaning of System.ServiceModel.EndpointNotFoundException

Hi All, I am working on a SharePoint 2007 related application. I use SharePoint build-in web services to interact with SharePoint server’s content, but some time to time I am going EndpointNotFoundException exception. Can somebody tell me why I am getting this exception? Thanks ...

personalize webpart-problem in giving url to xml file in toolpart

Hi, I am creatng a webpart and I am tryng to reference xml from toolpart . I hv created custom properties and its fine if I set the default value to some url otherwise its showing msg fle not found. I want that if its the first time I am loading file it should display the message Open tool part to select the XML. I m doing lke ths: pr...

Sharepoint 2003, Backup of Shared Documents Folder

We have Sharepoint 2003 in our environment to assist the developers to keep their project related documents. Now, one of the Project want their entire Shared Documents as back up in DVD. The size is approx 3Gb. We tried to map the portal site on local machine as Tools->Map Network Drive->\server\sites\sharepointsite. We then try to copy...

filter items in a list view on sharepoint

Basically i have created a list by importing a spread sheet which contains username as one of the column. I now want to create a specific view which will show only items in the list only based on currently logged in users how do i do it. I've tried using [Me] with matching column from the imported spreadsheet but it was not working as e...

Add new property to user profile using UserProfileService

Hello all, In MOSS 2007 using UserProfileService webservice I'm able to read/update an already existing property from a user profile. Is possible to use this webservice to create new properties ? If yes how ? Thank you ! ...

WSS: Determining config database details from SPFarm object

If I have an SPFarm object in the WSS 3.0 API, how can I get the Server\Instance details of the config database? ...

Access/rights to Infragistics images and javascipt in Sharepoint for a page in _layouts

The Infragistics images and javascript files are located on the server in: "\nasmoss\c$\Inetpub\wwwroot\aspnet_client\Infragistics". I created a page and put it in the _layouts folder in Sharepoint. It is just a hierarchical grid. It has the + to expand the group. For certian users, it displays a red X showing the images are not avai...

Reporting Services add-in to Sharepoint: how to change report's data source programmatically?

We are using Reporting Services add-in for Sharepoint Technologies. We keep our report files in a document library list on Sharepoint. Then with some code we copy these reports to a different document library. The problem is that after copying, the report cannot be displayed because it has invalid Data Source. You have to go to "Manage D...

Sharepoint Branding

Hello everyone. I'm just tasked by my boss to create a Sharepoint solution for the scenerio below. (I'm a total newbie to Sharepoint. So please forgive me if i use the terminology wrong) The portal should open in a custom look than the default Sharepoint design and it should have links to the products. Every product page should have di...

How to implement Global calendar

It would be great if any one would let me know how to implement global calenar in sharepoint 2007. I m new to sharepoint. Pls tell me step by step. Thank you ...

Use the MSChart in the Web Part

Hi all I use the MSChart in the web part, it works fine. But there is a problem. I add some controls in the Web Part Editor to configure the MSChart's color. Everytime after I change the color of the Chart, then click the Apply button, it does not show the change. You need click twice or refresh the page again. Does anyone meet the sam...

quiting a c# application leaves it in memory

I'm using c# to write a windows form which installs and deploys WSPs to a sharepoint server. The problem I am having is that when I detect a problem and quit the application or when the cross in the top right of the form is pressed the form closes but the task is still in the process list. My quit code is: this.close(); application.qui...

SharePoint 2007: How to check if a folder exists in a list using web services?

Using SharePoint 2007 webservices or even Webdav, how can I check if a folder exists in a list (not document library) in SharePoint. I would also like to check for subfolders... Anyone have any idea on how this is done? I've asked Microsoft, and their official stance is that Microsoft provide no documentation on this. so any help will...

SharePoint 2007: How to get List URL from List Name using Web services?

I have a MOSS List, how can I get the URL for the list from the List name only using web service methods? ...

SharePoint Field Forcing Links To be Relative

Ive got Note field with FullHTML turned on. I'm trying to storage an image tag with src that points to the server I'm currently on. I set the field to: <img src="http://servername/_layouts/images/Company/test.jpg" /> I then immediately try to read the value back out, and I get: <img src="/_layouts/images/Company/test.jpg" /> Share...

SharePoint - Creating a Custom Search Results web Part Page

Hi Guys I have replaced the default Search Box in SharePoint using Delegate control. Now my delegate control has a Text Box and a Button. On Button Click it should take the users to a web part Page wich has all my Custom Web Parts added. But this Web Part page should be accessible from every site in sharePoint as my Custom Delegate c...

How to disable commas on Integer field in Edit item screen

Hi, I have a field defined as this: <Field Type="Integer" DisplayName="BŠS" Required="FALSE" Commas="FALSE" Group="CRPU grupa" ID="{f8ae007e-df89-4149-8318-a79673cec338}" SourceID="{e0015c45-f539-484b-ae04-b792801053e3}" StaticName="BŠS" Name="BŠS" /> This is a part of a custom content type, which is added to a list. When I display ...

Hows to deploy .dwp file as a feature in sharepoint

Hi, I have a .dwp file which I got by exporting my webpart . Now I want to make feature using WSP builder. I knw I have to create element.xml,feature.xml and Webpart1.wepart but I was going through the method what I didn't get is where to put the .dwp file in 12 hive and also where I will give the location of this .dwp file ? In element...