SPList: Sharepoint Object Model Considerations (Update list properties)

I noticed a weird behavior of the Sharepoint Object Model when trying to set the attributes of an existing list of a Sharepoint site.

 The following code works as you expect:  

spList = web.Lists[“MyList”];
spList.OnQuickLaunch=true;

spList.Update();

but not this one:    

web.Lists[“MyList”].OnQuickLaunch=true;

web.Lists[“MyList”].Update();

 It is a “by design” behavior even if most of you considered it a bug. I had to use the [...]

SPList: add columns to the DefaultView

I came across some strange behavior of the Sharepoint Object Model (OM) when adding a new column (field) to the default view of an existing list.

Surprisingly (or not ) the following code snippet doesn’t seem to work:

list.DefaultView.ViewFields.Add(ACCOUNT);
list.DefaultView.Update();

But what you say if the following one is working:

SPView defaultView = list.DefaultView;
defaultView.ViewFields.Add(ACCOUNT);
defaultView.Update();

Let’s take a closer look in [...]

Managed Custom Action (Wix) Error

I had to write a few custom actions for a wix installer. I didn’t have any experience with using managed custom actions in wix so I started with a good article about this.

I implemented all the steps described in the article and ensured that everything is ok but I was still getting the error: “InstallUtilLib.dll: [...]

Biztalk Direct Binding Messaging Error

Biztalk Direct Binding Messaging error
A few months ago I worked on a medium-size Biztalk project. I’ll depict in a few words the big picture of the application architecture in order to understand the context. The application backend was based entirely on Biztalk. The reason was all the Biztalk “poetry”: reliability, scalability, availability, asynchronous processing… the [...]