Tuesday, September 1, 2009

How to set focus on textbox within ModalPopUp Extender Panel

Taken from: http://forums.asp.net/t/1218079.aspx

javascript
function pageLoad(){
$find("ModalPopupExtender's BehavoirID").add_shown(onModalPopupShown);
}
function onModalPopupShown(){
//set focus here.
}

javascript end

Monday, June 22, 2009

SQL Reporting Services Split Expression

=(Replace(Fields!WebUrl.Value, Parameters!ParentUrl.Value, "")).Split("/")(0)

Friday, May 22, 2009

SharePoint 2007 SP2 will expire your site in 180 days

Oops, somebody should be fired for this mistake. Apparently after you install SP2, start the count down because in 180 days your site is going to die. All the data will be intact but users won't be able to access it.


Wait for the hotfix before you install the service pack.

Wednesday, May 20, 2009

I Love Xobni

I love Xonbi (inbox spelled backwards), I can't tell you how much time this add-in has saved me.

Friday, May 15, 2009

April CU Update is available

Install WSS first then MOSS then run the SharePoint Configuration wizard.

WSS - KB968850

MOSS - KB968851


Thursday, April 30, 2009

Business Contact Manager 2007 Service Pack 2 (BCM 2007 SP2)

In case you haven't heard by now, Office 2007 Service Pack 2 has been released by Microsoft. You can download them from the links in this post by the Office Sustained Engineering Team

One item that isn't included on that page is the link to download Business Contact Manager 2007 Service Pack 2 or BCM 2007 SP2. I strongly suggest you install the Office 2007 SP2 update before updating Business Contact Manager 2007 Service Pack 2 or BCM 2007 SP2. You can find the installation package for Business Contact Manager 2007 Service Pack 2 or BCM 2007 SP2 by going to the following link.

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=405aa7e9-e63b-447b-a49b-d4cbd8eea30d

Hopefully it resolves some common BCM problems.

Friday, April 17, 2009

SharePoint Site Themes

Microsoft has released Ten Themes for SharePoint but in order to use them you need to compile them into their solution files. Waste of time.

Ten Themes for SharePoint in VSeWSS Projects

So I did it for you. Here are the ten SharePoint Themes as solution files. SharePoint Themes

You need to deploy them as solutions and then each has a feature that needs to be activated to apply the theme to the site. They are Site Features. Enjoy!

Monday, March 9, 2009

SharePoint February Cumulative Update Available

Install WSS first then MOSS then run the SharePoint Configuration wizard.

WSS - KB961755

MOSS - KB96156

This SharePoint February cumulative update addresses many issues including the Email Enabled Lists problem in my previous post.

Friday, February 27, 2009

SharePoint Email Enabled Lists Unknown Alias

Try installing the hotfix or wait for the February Cumulative Update that includes this hotfix. Once it comes out I'm going to install it and will let everyone know whether the problem reoccurs after the update.

The entries for e-mail-enabled lists are being deleted from the EmailEnabledLists table in the configuration database. When this issue occurs, incoming e-mail messages for these lists are not delivered. Therefore, the e-mail messages are deleted, and errors are logged for "Unkown alias."

Programmatically start SharePoint search crawl

Simple code sample on how to programmatically start a SharePoint search crawl through code. I haven't had a use for this yet but it's good to know that search crawls can be started easily.

Wednesday, February 25, 2009

Test Website with mulitple browsers without installing them

Check this site out for all your vitual browser needs. It does require that you download an executable but the exe isn't an install of the browser. It's just used to mimic the browser without installation. 

Monday, February 23, 2009

SharePoint Email Enabled Lists

The query below when run against the SharePoint content database(s) will display the email alias and the name of the associated list. Hopefully, from the list name you should know where it resides or you can at least search your SharePoint site for it. 

SELECT    tp_EmailAlias as EmailAlias,
tp_Title as ListTitle
FROM        AllLists
INNER JOIN  Webs ON AllLists.tp_WebId = Webs.Id
WHERE       tp_EmailAlias <> ''

Friday, February 13, 2009

Download Stimulus Plan

How can we expect our congressmen and Senators to pass this? What happened to capitalism and free markets, is the US economy in that bad of shape we need to become socialist. Download the House Stimulus Plan and see for yourself. 


And if you are not a congressmen or Senator, you might have trouble figuring out what the hell this document is referring to half the time. It's very complicated and confusing. Here's a tidbit from it.

