sharepoint

Can i customize add/edit page for list in sharepoint?

Hi SharePoint Experts, Can use my custom page to add/Edit item from sharepoint list? if yes how? Do i need to do any config changes? ...

Hide inherited fields in new content types

I am trying to hide PercentComplete (% Complete) field in my custom content type that inherits from Workflow Task content type. And I am trying to do this with a feature. I am using the ID of PercentComplete field in FieldRefs element and setting ShowInDisplayForm to FALSE to no avail. Do I have to use a feature receiver and do it progr...

The event receiver context for Workflow is invalid

Ok, another Sharepoint strange error. In my workflow I am getting this error: System.InvalidOperationException: The event receiver context for Workflow is invalid. at Microsoft.SharePoint.SPEventReceiverDefinition.ValidContext() at icrosoft.SharePoint.SPEventReceiverDefinition.ValidReceiverFields() at Microsoft.SharePoi...

Add web part Programatically

i'm using the following code to add web parts to a page programmatically, however i've a problem that after the page is postedback the web part is not visible on the page, i need to refresh the page to get the web part visible, appreciate your support. SPSite site = new SPSite("http://syngdcds0032:23547"); site.AllowUnsafeUpda...

MSSDocProps table not showing result for ContentSource managed property in SharePoint 2010 Beta

We are going to work on a product where it extends the certain SharePoint functionalities. For this we need to connect to the SharePoint back end database [ Not through SharePoint object model ] Task here is to get Content Source Name from the database for each document. In SharePoint 2010 Technical Preview MSSDocProps table in Proper...

MOSS custom MasterPage not displaying on all site pages

I have created a master page under my top level MOSS site. I have applied it to a sub-site. When I go to some pages such as "Site Settings" the custom master page has not been applied. Do you know why this may be happening? I have set the custom master page as the System and Site page. I am using http://www.heathersolomon.com/blog/archiv...

Adding an image to a sharepoint theme

Hi everyone! I'm trying to add a bottom banner image to our sharepoint site without editing the masterpage files. Is this possible? Edit: The image should appear on all pages with the relevant theme. Cheers, -Jeremiah Tantongco ...

How to get digest-authentication working on Team Foundation (2008) Project Portal sites

I am just starting out with Team Foundation Server 2008, and one of the hangups I've experienced is the following: I create a new Team Project, as well as a Project Portal (which I believe is just a Sharepoint site). When I go to view the project portal in the browser, it prompts me for a username and password. I want it to use diges...

Sharepoint dynamic caml query problem?

Hi, I want to dynamic caml query based on query string.Let me explain it with example my query sting can be anything ?cat=ABC&cat=ABD&cat=ABE... ?Cat=ABC ?Cat=ABC&cat=ABL so no. can be anything now the problem begins I want to query my sharepoint list based on this query string if (HttpContext.Current.Request.QueryString["cat"] !=...

Tabulating results for quick SharePoint survey

We have a one-question checkbox (multiple selection) survey in SharePoint. When selecting "Show a graphical summary of responses" in SharePoint, it tabulates the different combinations of responses as distinct answers as opposed to totaling the number of each option selected. Is there a way to show the total of each option selected ...

what is a sharepoint data layer ?

i need to understand a sharepoint project . this project has 3 components a sharepoint web application. a desktop air application these 1 and 2 exist over the 3rd component a sharepoint data layer well this is what is described in the specifications of the project. what i understand is that the first two component are the app...

SPItemEventReceiver Context SiteId/WebUrl Incorrect

I have created a SharePoint Event Receiver, that fires on Item Update. The receiver needs access AfterProperties and ListItem. When firing the event receiver from a SharePoint web application using an IP address (http://10.0.4.50/sites/), it throws a FileNotFoundException, when accessing SiteId And WebUrl in SPItemEventProperties. The W...

Where are these other SharePoint Web Services APIs?

I'm trying to learn to call SharePoint Web Services from an external C# client. I'm using MOSS 2007 and VS 2008. There are lots of examples on the web of doing so, but most of them seem to be using a different form of each of the Web Service APIs than what I'm seeing in Visual Studio. My question is...what up wit dat? When, for examp...

creating a project management web application in sharepoint.

In sharepoint , i have to create a web application that has an option to add new customer. delete customer. for each customer there should be option to add project , delete project. for each project there should be an option to add task assign task to different operators. I am using MOSS 2007 evaluation verstion. Uptill now i have crea...

An unexpected error has occurred.

Hi all, I have created an asp.net web application on my local machine and I am deploying it to sharepoint. For that I am refereing the following Deploying ASP.NET Web Applications in the Windows SharePoint Services 3.0 _layouts Folder [http://msdn.microsoft.com/en-us/library/cc297200.aspx] Its works perfect on my local machine but wh...

How extend a website on same url but different port using stsadm

I'm trying to automate a sharepoint deployment and one of the tasks is to extend the web application using the stsadm command extendvsinwebfarm. However I'm constantly getting the error: The IIS Web Site you have selected is in use by SharePoint. You must select ano ther port or hostname. I think the problem is because I'm tr...

Finding SharePoint list item by its display form's URL

Sometimes users require to change information in SharePoint list item that is not editable for them, for instance, a field that is hidden in edit form (in my case it was the records number). I decided to create a small Windows GUI application that the administrator would run on the server and make the requested change. However, the simp...

Enable 32-bit Applications On SharePoint

Hello I have one sharepoint application is running. Now, I want to run this application in 32bit mode for some backward compatibility I have Window Server2008 with IIS 7 with MOSS 2007 running. I have changed application pool advance setting and enabled Enable 32-bit Applications After enabling this SharePoint Site working previously ...

Programmatically Updating a document library in Sharepoint

Hi all, Im quite new to SHarepoint. I have a requirement like, i need to move some documents from different document libraries to a document library named "Region". So that each time a document is updated in these document libraries , the document should be updated in the library "Region" as well. I wrote a c# function in a class librar...

PlaceHolderMain in Sharepoint showing breadcrumb and title

I am trying to print the breadcrumb and title of a page in share point using a custom.master. I tried using the following code: <asp:ContentPlaceHolder id="PlaceHolderPageTitleInTitleArea" runat="server" /> <asp:ContentPlaceHolder id="PlaceHolderTitleBreadcrumb" runat="server" /> This is not outputting anything to the screen. The brea...