cloud.net

Thursday, January 22, 2009

Visual Studio 2008 extensions for SharePoint 1.3 Jan 2009 CTP

So here I was checking to see if there was a new VS Extentions for WSS, and Google revealed a link to: VSeWSS 1.3 and now with x64 support... woohoo.

Yeah what ever, my life is sad... but it helps us all along the way to an x86 free world.

Monday, December 8, 2008

Save the net, in Australia

Did you know the Government is proposing an internet censorship scheme that goes further than any other democracy in the world?

I've just signed a petition to prevent the scheme that will make the internet up to 87% slower, more expensive, accidentally block up to one in 12 legitimate sites, will miss the vast majority of inappropriate content and is very easily sidestepped. The government of the day may add any 'unwanted' site to a secret blacklist under the scheme.

Our Government should be doing all in its power to take Australia into the 21st century economy, and to protect our children. This proposed internet censorship does neither. Can you join me and take action on the net today to save the net?

http://www.getup.org.au/campaign/SaveTheNet/442
Thanks!

SharePoint Web Application Port Number

Not sure which port you should not use? Check out IANA http://www.iana.org/assignments/port-numbers

About the reviewer

Reviews come down to personal opinions. So in order to know whether the reviewer’s opinion will resonate with you it’s important to know what the reviewer likes and dislikes, and how he/she thinks.

Scoring:
I will never give out a 100 point score because that means it could not be improved on. Anything above 50 points should be considered good and anything below it not good.
Above 60 is very good.
70’s are really recommended.
80’s are exceptional and rare.
90’s and you’re in the region of the elite. A 90 score can only be given by somebody who has had decades experience with 80’s. I can give a movie/gadget/game a 90 score, but I can’t give out 90’s for Scotch.

My taste:
I like warm happy sweet things, with a side of extreme. I like full bodied Shiraz or Grenache, with a particular preference for South Australia’s Barossa and some Rioja baja . I don’t like white wines.

I like a steak that’s been cooked on a hot BBQ pink in the middle with a taste of either garlic or wood smoke. I like grilled fish salted on the skin. I like a blue brie cheese. I like a rich chocolate ice cream.

I avoid anything marked as light or diet, low in something, I want full flavor or nothing.
I don’t like bitter or liquorish tastes. But I like grape fruit, lemons and limes.

What I look for in a Scotch:
When I drink Scotch, I’m looking for a sweet smoky scent. I want a peaty smoky sweet creamy taste. I want the flavor to linger. I want the empty glass to emanate the essence of the Scotch. I want the effect of the alcohol to lift my spirits and of those around me. The next day I want a clear head with zero body load; so I don’t want the Scotch to remind me of it presence. I don't mix the SCotch with water or ice, I use my saliva to dilute if required ratio of 1:3... and sip it slowly.

Sunday, October 5, 2008

Event ID: 6398 6482 7076 SharePoint memory is corrupt.

Event ID: 6398 6482 7076 Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
I read a lot of posts saying this was caused by SharePoint and fixed with SP1, and/or an issues with .net 2.0 fixed with .net 2.1. Both are incorrect for my scenario; my servers were completely up to date and all of a sudden I started getting these errors.
I also read that restarting the Services Timer would resolve the issue. All of these are incorrect. The issue is caused by IIS (Adsiis.dll & Wadsiis.dll) and >2 AD users trying to access the same process. None of my dev machines have exhibited these errors because none use AD accounts.

Fix: http://support.microsoft.com/kb/946517/en-us

Monday, August 18, 2008

Programmatically creating a Rich Text Field in a SharePoint List

Sounds easy enough, but it wasn't immediately obvious.

The below creates a list, adds a Rich Text field with full HTML and adds it to the default view.

27   SPWeb oWeb = null;

28   oWeb = oSite.RootWeb;

29   Guid gList;

30   SPList oList = null;

31   gList = oWeb.Lists.Add("My List", "Some description", SPListTemplateType.GenericList);

32   oWeb.Update();

33   oList = oWeb.Lists[gList];

34   SPFieldMultiLineText oFldBody = (SPFieldMultiLineText)oList.Fields[oList.Fields.Add("Body", SPFieldType.Note, true)];

35   oFldBody.Description = "Replaceable Parameters: {password}, {userid}, {usergroups}, {usersite}, {siteadmin}";

36   oFldBody.RichText = true;

37   oFldBody.RichTextMode = SPRichTextMode.FullHtml;

38   oFldBody.Update();

39   oList.Update();

40 

41   SPView oView = oList.DefaultView;

42   SPViewFieldCollection oViewFields = oView.ViewFields;

43   oViewFields.Add(oFldBody);

44   oView.Update();

Thursday, August 14, 2008

SharePoint Copy list item to multiple sites - Feature

There doesn't seem to be any OOTB solution to copy list items to > 1 other site... so I wrote a quick aspx page and added it to a feature/solution which I would like to share with you.

The APX page just loops through the Web collection and checks for the list and if it's available enables a checkbox so you can copy the item.
The feature adds a context menu to a list item with a link to the page.
There's nothing compiled so it's easy to edit (just open the solution file).

Feature link: Download
To Do: Optimize sorting DataView/DataTable, add Doc Library support, add a FeatureActivated/Deactivated to add ASPX page to sitemap, add option to create list if it doesn't exist and change to a dll/code behind.
Keywords: SPGridView, SPList, SPListItem, Copy, Add, Deploy, Feature, context menu.
Notes: I haven't tested this in a production environment
Screenshots: