How to Increase InfoPath Session Time Outs

By default, the session state is set by default to time out after 60 minutes. Unfortunately, my form was a lengthy HR form, that often times took users longer than 60 minutes to fill out – usually becuase they were interrupted and had to do something else and come back to it. And then when they try to submit the form they would be shown a lovely “Crtical Error” message that doesn’t let them retrieve or save any of their information.  

I was pulling my hairs out for a quite a few hours last week trying to figure out why browser-based InfoPath forms were giving my users these Critical Error Security Validation Time Outs. You would think there’d be a setting for this somewhere under the Web Application’s General Settings or at least under the InfoPath Forms Services section within Central Administration right? Sorry bub, this setting is actually managed under Central Admin > Application Management > Office SharePoint Server Shared Services > Configure Session State.

Off-Topic: The Encyclopedia of Life

Every so often, I come across one of those things that just make me warm and fuzzy on the inside and all I can say is wow. The recently launched Encyclopedia of Life by TED Prize winner E.O. Wilson is one of those things. When I first heard about it, I thought it would just be another wiki. But then I saw the video and demonstration pages on their website… then I was truly amazed. It’s just something you have to check out for yourself… 

InfoPath 2007 Dynamic Text Boxes for Browser Based Forms

If you’ve ever spent anytime using InfoPath, you know how awesome this tool is. It enables you to create forms in a WYSIWYG application and even let’s you connect it to data sources. The sweetest part is that if you’re using Microsoft Office SharePoint Server 2007 Enterprise you can publish these forms straight to your server and have users fill them out via the browser! MOSS 2007 Enterprise comes with InfoPath Forms Services which renders InfoPath forms as html so you don’t have to install the client software on all of your users’ computers, although you do lose some of the richness.

I was creating some forms the other day and couldn’t figure out for the life of me how to make a multi-line textbox expand dynamically without the use of scrollbars. My scenario was that I wanted to have the users be able to fill out the form as well as be able to print the form. But if they go over their alotted # of lines, then their text won’t get printed. So I dug around InfoPath for awhile, going through all the controls and properties, then finally stumbled upon the Rich Text Box. I proceeded to feel enlightened and an idiot at the same time…

I was previously trying to use the regular Text Box but that couldn’t be dynamically expanded with browser-based forms. The Rich Text Box control uses XHTML and works great!

Microsoft’s Stock and its Future

Just in case you happen to be an investor and are interested in speculation and stock debates, the Google Finance discussion boards are becoming pretty popular. I’ve been following the talks over at the MSFT discussions the last couple of days as Microsoft’s stock is hovering around $30 after beating market expectations for the quarter. As always there are trolls and Apple zealots that totally trash on Microsoft and proclaim that poor Vista sales will ruin the company, blah blah blah… It was getting so bad that I actually had to put in my 2 cents which I rarely ever do.

I think analysts are putting way too much weight on OS sales. I honestly think business applications are the dark horses for MSFT’s bottom line. I don’t think there are enough knowledgable analysts that understand MSFT’s plans for complete Office software integration that currently has nothing to do with Vista sales.

In the business world, there really is no alternative to the Office Suite and the growth of its SharePoint products. SharePoint is currently the hottest thing on just about every CIO’s mind and I do see a convergence trend going towards utilizing the SharePoint/Office suite as a foundation for businesses across all industries. This convergence will further grow MSFT’s server market share and enterprise licensing agreements.

Another argument for MSFT is the strength of its developer base. .NET programming has become the de facto buzzword/skill for job seekers and forward thinking enterprises. With today’s Mix07 keynotes by Ray Ozzie and crew, Microsoft has continued to enrich and enable these developers to create awesome applications for both the desktop and web mediums. Not to mention the ability to also create applications that are cross-platform! I apologize for the lack of a link, I was just reading it and now I can’t find it anywhere.

