sharepoint2007

Sorting option not working in a spgridview.

I have created a webpart which contains a spgridview that is bound to a dataview.My problem is that even though i have set the allowsorting option to true ,the gridview header shows no link buttons. The code for the webpart is as follows: public void createthegridviewfields() { foreach (string col in colnames) { ...

SharePoint list - different users see different approval statuses

I have a SharePoint custom list with event receivers, etc. Content approval is enabled. Draft item security is left to the default, where pending items are (theoretically) only visible to their creators and those users who have content approval permissions. Say we have three users: Cindy the contributor (write permissions), Rob the re...

How do we get onet.xml through stsdam -o export statement. ?

Hi all, How can we get onet.xml file through stsdam -o export statement ? I want to get the onet.xml by C# in SharePoint 2007. Thanks ...

Sharepoint: How to refresh the SpNavigationNodeCollection?

Hi, I have a Sharepoint 2007 website. As you know,in settings users can order the sites and pages as they want in exploration, and then you can get these items with this order with: SPWeb web = CurrentSite.OpenWeb(currentSite); SPNavigation nav = web.Navigation; SPNavigationNodeCollection nodeColl = nav.QuickLaunch; The problem is...

Deleted everything but members from a SharePoint site

I created a SharePoint sub-site, and accidently deleted all permissions groups except for the Members (which included me) and now I'm stuck looking at the site I've created but I'm not able to edit or delete it and create a new one. Any idea of what I could do to get myself out of this situation? Thanks, Ash ...

Which is better one DLL for all or many DLLs ?

We are working on a big portal that developed in SharePoint 2007 .. We put custom code in Dlls .. some suggest to put all code for many components into one single dll instead of one dll for each component .. My opinion is to put each component into a separate dll to affect memory in a good way .. So, which is the better really .. t...

SharePoint Custom Action on Site Settings Page

I have a Custom Action on the Site Settings page of my SharePoint site that appears in the UsersAndPermissions list. It is created using a feature, this is the elements.xml file for the feature: <Elements xmlns="http://schemas.microsoft.com/sharepoint/"&gt; <CustomAction Id="SDITeamGroupApplicationPage" GroupId="UsersAndPermis...

Display list with multi value look up

hi all i have list (news) in share point that contain column (lookup) allow multi value it's name Department when you add a new item in the news list you can select many departments to publish this record i want to dispaly news by departments it mean that when i browse each department page i see only related news to it ...

SharePoint Document Workspace Permissions

Does anyone know the minimum permissions as user must have to create a document workspace? The problem I have is that I want to users to be able to create document workspaces but to do this I have had to grant the user Create Subsites permission, this however means they can now create other subsites. Is there a workaround for this? ...

MOSS 2007 Published Site Page Status

Greetings all, I have a question. On my MOSS 2007 dev box, I created a new sharepoint site using the Publishing -> Publishing Site template. Now, On this site, I can create pages, check them in, publish them, etc. What I want to do is create a scope that I can do searches on. However, one of the filters I want to apply to the scope...

Migrating existing ASP.NET applications to Sharepoint Server 2007

I have some existing ASP.NET applications that are connected to Oracle 10g DBs and the applications vary from simple forms to complicated work flows with hundreds to thousands of DB entries ( applications are developed using Visual Studio 2003 and 2005) I would like to know the key pointers to consider when trying to migrate from this e...

Custom SharePoint Form that displays data from another List

I have a SharePoint task list. Each task in the task list is for a Client, and there is a drop-down on the task entry form to select the client. The drop down is populated from a Clients list. Each client has a tier. Tier is a field in the Client list. What I want to do, is when a Client is selected in a New/Edit/View form from within...

SharePoint Date And Time Column

This is probably a very simple problem to correct but I have a Date Time column in SharePoint. However when the user enters the date it only accepts dates in American format. I need to change this to use UK format. How do I do this? ...

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

Save a Site Collection As A Site Template (.stp) File

Hi, I would like to be able to save a SharePoint 2007 site collection as a site template (.stp) file. Is this possible? Thanks, MagicAndi ...

CustomAcion (NewMenu) in a specific user-defined list

I like to create a CustomAction an add this one to the NewMenu of a specific list. <CustomAction ... RegistrationType="List" RegistrationId="100" GroupId="NewMenu" Location="Microsoft.SharePoint.StandardMenu" ... > </CustomAction> This code snippet adds the CustomAction to all custom-lists (100). What if I want a...

SharePoint migrating domains

I need to migrate our SharePoint farm to a new domain. Until everything is moved we have full trust set up between the domains. Farm Hardware One WFE/Index Server Two SQL DB Servers (clustered) I know how to do this using all new hardware from production to a dev environment but doing an in place migration seems more daunting. To...

How to restore a SharePoint 2007 backup on a SharePoint 2010 server

I have a backup of a SharePoint 2007 site. Is it possible to restore this backup on a SharePoint 2010 server? ...

Document Library : Sub folder --> target audience

Hello Sharepoint GURU, I have a following requirement. I have a document structure where I would like to grant read only permission to specific group on sub folder within document library. I am using Sharepoint 2007 Example. Folder : Business <--- Document Library under business I have two sub folder. ---> 2009 --> Sub F...

Parse HTML meta tags on upload to SharePoint

SharePoint parses and synchronizes custom document properties with SharePoint properties for MS Office documents "out of the box". I need to configure MOSS 2007 to parse HTML meta tags and synchronize them to custom SharePoint properties in a similar fashion when HTML documents are uploaded to a library. Meta tags in the following for...