Wednesday, July 04, 2012

SharePoint 2010 - how to remove a bad webpart from a page

If you have a webpart that is causing an error on a Sharepoint page, you can use the following URL to view all the webparts on the page, you can then select the webpart that is causing the error and delete it. http://sharepoint/SitePages/Home.aspx?contents=1

SharePoint 2010 - using stsadm to enable the developer dashboard

There are a number of ways to enable the developer dashboard in SharePoint 2010 - Via stsadm - Via Powershell - Via code I find the easiest way is via stsadm using the following command; stsadm -o setproperty -pn developer-dashboard -pv on or stsadm -o setproperty -pn developer-dashboard -pv ondemand to turn it off use stsadm -o setproperty -pn developer-dashboard -pv ondemand If you use the ondemand setting, you can turn it on and off via the user interface, you do this by clicking on the icon that you will find on the top right of the page. One thing to remember is that the developer dashboard is enabled throughout the entire Sharepoint farm, so you may not want to do this on a live server.

Friday, May 27, 2011

JQuery 1.6 Fail ?

 

Had all sorts of problems with JQuery 1.6, I’m going back to release 1.4.2 which I like.

Wednesday, May 04, 2011

How to retrieve a SharePoint list using rest

I’m using this so often these days and I keep forgetting the url to use, so I thought I’d put it here so I could find it.

http://sp2010a/teamsite/_vti_bin/listdata.svc

To retrieve information for a single list

http://sp2010a/teamsite/_vti_bin/listdata.svc/Contacts

Or perhaps just a single contact (in this case, the one with ID = 1)

http://sp2010a/teamsite/_vti_bin/listdata.svc/Contacts(1)

Friday, March 04, 2011

iisapp R.I.P

Out of habit I still type iisapp at a cmd prompt even though its gone in IIS7. I was going to add a batch file but that’s just grasping

Reminder to self:
%windir%\system32\inetsrv\appcmd.exe list wp

Thursday, November 26, 2009

How to get the Windows Service name from the Windows Service Description

Sometimes you need to stop and start a Windows Service from the Cmd line or from a batch file. To do this you need to know the Windows Service’s ‘KeyName’ rather than the display name of the service.

To get the KeyName run this command from the cmd line:

C:\sc.exe GetKeyName DisplayName

Example
C:\sc.exe GetKeyName “Windows Services Timer service”
will return Name = SPTimerV3

You can then use this name in your batch files i.e.

net stop “SPTimerV3”
net start “SPTimerV3”

Wednesday, November 25, 2009

SharePoint 2010 Beta Release Known Issues

I’ve been looking for a list of know issues in the SharePoint 2010 beta for a while now. There is now a list on the Microsoft SharePoint Developer Documentation Team Blog. Hopefully this will be kept up to date. Click through for full story.

Microsoft SharePoint Developer Documentation Team Blog : SharePoint 2010 Beta Release Known Issues

CJG : SharePoint 2010 - Wait, its not working! HELP!

Good post from Chris at CJG: I’ve come across the same issues but CJG beat me to the blog:

Ok, the two most important things for you to check if something is NOT working in SharePoint 2010

  • Check IIS Application Pool called "SharePoint Web Services" IS RUNNING, and make sure its not running as "Local System" but something that has some *UMMPHF* to it!
  • Check Timer Service - this thing seems to shut itself down and doesn't restart!  Make sure it is running or NOTHING will happen in your system

That will solve ALOT of your problems!

Chris

See CJG : SharePoint 2010 - Wait, its not working! HELP! for original post.

Friday, November 20, 2009

Installation notice for the SharePoint Server Public Beta on Microsoft Windows Server 2008 R2 and Microsoft Windows 7

In a previous blog post I whinged about errors when installing the SharePoint beta on Windows Server 2008 R2. I’m happy to say that Microsoft has now provided the WCF Hotfix to fix the allowinsecureTransport bug. To download it click here Be sure to read the whole story on the SharePoint Team blog.

Microsoft SharePoint Team Blog : Installation notice for the SharePoint Server Public Beta on Microsoft Windows Server 2008 R2 and Microsoft Windows 7

I expect someone has been working very hard to get this fix out so quick, so…thank you.

Update Center for Microsoft Office, Office Servers, and Related Products

Here’s a link for your bookmarks bar. Good to see this all presented in one nice easy to read place.

The update center which will enable customers to find an up-to-date list of all of Office and Office Server and Related Products Service Pack, Public Update, and Cumulative Update releases in one location.

Update Center for Microsoft Office, Office Servers, and Related Products

Developing a provider for the Outlook Social Connector

Excellent article from the Microsoft Outlook team blog. This is just one of the many new features I’m excited about in Office 2010.

As a developer its great to see that many of the new Office 2010 features are extendable. Follow the link for the full story

Microsoft Office Outlook Team Blog : Developing a provider for the Outlook Social Connector

