sharepoint

ContentType DocumentTemplate not found in a List

I have the following Feature: <?xml version="1.0" encoding="utf-8"?> <Feature Id="9A3C5D02-A2EB-4725-97F7-CDA6DE319F1B" Title="My Custom Types" Scope="Site" DefaultResourceFile="core" Hidden="TRUE" xmlns="http://schemas.microsoft.com/sharepoint/"&gt; <ElementManifests> <ElementManifest Location="Elements....

SharePoint's List.GetItems(view) returns ALL items instead of filtered view items

I'm trying to get a count of items in a list, based on a view. Every method I've tried so far only returns the grand total of the list. I've tried just about every method I've run across while searching, and everything ends up with the same results. Here's one of the methods I've tried: SPWeb web = SPContext.Current.Web; SPView view = ...

Create a Sharepoint Blog comment in code ...

I have the need to create Sharepoint blog comments by code: SPSecurity.RunWithElevatedPrivileges(delegate() { sw.AllowUnsafeUpdates = true; SPList spList = SPContext.Current.Web.Lists["Kommentare"]; SPListItem listItem = spList.Item...

Using Office 2010 web apps with ASP.NET

Would it be possible to use the Office 2010 web apps with an ASP.NET application? For example: - For each user of my ASP.NET application there is a folder with Word documents on my server - The ASP.NET application displays the available documents in a grid to the user - When clicking on one of the documents in the grid, the Word documen...

Exception wrapping and HTML pages

Hi, We have a sharepoint 2007 project at work. The exception handling policy is to log to the Sharepoint logs. In this case, would the best approach be to call that method and then rethrow the exception higher up? Except if I rethrow it to be caught higher up, there is no other exception handling code so what would happen in this case?...

Sharepoint 2007 and ASP.NET 4.0

Is it possible to create ASP.NET 4.0 "_layouts" pages in Sharepoint 2007 (WSS or MOSS)? ...

How to Publish InfoPath (which is fulltrusted having codebehid code ) in sharePoint?

Hi all, I created one InfoPath form which is having C# code and i gave security option is 'full trusted' to access infopath object model,and it should be open with Browser.finally i published the Infopath form to SharePoint(by using admin-approved) site. But when i'am trying to open, it is not opening and giving an error that is 'InfoPa...

core.js functions?

what is the use of MtgNavigate & MtgDelete functions defined in the core.js? when it will be used/called? ...

Changing Sharepoint site url programmatically

Hi all: I was wondering how can I change the site URL of a SharePoint site that has already been created? I can't do this since URL is a read-only field: web.Url = "something"; Thanks. EDIT: Some clarification on my cumbersome explanation... The URL I referred to was a SharePoint web site that was created programmatically in C#....

TFS Template Customization - SharePointPortal site

I am customizing a Process Template for TFS2008. I am using the "MSF for Agile... v4.2" template as the base template and would like to set the version control settings of the "Project Management" document library todo the following: Major Versions : Enabled Documents must be checked our before they can be edited I'm using the edit...

Streaming content from (sharepoint) web part

How does one stream files, html or custom AJAX responses from web parts? Our current quick-and-very-dirty solution is to make the web part call the current page with certain query parameters, which the web part checks and instead of performing normal load it writes the required things to output and calls response end. This sounds bad ...

sharepoint: conditional formula for calculated field

hi all, i want to create a formula for change my value from EUR into USD. FIELD1 (choice): EUR, USD FIELD2 (number): amount in EUR or USD Now, if USD is selected in FIELD1 following should happen: calaculate FIELD2*0,71 otherwiese the result is FIELD2. FIELD3 (calculated): =IF(FIELD1="USD", (FIELD2*0,71), FIELD2)) When I use thi...

Sharepoint WebService with Adobe Flex

I have My Sharepoint Web Service URL, but when i try to access it i get HTTP Request Error. My Share point Webservice has credentials in it. I have also set that in Flex. webService.setRemoteCredentials("CITMOSS\Administrator","Pa$$w0rd"); When i trace the url, my console does read the XML, but i am unable to call the method. It throw...

Sharepoint page menu items gone?

I'm running MOSS 2007 and have created a new site under an existing one using sitemanager.aspx. I've done this on two machines. on one of those everything works correctly, while on the other some of the menu items for pages in the site seem to be gone. Also on the faulty site I get "Access denied" when I click "Version history". The pe...

SharePoint filtered column that only allows item to be used once

I have a WSS 3.0 site that I use for change management. There are three primary lists on it -- a bug list, an enhancement list, and a release list. The release list has two lookup columns that provide a list of bugs and enhancements that are included in that particular release. I am trying to figure out how to filter the bug and enhance...

SharePoint - Remote machine shows wrong design

Hi.! I am creating a SharePoint public website on SharePoint Server 2007. I've added my custom Master-page for Publishing site. When I see, Home page, on my local machine, in the content area of my page it shows me IMAGE on the right as I want to see. But, When I see that page on my remote machine It shows my IMAGE on the left, ins...

Sharepoint list loses its IssueID column when exported to Excel, why ?

My team current uses a Sharepoint list to manage bugs, issues etc for the project. I frequently use the "Export to Spreadsheet" feature in Sharepoint to manage the list from within Excel, where I can edit, update and sync at my leisure. However, I just got given a shiny new PC, and now whenever I use this feature, the IssueID column dis...

"Access 2002 vs SQL Server 200*" as DB for sharepoint

I work with a team that has a sharepoint site currently runnning and its lists are linked to an access DB. My question is really on the investment level, what would be the reasons to upgrade DB to sharepoint if only a few 100 users access this site. Is there a real benefit to replacing the DB with a version of SQL Server, escpecially if ...

In Sharepoint I need to include a preview image for the screen of selecting layout for a new page.

In Sharepoint 2007, I have created a layout. As you know when the user creates a page he chooses a layout from a listbox. When you select a different element in the listbox, there is a preview image that changes on the left. I thought this was controlled by the node PublishingPreviewImage in the xml of the layout. I have verified that t...

Data refresh and drill down problem with SSAS cube and excel services

I have a SSAS cube which I am using in an excel document, prepare a report which has drill-down etc and i am publishing it to a sharepoint site. It gets published alright but when I try to drill down it throws an error "Data Refresh failed" etc.The data source and the sharpoint site are on the same machine(running windows server 2008) an...