November 10, 2009

Getting ready to meet my colleages in Nashville this week. If you do not belong to a organization of peers, join one!


October 11, 2009

Back and partially recovered from cub scout fall campout, it was a blast. Woke up with ice inside the tent! it was a cold one but tons of fun.


September 8, 2009

Busy work day but cannot help thinking about Halloween, only 53 days away and I have not even started yet … http://ping.fm/ubq95


September 4, 2009

Looking forward to having a long weekend of making up for a spring and summer of neglected housework.


August 25, 2009

We have a brand new client machine that just received Adobe CS4 Designer Suite. Six and a half hours later it is almost done. Something to keep in mind for the future …


August 24, 2009

Learned that packaged cart/storefront software really needs to be updated regularly. Took two hours to figure out that there was deprecated code in the storefront core code base … how old is your cart software? I want my two hours back!


August 24, 2009

Another manic Monday! It is going to be a very interesting week, looking forward to the challenge.


August 23, 2009

Standby – Ron just upgraded his social networking module to 2.0


MOSS 2007 – Error enabling Office SharePoint Server Publishing Infrastructure

December 1, 2008

Upon trying to enable the feature for publishing in MOSS, I ran across this security error. Access denied. at Microsoft.SharePoint.Administration.SPPersistedObject.Update().

Under site settings logged in as site collection admin, go to Site Collection Administration -> Site Collection Features.

Office SharePoint Server Publishing Infrastructure
Provides centralized libraries, content types, master pages and page layouts and enables page scheduling and other publishing functionality for a site collection.

Click the Activate and this is where the error is happening.

Upon some wide searches I found this great post that provided a great work around. Here are the basic steps and link.
1. Open IIS Admin.
2. Location the Web Site for your WSS web application.
3. Goto to the properties and select the ‘Home Directory’ tab.
4. Change the AppPool to be the same as Central Administration.
5. IISRESET
6. Activate the Publishing Infrastructure feature on your site.
7. Change to AppPool back to the original.
8. IISRESET.

Activating Office SharePoint Server Publishing Infrastructure – Access Denied


Format telephone field in CRM 4.0 using javascript onChange event

August 20, 2008

Here is a simple javascript to format telephone numbers in CRM. This is to be used in the onChange event at the field level. Throw this in there to format telephone numbers using (XXX) XXX-XXXX. Pretty simple code that I found and slightly modified to meet our clients need.

var oField = event.srcElement;
if (typeof(oField) != “undefined” && oField != null)
{
var sTmp = oField.DataValue.replace(/[^0-9]/g, “”);
switch (sTmp.length)
{
case 10:
oField.DataValue = “(” + sTmp.substr(0, 3) + “) ” + sTmp.substr(3, 3) + “-” + sTmp.substr(6, 4);
break;

default:
alert(‘Phone must contain 10 numbers.’);
break;
}
}

I found this code while searching google. It is from Mitch Milam’s blog and the entry is for CRM 3.0 SDK: Phone number format example bug fix. Thanks Mitch!