18 December 2012

codeless: expression box/calculated value

/TECH
Have you ever needed to display text that changed depending on other aspects of the current form in question? If you have, perhaps you've already used these. But if you're like me and you didn't see an obvious solution (a rarity in SharePoint and Infopath) you found another way. I personally used sections and text fields to dynamically hide and display text. But this isn't the only way.

I discovered this little feature by accident one day. They're called an Expression Box in 2007 and a Calculated Value in 2010. These incredibly simple controls are part of the form template only, which means the data in them is never stored with the form itself. One disadvantage that I can tell though is that you can't reference them, much like a button control. But if you're already basing the info in the control off of data in the form, you don't need to reference it.

But the thing that bothers me the most is that I've been working with InfoPath for 2.5 years now and never knew about them. If you haven't discovered them yet, go use them cause God knows they're useful.

Until next time:
Work hard. Play harder.

03 December 2012

not an article

This is just to inform you that I'm working on a series of posts about some of the things I've learned about SharePoint and InfoPath. I am also in the process of breaking off the more personal side of this blog into a separate blog that I'm hosting on my very own server. There I will post my rants, ravings, and reviews about things not related to work and personal projects. I will post a link to it when it's ready.

So until next time:
Work hard. Play harder.