sharepoint

Adding a cloned SPView to a list

Ok, does anyone know how/if you can clone a SharePoint view and then add it to a list. The SPViewCollection.Add overloads will not take an instance of SPView and I couldn't find any documentation that indicated how to do so. For example I would like to essentially do this: var myList = SPContext.Current.Web.List;//or something similar...

Sharepoint permissions

How can I set the permissions for a site where I have access to do everything but NOT view documents? Thank you. ...

Dynamic height for silverlight app in sharepoint

So as far as I know when using Silverlight in Sharepoint I need to give the web part a certain height and width for the silverlight application that I want to use. And I cant use 100% in the web part properties. What I would like to do is for the silverlight app to tell the webpart what the height should be. Currently I'm not even sur...

SQL joins and logic

I am working with a SharePoint web part that I am designing in C#. I need to query a SQL Server 2005 database to return the names of machines that are associated with a particular customer, selected by the user. The problem is that there are different types of machines, and the names themselves are stored in several other tables. Here i...

Developing a website for 3 mln. users: SharePoint OR pure ASP.NET?

Hi guys, We need to develop quite a powerful web application for an investment bank. The bank IT would like us to build it on top of the SharePoint platform, but we would prefer to do pure ASP.NET programming. The web-app should have the following characteristics. 1) It will be a site for bank's clients that will allow them to view th...

Content Query WebPart - Grouping by custom column?

We have a LIST of web pages that we use as News items on our Sharepoint 2007 site. On our main page, we have a Content Query WebPart that queries this list, and nicely displays the name, and a few lines of the content. This is taken from our Pages Library that was created as part of our Publishing Template. We would like to "Group" item...

How to add a new WebPart in a specific Group after it is deployed

Hi, I am constantly writing custom WebParts but after I deploy them, they always get added to the "Miscellaneous" category. How do I add a WebPart to a specific category? The category that I am referring to here is the one we see in the "Add Web Parts..." pop up, which is activated when the "Add a Web Part" is clicked on a zone. Thank...

Create webpart saving its data on leaving article page

I have one custom article page layout which has a multiple lookup field called Tags refered to Tag list. In this layout, I put a webpart which do the task edit Tags for me. When I create a page from the layout and edit it, the webpart let me to add/remove tags easilly. How can I save data in the webpart when user press on link to call ou...

How do you change the "click to edit" column in sharepoint?

How do you change the "click to edit" column in sharepoint? ...

An item with the same key has already been added. at Microsoft.SharePoint.Portal.Search.Admin.Pages.SearchAdminPageBase.ErrorHandler(Object sender, EventArgs e)

When I go to the Search Settings page in Shared Services Administration I get the following error: An item with the same key has already been added. at Microsoft.SharePoint.Portal.Search.Admin.Pages.SearchAdminPageBase.ErrorHandler(Object sender, EventArgs e) at Microsoft.SharePoint.Portal.Search.Admin.Pages.SearchSSPAdminPageBas...

Managing users in Sharepoint

Is the best (or only) way for managing users in MS Sharepoint Active Directory? I'm studying, and i have been buiding a little project to learn, and i'm using active directory to manage my dummy users, but it doesn't seem like a very practical way for doing so. ...

Sharepoint intranet portal

Migrating (rewriting) a whole portal originally made in .net to shareopoint doesn't seem like a very easy thing to do. I've been assigned such task and now i'm just learning, planning and starting to get things practical in order to accomplish it faster. It's not exactly a question, it should be a discussion about it and may help others...

Adding a Column to a Generic List INstance during feature provisioning.

I'm trying to create a solution package for a set of features within a SharePoint site. I want to create an instance of a generic list (using ListInstance in the element manifest) and add an additional column to it (since by default they only have a Title column) without having to go through activation code. Is there a way to do this th...

Migrating from .net to Sharepoint

What are the compatibility issues someone has to take into account when migrating from .net 3.5 to sharepoint 2007 ? I mean, libraries, COM objects, databases.. Specially about databases, it was sugested to me not to connect to a database directly, but an alternative wasn't said, so i guessed it should be better making this question ab...

Flat view with folder file is located in

I have a document library and i want to create a flat view to see all the documents with out the folders, but id like to keep the folder the file is in as a column. It doesn't need to be functional. The user wants to be able to see what folder the file is located under in a flat view. ...

Why do I get this error in SPFieldCollection.AddFieldAsXml()? "The specified field name is too long"

I am getting an error when I call SPFieldCollection.AddFieldAsXml(). Why is that? Here is the string I'm using: "<Field Type='Note' Required='FALSE' NumLines='6' RichText='FALSE' Sortable='FALSE' ID='{aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa}' StaticName='tempField' Name='tempField' />" Naturally, I'm using a different guid. EDIT:...

Sharepoint WebPart, include additional assembly in wsp package

Hi all I created a utility library for my Sharepoint WebParts. Now when I reference this library from my WebPart project, it compiles fine, but the library is not included in the .wsp package. This means the library assembly is not deployed to the target system, causign the WebPart to fail. Is there any way to fix this? I am using Visu...

Modify osssearchresults.aspx page of WSS

We have an application where we modify the search core resuult web part XSLT of MOSS search result page (Results.aspx) to call some custom javascripts . Is it possible to do the same for the application level page of WSS i.e osssearchresults.aspx ? ...

SharePoint MySites URL Conflict

A user logins into the SharePoint site we have created using their email address and this becomes their username. However this creates a problem for MySites. When the user creates a MySite the URL it cuts of anything after the @ symbol in the username, so if the users email address is [email protected] the URL to their MySite becomes: htt...

Customizing Sharepoint Search Box

I followed some tutorial to change the way Sharepoint Search Box is shown on screen. My first problem is, after modifying the SearchArea.xml file, is there a way to force the reload? The frequency of reload seems very random. Bonus question: is it the best way to do it? It's the easiest I've found, but having to change the file on the ...