sharepoint

Getting XslCompiledTransform.Load to load a file in a SharePoint List

Hi all: I'm having difficulties getting XslCompiledTransform.Load method to take a server path. I googled around and found that I need to do something like: xslt.Load(System.Web.HttpContext.Server.MapPath(xslPath), XsltSettings.Default, new XmlUrlResolver()); But it returned an error saying HttpContext is null. I also tried: xslt....

SharePoint content type?

What coluld be the way used by Sharepoint team to store content type data into SQL DB. Is like that ? table : List1 Col1 : Title . . . . ContentType : MyContentType table : MyContentType Col1 : SomeCol Col2 : SomeCol2 ...

Sharepoint navigation customization

Hi, I've just started to use Sharepoint 2007, MOSS is installed but for the extranet I'm working on the publishing isn't switched on. What I need to do is customise the global navigation so that it displays all top level & subsite links, custom links and format it nicely with css for the brand. Sounds easy but it isn't for some reason...

Sharepoint DataFormWebPart

Hi, Within my DataFormWebPart I have a 'DataSourcesString' property which references and queries a list. Depending on what page the DataFormWebPart is displayed on I need to be able to configure the query (parameterise the string 'Dispute Resolution' in the code below) within the 'DataSourcesString'. Does anyone know if there a way t...

Publishing Toolbar Missing when trying to set page permissions for single page

Hello, I am trying to set-up a user to only edit one page within an intranet and not edit/publish any other page. I originally tried to set-up the custom permissions but no joy, so then I setup custom permissions with all options ticked, the user is able to edit the page but not publish it, ie the Publish Button is missing, or the whol...

dotnetnuke and sharepoint?

Is it possible to integrate sharepoint into a site that was developed in dotnetnuke? I did find on sourceforge sharepointnuke. Though it seems to only display specific lists. Would this be all i need? Secondly... it looks like the more i research this.. people suggest Sharepoint is better for intranet use.. and DNN is better for int...

Using Http Post to AddList() in Sharepoint

On a remote client, I'm trying to create a new list in a sharepoint site. Right now, I'm building a CAML string and sending it via http post to my sharepoint site. I've used this method to update list items and create dws folders, but I can't seem to get AddList to work. I get an error "Remove server returned error:NotFound." here is my...

sharepoint data view web part xslt without schema

I'm trying to use a data view web part (via SPD 2007) to consume the results of a SOAP-based web service and render portions of said results using XSL transforms. The problem I'm having is that the designer isn't much help because the schema for the web service doesn't actually include the elements of the results, so there's no way to d...

How to test sharepoint web parts and other sharepoint development locally?

I have been investigating building web parts for sharepoint 2010 and currently have a single instance of SP2010 on the work servers. I would very much like to be able to test them locally (on my laptop) if possible, without having to install sharepoint 2010 on my laptop (is this even possible?!) Is there a way to test web parts and do I...

restore sharepoint config cache

I've cone and accidentally deleted the entire config cache at C:\Documents and Settings\All Users\Application Data\Microsoft\SharePoint\Config\<GUID> (by following the instructions as indicated here: http://www.marc-antho-etc.net/blog/post/2009/04/03/A-Clockwork-Orange-Some-SharePoint-Timer-Job-Issues-without-Beethovene280a6.aspx). How ...

Sharepoint: SPFile.OpenBinary() , doesn't open file in binary

I,m try to open SPFile in binary format: SPFolder Folder = web.GetFolder(item.Attachments.UrlPrefix); foreach (SPFile File in Folder.Files) { byte[] CopyFile = File.OpenBinary(); } but the result byte [1]=0, what i'm doing wrong? ...

How To Change SharePoint Document Library View On The Fly Using Code

For example, I have a document library that hold contracts for multiple projects. So: DocLib Contract_For_Project_A.pdf (metada: code: PRJA) Contract_For_Project_B.pdf (metada: code: PRJB) etc. In requirement term, maybe something like "I want to store project specific document like contracts in any document library belongin...

Dealing with Sharepoint locked Site Collections

I am playing with an application that can crawl the contents of sharepoint server. But I got a problem while working with Locked Site collections. There are some methods that cannot be used with locked site collections. It throws an exception telling me the contents are blocked. So I want to handle this more gracefully by checking whe...

How to edit the XSL for RSS Viewer Webpart

I am using a blog site as a source for my RSS Feed. As I see the RSS feed, its showing up as the following :: Blog: Posts Test Thursday, March 04, 2010 - Body: With 25 four's and 3 sixers Sachin crosses 200 (147 balls) runs in an single ODI innings. Creates another world record. Watch the final over where he got it double hundred wit...

Programmatically save a browser InfoPath form to it's source list

I've got an InfoPath form in a forms library on MOSS 2007. I think that the InfoPath browser toolbar with it's save (manually enter filename) and close rather overcomplicates the process of filling in a form. What I'm trying to do is simply have a button with some code behind that saves the form to the library where it was opened with a ...

Link Access-tables from SharePoint 2010

Hi guys, I've got a couple of colleagues who love Access and have lots of important business data in Access. I'm never going to persuade them to move the data to SharePoint 2010, nor am I going to have them move over to SharePoint. They're using Access, preferably even Access 2003, but I might persuade them to use 2007. This business d...

Questions from agency staff about c# , sharepoint , .NET position, what shoul I reply ?

Recently I have applied for a job through the agency. She emailed me with this questions: Please email me back with your experience in the following: .NET Framwork .NET Remoting ASP.NET C++ C# Web Services Networking COM interop ADO.NET Sliverlight TDD Composite UI Application Block OO design 1) please detail what experi...

Standard SharePoint internal vs public URL's and authentication

Sharepoint Internal / External Urls We have a question regarding standard practices for authentication to Sharepoint using internal versus public URL’s via an ISA server. Here is the setup. We have SharePoint server configured to use windows authentication with the Default Zone being https://myportal-internal. We also have to serv...

Sharepoint - Where are .cs files stored?

I have a file called webpart.cs which is called by one of my masterpages in Sharepoint, where are those files stored on the Server? ...

Sharepoint - Evaluate Calculated Expression

I am tasked with building a process that will enable the end user to input a valid expression for a calculated column but simply process that instead of adding a new column to the list. The expression would obviously be a valid calculated column expression however I want to seperate the expression from the list. The purpose is the se...