Skip to main content

InfoPath & SharePoint (Part 1)

A departure from sports and politics. This one is about technology.

InfoPath sucks and SharePoint is the most expensive piece of crap ever. InfoPath, as a development environment, has absolutely no redeeming value. It's worthless and if your boss ever thinks of using it, you have three options:

  • convince him not to (not easy once he's been brainwashed by the Microsoft marketing presentations)
  • use one of Al Gore's lockboxes to store away your sanity 'cos you'll lose it. Also, pad your estimates very generously. You'll need every bit of time you can get.
  • quit immediately while you still have your sanity
First, InfoPath:

To me InfoPath is like programming in assembly language. Sure it makes it easy (too easy in fact) to bind data to controls. But it doesn't provide you with easy access to your controls. Why is this important? Say you want to disable a button:

in most technology: buttonA.enabled = false (or something similar).

In InfoPath, you simply can't do this. You have to use something called "conditional formatting" to bind the button's enabled state to the a data field. While this is not so bad in theory it quickly breaks down in practice where you have multiple buttons. And where you sometimes have to set a button's enabled state to another button's state. In InfoPath, you'll have to "point & click" to set up conditional formatting for each and every button.

InfoPath doesn't have a label control. If you are developer, you'll know why this is glaring oversight. In fact, InfoPath has a very limited set of controls. Thinking about adding custom controls, good luck! You'll need to write ActiveX and convince your users to download your controls to their browser. Say goodbye to non-IE users.

InfoPath forms are saved in a proprietary binary format (really it's just a cab file). Why is this an important deal breaker for any sane developer? Because having ALL your source code in a binary format makes source control virtually impossible.

Now, InfoPath is not totally useless. You just have to use for what it is designed for (i.e. simple forms). And even then, trying to push the envelope will cause you untold amount of headache.

I'll write about SharePoint in my next post. Of course, it goes without saying that this is my personal opinion.

Comments

  1. I googled "Infopath sucks" and your blog appeared...you are right bro¡
    I have to work on infopath (politics :S) with an access connection, and i am frustrated; the queries on infopath are just plane selects (I need the WHEREs, the LIKEs...but noooo... "you can do anything with just 8k" righ Bill?), the security alerts appear every 10 seconds, and also, as you said, the control over the "controls" is just follow a line... I AM SO PI$$ED OF...
    Anyway, again, you are right bro...

    ReplyDelete
  2. You're either lying; or have no idea how to use infopath.

    ReplyDelete
  3. I salute you! I have spent already 4 months on the road of InfoPath - SharePoint to do the simplest things in life! I tried everything so far and i m really pissed off with it! Politics in the name of business,.... and the most important piss takes goes to:
    1) no multiline text box in secondary data sources nested within sections (i.e. imagine u want to retrieve-submit to and from XML web service (the only easy submition for lists in infopath secondary datasources) such as this example: (http://www.infopathdev.com/blogs/matt/archive/2006/02/02/Add-SharePoint-List-Items-with-InfoPath.aspx) unfortunately works ok but no control over the appearance of controls and NO multiline text box... so no nicely edited comments in comments table.
    2) SP foundation 2010 / or SP Server 2010 runs only 64bit server.... nice one i will have to save some money on my next bonus to buy one....
    3) Sandboxed (since when code is a luxury) solutions require administrator approval.... Yeah right very nice when working in a large corporate environment and the admins don’t even know what that means...
    4) The default Sharepoint-list infopath form that binds everything automatically does not allow for code editing! Yeah some things better remain unknown!
    5) The end user experience sux when everything you used to know about .net it meant to be working but actually it needs admin setup. And when the big boss says disable external DB connections/Code etal i say Sharepoint-Infopath-M$-Politics SUXXXXXXXXXXXXXXX
    6) Lets hope Infopath 2020 will address these issues!

    ReplyDelete
  4. 7) Infopath retrieves all items from the list then reders them then lets the controls decide on how to display them. This sucks when retrieving from large lists i.e. more than 5000 items and doesnt work.... even my grandma can handle more rows!

    ReplyDelete

Post a Comment

Popular posts from this blog

The Teenage Years Cometh

If you're lucky, a few days after your twins are born, the hospital just let's you walk out with them. In fact, they insist you take them with you. No training, no classes, no probation...they really just let you walk out with 2 humans. #fatherhood — Tundey A. (@realtundey) November 28, 2021 This was me 12 years ago: And now look at them. In a little over 6 months, they'll be teenagers!   Every time I look at them, I am reminded of Obama's quote on being a parent:  "One of my favorite sayings about having children is it's like having your heart walking around outside your body." — @POTUS — White House Archived (@ObamaWhiteHouse) October 21, 2015

Time Travel

 On November 25th , I ordered a couple of items from Bed, Bath & Beyond. It was late on Thanksgiving, I was up and decided to take a quick look at early Black Friday deals. The air fryer I had been eyeing for a few months was finally on sale. And I needed a comforter set. So why not kill 2 birds with one stone? I ordered both items for delivery (2-3 business days). Whatever, not an urgent need.  Friday afternoon, I received an email from BBB, my items have been split into 2 shipments. The first shipment is on the way. Here's the tracking number. Oh nice...I clicked on the tracking number and got this: I do not list in NJ Go ahead, click on it and take a look at the dates. According to that tracking info, the package was shipped on October 13th! Yeah, that's the reason for the title of this post. Somehow, BBB issued an already-used tracking number for my shipment. It gets worse. Both shipments were assigned different used tracking numbers. Both tracking numbers were for pac...

The Ron Rivera Inconsistency

Ron Rivera is an interesting coach. As a man, he's very well respected in the world of football. Maybe not loved but definitely very highly respected. Everybody speaks of his integrity, his leadership, his ability to command the respect of his players and no matter how bad the seasons gets, his players never seem to throw in the towel. Even in the back end of losing seasons (which is all he has so far with the Commanders), his teams find ways to win games they have no business winning.  So why then does he confound people with his words and actions? In the last 4 years as Commanders coach, there's hardly a criticism of his stewardship of the team without a prefix of "great man". And yet, he lies...a LOT! He changes his tune every time he speaks to the press. He throws players under the bus as a matter of routine (Landon Collins, William Jackson III, Chase Young, Jamin Davis, Emanuel Forbes are stuck to the bottom of Ron Rivera's bus). And with the latest leaks tha...