Developers will always be developing on the latest and greatest platforms – that is their livelihood and what sets them apart from the old farts that don’t like change. This tendency naturally pushes businesses and eventually the masses to adopt these technological improvements. Because of this…
I think analysts should be spending more time on non-OS apps (both MSFT& non-MSFT) as, I believe, they are the catalysts for OS upgrades. This includes games/server applications/business applications/etc. In this time and age, operating systems are becoming the enablers. The applications are the primary tools. What happens when you want/need to use that new tool? You need a computer with the proper operating system…

How to remove car dents all by yourself

This is so freakin’ ingenious I just had to share it. Paul Michael from Wise Bread did some research and found two simple, quick and cheap ways to repair dents in your car. The first way is by using dry ice and the second way is by using a hairdryer and liquid CO2. Click here for more details.

Trouble saving to SharePoint with Vista and Office 2007?

In case anyone else out there is working with bleeding edge tech and has to support it also, here’s a quirk I’ve come across when trying to save documents from Office 2007 applications to MOSS 2007.

Scenario 1:
– Windows XP
– Office 2007
– WSSv3/MOSS 2007

 Office 2007’s save boxes has a tab for “My SharePoint Sites.” This tab will give you links to SharePoint sites that you are a member of and also links that have been published to you. Upon clicking on the links, they work as expected taking you to its respective sites/document libraries.

Scenario 2:
– Windows Vista
– Office 2007
– WSSv3/MOSS 2007

The save dialogue boxes gives you the same options as if you were on XP except they don’t always work. Usually either an error box will pop up or you will be prompted for network credentials everytime you attempt to save a document using a new Office application session. With some help from the SharePoint community I was able to figure out a non-ideal workaround. So what I did was:

1. Create Network Shortcuts to the SharePoint sites that I wanted to save to.
2. Copy the shortcut that was created.
3. Navigate to the “My SharePoint Sites” folder which is located at “C:\Users\username\AppData\Local\Microsoft\Office\My SharePoint Sites”
4. Paste Network Shortcut into that folder.

After that everything seemed to work just fine – no more network login prompts nor errors. I know this isn’t ideal especially if you have a whole company full of Vista users but hopefully someone else comes up with a better solution sometime in the near future.

SharePoint planning and end user training is a must

If you’re like me and you’re working with a generally non-technical company, the roll-out of Microsoft Office SharePoint Server/Office 2007 System can be quite a daunting task. I’ll try to keep the ranting to a minimum but below will be some major issues that anyone in charge of a SharePoint deployment should be aware of.

1. If you’re planning on using SharePoint as a file share replacement, interview everybody!! And don’t take no for an answer. Many document intensive companies will have cross-departmental ownership of working files and you’ll be quite surprised that there are often times nested active files and folders that many people are not aware of. To prevent the duplication of efforts or file structures, these nested file structures will have to be taken into consideration if you are planning on creating departmental sites and/or portals. I unfortunately experienced this problem as a consultant – my main project contacts were misinformed on how tightly integrated multiple departments were and therefore we had neglected to interview all of the affected groups. What resulted was the launch of their MOSS portal having a ton of team sites with semi-duplicated document library structures.

2. Another misconception is not needing to involve everybody! You cannot expect to get a SharePoint solution setup and think that it would be possible to simply push it down on an entire company without their involvement. To fully take advantage of all the awesome collaborative features, you will need feedback from not only the department heads but also the people that will be working with documents stored on SharePoint all day long. By consulting with everyone, you will be able to tailor the solution to the way they work and not to mention how much easier it will be when launch day comes around!

 3. Demo often! I’m not caught up on software engineering but I guess this would fall under one of the Agile/Scrum manifestos. If you plan on taking advantage of many of the SharePoint document management features it will be wise to constantly demo them, and not only demo them but also have your users test them out. For example, some of the main selling points of SharePoint is its ability to have document versioning, check-in/check-out, information rights management with document information panel, etc. These all sound great and dandy but may greatly lower expectations if end users are not able to experience the process early on in the launching process. They may find the check-in/check-out process too cumbersome and decide against it, which might be quite a headache if you had already created 50 sites, with 10 document libraries each, like I did…

