InfoPath – Limit the number of items in repeating table

יום רביעי, אפריל 14, 2010

Credit for this cool trick goes to Ziv Cohen (from BSP)who found and showed it to me. If you want to limit the number of items in a repeating table, there no apparent way in the UI to do it. Here’s a quick way to do it without writing code. On a form with a repeating table. Pay attention to the Group that the Repeating table is bound to. Get the source files of the form. (in 2007: File –> Save as source files. in...
תגיות: , ,
13 תגובות

What’s New in InfoPath 2010

יום שישי, יולי 17, 2009

There are some public details about InfoPath 2010. to summarize: Pre-built page layouts and section layouts. New Controls: Picture buttons. Hyperlink capabilities. Date and time picker. Person/Group pickers – Updated. Signature Line (Editor Only). ...
תגיות: , ,
2 תגובות

.NET Framework 3.5 and Infopath compatibility issue.

יום שישי, אפריל 18, 2008

Bottom line: Be very careful installing Microsoft .NET Framework 3.5 on a machine that works with custom InfoPath solutions. One of my clients has a customized InfoPath 2007 (Not browser enabled) form, that recently went into production.As it was exposed to a lot more users, each running a different environment configuration, we began to receive complains from people who can't use the form. They were getting the following error message:  Because we know the form DOES work on some computers and doesn't on others, it clearly wasn't a problem with the form itself. We noticed that the computers how can't use the form...
תגיות: , , ,
9 תגובות

Windows Installer Switches\ Deploying InfoPath 2007 Programmability Support (Part 2)

יום שני, דצמבר 10, 2007

This post is about installation switches available when running Windows Installer files. So, in Part 1 we have created a .msp file that adds the Programmability support to InfoPath 2007. Great. As we went on and deployed it, we confirmed that when users start their computers, the installaion indeed started as expected. The problem is, that this window has a "cancel" button, and some users innocently canceled the installation. Another problem is that the window itself might be intimidating of disturbing for some users.Luckily the windows installer platform support some switching to handle this situations. For our...
תגיות: , , ,
אין תגובות

Automating Office 2007 installation\ Deploying InfoPath 2007 Programmability support (Part 1)

יום שישי, דצמבר 7, 2007

This Post is about How to create a file that will add specific features to an Office 2007 installation, specifically the .NET Programmability support for InfoPath. If you want to run InfoPath forms that include managed code (C# or VB) you have to make sure that "InfoPath Programmability support for .NET framework 2.0" is installed. It appears under InfoPath when you select to change the installation of Microsoft Office in the Add\Remove wizard. This feature is not installed with the Typical installation of Office, and you have to manually install it. Last week I have been to a client, with...
תגיות: , , ,
אין תגובות

InfoPath – Get the current user without writing code

יום חמישי, אפריל 5, 2007

I've just read IP team blog post about getting the current user's details using Web Services.Actually the exact same result can be achieved without writing any code. It's a very common thing to do and I couldn't find any guide for that, so here it is:* If you are already familiar with this, this post might still be useful. I have included the complete set of default properties get returned and their proper naming syntax at the bottom.* This works at InfoPath as well as InfoPath Forms Services.*Clayton Cobb has a great follow up post if you to take the...
תגיות: , ,
1,091 תגובות

IIS vs SQL RAM consumption

יום רביעי, אפריל 4, 2007

Here is something I came across on the InfoPath Forms Services best practices documentation. "ASP.NET employs a strategy of targeting maximum Internet Information Services (IIS) memory use of the lesser of either 800 megabytes or 60% of available physical RAM. These settings are configurable in IIS manager. ASP.NET also monitors physical RAM use, not just for the w3wp.exe process, but for the entire system. When 80% of the physical memory on the server is committed, ASP.NET begins periodically dropping the oldest and lowest priority 5% of the cache. When 85% of physical memory is committed, ASP.NET drops 50% of...
תגיות: , , ,
אין תגובות

InfoPath Forms Services – What happens after a form is closed

יום חמישי, מרץ 8, 2007

Here is a little tip - How to redirect users to a certain page after they have filled out a browser enabled form with InfoPath Forms Services (IPFS):You should look for the "source" query string parameter in the form's URL, and change it to you certain page.That's it! every click on the "Close" button on IPFS toolbar, every rule you have insert that closes the form (i.e. in the submit button), or every other closing of the form will navigate the user to the URL in the "source" parameter. This way, you can hide the actual form library in MOSS, and give...
תגיות: , ,
15 תגובות