sharepoint

How to clone an Item in a SharePoint list?

I need to be able to create a different item from an existing one, but still keep most of the details and only change some information. Thanks, ...

Renaming Title Column in SharePoint List Definition

I am defining a custom list content type for SharePoint (using VSeWSS 1.3 and schema.xml). I want to change the display name of the default title field ('Title') to 'Serial Number': <Fields> <Field Name="Title" DisplayName="Serial Number" Type="Text" /> </Fields> I am using the LinkTitle column in my definition of the default view ...

SharePoint 2007: Use SqlProfileProvider with Windows Integrated Authentication?

I am trying to figure out if it's possible to use the SqlProfileProvider (aspnetdb) for storing certain profile information for users that are authenticated to a SharePoint 2007 site by Windows Integrated Authentication. The goal is be able to develop ASP.NET code that stores a few personalization strings for each user and will run in an...

How to restore a deleted TFS Project Portal

Is there a way to restore an accidentally deleted project portal in TFS 2008? ...

Cannot use SPWeb, database login failed

We have an archive site that is an exact copy of the "live" site, but uses a different service account. I have built an EditControlBlock extension that redirects a user to a page in the _layouts folder. The page has some text on it and an Ok button. Edit: The SPWeb i am trying to use is in a different WebApplication. I am trying to move...

Extending SharePoint search with an OPAC Search (library system)

I'm wondering if someone has some experience in extending the SharePoint Search so that users are able to search the Online Public Access Catalogue (OPAC) of a library system. Would this be possible at all? What are your experiences? ...

Is the ViewState and Session Variables wrong in WebParts in SharePoint?

I am using ViewState to save some data from a page to another on sharepoint, and when I write this line at the Page_Load event I get an error but it doesn't say anything. Any clue? Label l = new Label(); l.Text = ViewState["user"].ToString(); and also this one Session["user"] = (sender as LinkButton).Text; ...

Document checked out in SharePoint when workflow starts

I've found bit of a problem when running a workflow on a document library. When you click new document it'll open up microsoft word in this example. You write some stuff into the document then save it to the library. The workflow associated to the library, in this case a home grown approval workflow with start to run now that the list it...

databind a sharepoint list to a dropdown using linq

I have access to a sharepoint list like so: SPList countries = site.RootWeb.Lists["Countries"]; the list has a CountryCode column and a CountryName column using linq how can i databind this as a datasource for a drop down so that the "Value" is "CountryCode" and the "Text" is "CountryName" ...

SharePoint Lookup Column

When I have a lookup column in a Document Information Panel (DIP), and I select an item, it is displaying the List Item ID instead of the text of the selected. Are there anyway I can get the name and not the ID of the item that is looked up to? It is obvious that I have selected the correct column when setting up the lookup field, but ...

Deploying a XAP file into ~/ClientBin using VSeWSS

I have a SharePoint (using VSeWSS 1.3) project that creates a WSP file which installs my custom content types. One of the type also installs a custom version of DispForm.aspx which is hosting a Silverlight control, located in the ~/ClientBin as a XAP file. Is there a way in the ListDefinition.xml file to instruct VSeWSS to deploy my XAP...

Sharepoint Designer 2007 ODBC database connection to MySQL impossible?

I'm trying to create a Database Connection to ODBC data sources in SPD 2007 and am having absolutely no luck. I've had some success using an SqlDataSource control, however. I don't know if SPD's database connection support is just broken or what. Googling has turned up others having issues but no definitive answers. So, my two data s...

Telerik RadGrid Export to Excel. Missing operand before '=' operator.

I am getting the error Missing operand before '=' operator. when I try and export and the code is running fine in the grid. Here is the code for the web part. The error only occurs on the rebind. It works fine in the grid itself. Is there any way to narrow down the exact thing it is erroring on? I am willing to pay for a support / so...

Start SharePoint workflow on certain time of day or after a certain amount of time

Hello, Is it possible to start a workflow on a document in SharePoint 2007 that begins after a certain time or on a certain date? Thank you. ...

Building a WSP File on the Build Machine

On my development machine I installed VSeWSS 1.3 and configured the local IIS 6 so that I can build my SharePoint project and deploy the generated WSP file to the local machine. The WSP file is generated by the Packaging step, which I can successfully install on other machines. Now I have to migrate my project to our build machine which...

SharePoint wsp solution: How to Deploy Globally

Hi, I have created a wsp package and add it to CentralAdministration> Operations> Solution Management using addsolution command of stsadm. Now when I click on Deploy Solution menu, it taransfer me to deploy solution page. In this page ,in "Deploy To?" section, it shows me dropdown list with entries like 'All Content web Applications'. B...

Get SharePoint credentials from SaveFileDialog

Hi I'm creating a client application where the user will be able to open a Windows Forms SaveFileDialog. There the user will enter a specific SharePoint library. Thankfully for me, the saveFileDialog prompts for credentials every time the user enters to a library where he doesn't have access. Later I need to call some SharePoint web ser...

How to enable session variables in sharepoint?

Whenever I use session variables in webparts in sharepoint the page doesn't load and i get an error. I was adviced to enable them because they may be disabled. Any clue? ...

Reformat the content and look of SharePoint alerts

Is it possible to reformat (content and look) of an alert email sent by Sharepoint 2007? If yes, how do define the format and content? ...

Sharepoint web.config changes using SPWebConfigModification

Hi I've written a sharepoint application that needs to change web.config I have a feature that is supposed to make all these configurations. The code for that feature is like this: SPSite site = properties.Feature.Parent as SPSite; List<SPWebConfigModification> modifications = new List<SPWebConfigModification>(); modifications.AddRang...