4. Upgrade to Office 2007! If you’ll be using either Windows SharePpoint Services ver. 3 or MOSS 2007 for mainly document management then you definately want your users to have a flavor of Office 2007 to be able to enjoy the whole Office System experience. It’s not flawless, but it’s definately a must. If you’re going to be on Office 2003 or earlier, you might as well stay on the 2003 SharePoint versions.

5. Train your users! I hope this goes without saying but it has definately been one of the more difficult tasks for myself. With today’s fast-paced business, project deadlines, ever-changing technology and a company full of middle-aged non-technical end-users (sound familiar?), proper training will the key to a successful transition. So how the heck can you train everyone in preparations for a smooth transition? I’m open to suggestions if anyone has any! So far, we’ve had formal training provided for the entire company, taking a full day out of everyone’s work week. And that 8-hour training day was barely enough for them to touch upon many of the new UI changes of the Office 2007 suite. If you think that is bad, can you imagine telling your company that they can no longer save documents to a file share but now have to navigate through another set of directory listings to find the proper SharePoint site? And then they have to decide if they want to check-in the file. How about minor versions? Or do they want major versions? Oh wait, you don’t press the save button anymore, you have to go to Server > Check-In. Don’t forget to press the check-out button before you edit, oh and don’t forget to fill out the document information panel with relevant metadata….. As you can see, it can be quite confusing to most average users as to why these things need to be done. All they wanted to do was save a file right?

For me, it almost seems like a never ending tag-team battle between Me/SharePoint and Old Habits/File Shares. I hope this has given you some insight into any SharePoint adventures that may lie before you.

Custom “Send To” Menus

I came across this awesome Windows utility today called “Send To Toys.” The standard “Send To” menu is available when you right click any folder or document on your computer.

As you can see there are quite a few more options that have become available as well as the ability to create custom links to basically any network folder you’d like. Now how’s this relate to SharePoint? You can create custom shortcuts that will enable you to upload documents from wherever you’d like, without ever touching the SharePoint site itself! For example, you can create a custom link to a particular document library using its UNC path, then using Send To Toys you’ll be able to just right click on any document or folder and “Send To” > your document library! Pretty awesome huh?

 Edit: I should’ve also mentioned that KnowledgeLake also has a similar utility made specifically for SharePoint called KnowledgeLake Connect.

Catching your own airball in basketball is not travelling nor illegal

This is totally off-topic but I just had to get this off my chest. I play a lot of basketball. I also used to ref for 5 years. It never ceases to amaze me how many people think that it is illegal to catch your own airball if it was a legitimate shot attempt. I bet you didn’t know that did you? I hate it and I’m here to dispell what I call the biggest myth in basketball.

We’ve all grown up playing playground basketball thinking that if you airball a shot you can’t touch the ball again mainly due to the NBA. The NBA is the only league in the world in which this is a true violation. Not in the NCAA, not in Junior College, not in Intramural Sports, not in High School, not in City Leagues and certainly not Streetball! So the next time you’re out on the courts, educate all those haters. Catching your own airball is not travelling nor is it illegal!

References:
http://en.wikipedia.org/wiki/Traveling_%28basketball%29
http://www.dallasref.com/pdf_files/most_misunderstood_basketball_rules.pdf – (#7)
http://www.longislandbasketball.com/AskTheRef2.html – (Last question at the bottom of the page)

The future of SharePoint or SharePoint is the future?

SharePoint: The next big ‘operating system’ from Microsoft? by ZDNet‘s Mary Jo Foley — Could SharePoint Server become the new center of Microsoft’s universe (at least among business users)? SharePoint as an operating system in and of itself? These ideas aren’t as crazy as they might sound. ”

 This is something I’ve been waiting to hear especially with all the nay-sayers slamming Vista sales and the emergence of Red Hat/*nix/open source. I have nothing against open source, but in my opinion, Microsoft is creeping around the backdoor with its SharePoint + Office integration plans. The reality is that the majority of businesses large and small are using the Microsoft Office suite as a standard and will be for quite a long time. SharePoint will be the glue that keeps Microsoft products at the top of the list for information workers.

Design a site like this with WordPress.com
Get started