Google Chrome OS available as free VMWare download

There’s a lot of new tech coming out at the moment. It feels like Christmas. Here’s one that’s worth a look  Chromium OS (The Chromium Projects) better know as Google Chrome OS is now available as a VMWare Virtual machine courtesy of gdgt get it Here

Thursday, November 19, 2009

SharePoint 2010 Beta – allowInsecureTransport Installation Issues

My first attempt at getting the new SharePoint 2010 beta installed and working had mixed results. I built a clean Windows server 2008 R2 Virtual Machine and followed all the installation steps to the letter. SharePoint installed and a lot of stuff worked but I couldn’t get any of the SharePoint service applications working.

Digging into the logs I could see the error invalid attribute "allowInsecureTransport="true" in the web.config for all service applications. Hmmm.

It turns out there is a WCF HotFix you have to install, (at the moment there is no Windows Server 2008 R2 version) for other OS versions – You can download the hotfix from here: http://go.microsoft.com/fwlink/?linkID=160770

In fact there are quite a few extra steps you need to do before you get a good install. These are covered in Jie Li's GeekWorld Installation Notice for SharePoint 2010 Public Beta and now on also on Microsoft SharePoint Team Blog Path to User Profile Synchronization success in SharePoint 2010 Beta

I must admit I’m a bit surprised that Microsoft released the Beta without this either being fixed or documented as a known issue. I’m not sure what the truth of it is but it does give the impression that a standard “next, next, next” type install was not tested before being released.

UPDATE: Resolved you can download the Patch for R2 here

UPDATE: link to connect removed:

Tuesday, November 17, 2009

SharePoint 2010 Public Beta Available on MSDN

The public betas of SharePoint 2010, Office 2010, SharePoint Designer 2010 and Visio 2010 are now available for download on MSDN Subscriptions

At last! now we can all get a look. Having been through the beta stages of SharePoint 2001, 2003, 2007 and now 2010 this will be my 4th Major SharePoint beta!

Wednesday, September 23, 2009

Windows Live Writer 2009 – Installing on Windows Server 2003


I like windows Live Writer 2009. Its a great little tool for writing blog posts but… by default it won’t install on Windows Server 2003.

Luckily I found at great workaround at NewbTech blog. 

Windows Live Writer 2009 – Installing on Windows Server 2003 ~ Newb Tech

Now if only there was a version for Mac OSX.

Wednesday, September 02, 2009

SharePoint Silverlight WebPart Update

I've updated my SharePoint Silverlight WebPart. It now works with Silverlight 3.

You can download a copy from http://www.triplewood.com/silverlight

Monday, January 28, 2008

SharePoint Silverlight WebPart



A couple of people have asked how to apply filters to the WebPart. By default when you add the webpart to a page in SharePoint it will display an image for ALL documents in ALL Document libraries and Picture libraries in the current SharePoint site (SPWeb). You can apply filters in a number of different ways.

Search Scope
You can change the scope to one of three values.

1) Current_Site. This will display documents in document libraries and picture libraries from the current SharePoint Site (SPWeb)
2) Recursive. This will display documents from the current SharePoint Site AND all sub-sites below the current sharepoint site.
3) Site_Collection. This will display documents from ALL sites and sub-sites in the current site-collection.

List Filter
You can apply a list filter to narrow down the results to only show documents from the document library you specify. You specify a list by entering the list name.

File Type Filter
By default the WebPart will display an image for all files in a document library or image library, by applying a File Type filter which matches the file extension of the files you want to show you can choose which types of files will be displayed.

Examples:
1) DOC
This will only display files with the file extension .doc e.g. word documents.
2) PNG
This will only display files with the file extension .png e.g. image files

Content Type Filter
By default the WebPart will display an image for all SharePoint Content types. By specifying a content type it will only show documents whose content type matches the one you specify.

Examples:
1) Picture
This will only show files whose content type you have specified as Picture
2) Invoice
This will only show files whose content type you have specified as Invoice

I hope this helps a little. the filtering is pretty simple at the moment but by using a combination of the above you should be able to ensure that the WebPart only shows files that you want it to.

Beta1 Silverlight Web Part is now available for download at:
http://www.triplewood.com/silverlight

Tuesday, January 15, 2008

SharePoint Silverlight Browser WebPart


Beta1 Silverlight Web Part is now available for download at:
http://www.triplewood.com/silverlight

Silverlight is so cool. Hopefully this is just the beginning.Look forward to your comments and suggestions for future Web Parts.

SharePoint Silverlight Browser

Hi,
I've just finished a new query webpart for sharepoint that displays documents in a silverlight control. Take a look at the video here:

http://www.youtube.com/watch?v=8yutAKSl-AY

The webPart is written in c# and uses silverlight 1.1
This is just the beginning for Sharepoint and Silverlight

The WebPart will be available for download soon.