Archive for November, 2008

image.png

Ajax DeepZoom

MS Live Labs have been playing with the “deepzoom” technology, and for those without silverlight installed, you naughty people, you can now create a deepzoom image that can be navigated in Javascript, cool eh ? They call it Seadragon Ajax after the original technology name before the marketing people got to it (Bill Crow pointed this out to me as I had mis-named it Ajax DeepZoom, The title remains the same as it gets the poitn acros to anyone not aware of the Seadragon name).

The link to the post detailing this explains pretty much what I just did then you can go and embed the Image.  Now its a little tricker than they explain so here is some more details.

(more…)

image.png

Focus on that Bug – TFS

One problem I find since I started using TFS is I don’t focus on one bug, I often solve several at a time sometimes interconnected sometimes not, often down to which one I feel like fixing as that, for me, yields better results.  However its not always the best way, especially when working with others.  Most of the time I don’t play with others so it works for me.

But I have to train myself to use this thing (TFS) better and part of that is pick a bug/task and stick to it.

So I came up with the simplest of things to help with this.  Visual Studio windows.

Simply pick the bug your working on select the code and create a new horizontal tab group and drag it to the top till you only see the tile of the task in yellow. 

Simple but effective, well not that effective cos here I am blogging it instead of coding.

Technorati Tags: ,,,

You SLACKERS – WSS Team

Was that a bit harsh ?  Perhaps but sometimes it’s how I feel about Sharepoint, for five years now.

I’ve been scratching my head this morning.  I have some list templates as part of my feature that I have defined and I don’t want anyone to be able to create them again once the ListInstance is there.

So as part of my manifest file I have the following.

<ListTemplate Name="JamList" DisplayName="JamList" Type="51003"                 Description="JamList" BaseType="0" Hidden="true"                 OnQuickLaunch="false" SecurityBits="11" AllowDeletion ="false">

Yet the damn thing keeps showing up on the create lists page and it shouldn’t.  Well according to the wss.xsd schema file this is a valid attribute and value yet it doesn’t work.

(more…)

WSS 3 / MOSS Creating Views in CAML (List Definition)

I have been creating custom Lists in CAML for deployment by features.  As you do.  I found out a few things that might be of help when you are creating them yourselves.

I am  Assuming that you now how to create a list template and know what goes in a schema.xml to a point.

Concentrating solely on views here I found out this.

If you have a List View WebPArt you need one of these types of views, if you don’t LVWP don’t work.

<View BaseViewID="0" Type="HTML">….</View>

Careful of BaseViewIDs being the same.

<View DefaultView="TRUE" SetupPath="pages\viewpage.aspx" Type="HTML" DisplayName="Summary" Url="Summary.aspx" Level="1" BaseViewID="1" ContentTypeID="0x"             ImageUrl="/_layouts/images/generic.png" WebPartZoneID="Main">

<View SetupPath="pages\viewpage.aspx" Type="HTML" DisplayName="Summary"  Url="Summary.aspx" Level="1" BaseViewID="1" ContentTypeID="0x"             ImageUrl="/_layouts/images/generic.png" WebPartZoneID="Main">

Notice that the BaseViewID’s, that wonderful field that’s barely documented, if they are both the same number then you might get problems.  I can’t explain why, but In my views I created the second view had a different Query but was ignored when created and it copied the first views query.  When I changed the BaseViewID=2 on the second view everything worked.

Is that the right thing to do ? I can’t say I’m only commenting on what I have observed.

Don’t do this

<View DefaultView="TRUE" SetupPath="pages\viewpage.aspx" Type="HTML" DisplayName="Summary" Url="Summary.aspx" Level="1" BaseViewID="1" ContentTypeID="0x"             ImageUrl="/_layouts/images/generic.png" More >

Handy WSS / MOSS Debugging hint

I’ve just had a chat with a colleague who was struggling to make one of our installers work.  Which reminded me of the WSS course with Todd Bleeker I was on regarding debugging and quickly trying to debug or attach to stsadm and Studio just isn’t playing.

(more…)