$1,200,000,000 for grants to the States for
19 youth activities, including summer jobs for youth

$1.2 Billion for youth activities and summer jobs. How about No! Youths can find their own summer jobs without having the government give them 1.2 Billion Dollars to do it. Nice work Obama. How about you give me a billion dollars for living in one of the worst states in the Nation in terms of unemployments. That would help me get a job, or wait I would just take the money and continue to not work. 

Wednesday, February 11, 2009

SharePoint Jobs

I ran across this site http://www.partnerpoint.com/ and thought it was interesting. It has a ton of .NET and SharePoint jobs listed in various US states. 


Friday, February 6, 2009

My SharePoint advice to a friend

I don't have any certifications in SharePoint or any other technology. I don't care to get any certifications. My policy is if I've worked 4-5 years with SharePoint and the company I interview with needs a certification on my resume then I don't want to work for them. My experience should be enough. Needless to say I don't like companies asking for certifications and in general don't care for them.

 

Done with my rant...

 

I was a consultant with Sagestone Consulting(MS Partner) and was right out of college doing an internship for the help desk dept. During that internship one of my colleagues told me that SharePoint was going to be the next big thing and I should spend time learning it. He suggested I read the SharePoint Administrator's Guide which is huge. I installed SharePoint on a VPC, downloaded the guide and just started studying. My focus was on administration and installation particularly topology, taxonomy, server farm installation and search. So after uninstalling, reinstalling and configuring SharePoint about a dozen times I became familiar with it. With the new version MOSS 2007, MS added about a dozen more complicated features with a more advanced search engine, the ability to host public sites with it, master pages and page layouts. I am not very familiar with the details of how all those work but because I had the experience from SharePoint 2003 I knew the core of the product. I guess a good starting point would be to start with just Windows SharePoint Services since that is the core of MOSS 2007 along with a slew of other MS products including project server, identity life management server along with others. So knowledge of WSS would go a long way to knowing how the sites of these other products work. Plus WSS has most of the features of MOSS but is a bit simpler to learn starting out. A lot of companies are just running WSS because they don't have to pay the big bucks. There is a WSS Admin Guide, so download that or find it on TechNet and start studying and installing. There is a SharePoint user group in GR that meets one Tuesday of every month. https://www.wmspug.org/Home/default.aspx That would be a good resource too, a lot of local businesses have people that attend that, good networking night.

 

My advice would be the same, try to get your hands on a VPC or VM that you can install SharePoint on and download and start studying the Admin Guide. SharePoint is only going to expand and continue to grow with Microsoft.

 

Another thing, if you manage to get your hands on a beta version of the next version of Office (Office 14), definitely work on learning how to migrate from the current version of SharePoint to the next. There are going to be lots of companies that have a need for this migration and there aren't a lot of consulting firms in town with SharePoint experts that will know how to do this. The demand will be great but the resources small. It's a good opportunity for employment.

 

Hope this all helps, let me know if you have any questions. I'm always glad to help.

Wednesday, February 4, 2009

SQL Server 2005 versions


SQL Server 2005 SP2 - 9.0.3042
SQL Server 2005 SP2 with critical update - 9.0.3050

SQL Server 2005 SP3 - 9.0.4035


Friday, January 30, 2009

SharePoint Open a closed Web Part

When a web part is closed using the X, the web part is still loaded on the page, it is just not displayed. Resources are allocated that are never used, so she was right in asking the question.

Here are the steps to put a web part back on a page:

  1. Site Actions -> Edit Page
  2. Click Add a Web Part
  3. Click Advanced Web Part gallery and options
  4. Click Closed Web Parts
  5. Drag closed web part onto the page


Friday, January 16, 2009

Configure RTE in Sitecore 6

Switch to the Master Database.

Find the common template you use for your pages inside of the Template Manager. I use one just called "Page" that inherits from the General\BaseTemplate template. The BaseTemplate template has a field called Body which is a RTE field. Find that field of the BaseTemplate and then paste one of the following lines into the source field. 

I used the rich text full because I want my editors to have the full RTE Toolbar and all the buttons available to them. But you could also use any of the following. 


/sitecore/system/settings/html editor profiles/rich text default
/sitecore/system/settings/html editor profiles/rich text full
/sitecore/system/settings/html editor profiles/rich text ide
/sitecore/system/settings/html editor profiles/rich text medium

Let me know if you have questions, it took me awhile to figure this out, so I may be able to help you if you can't get it working.