InfoPath has no “user lookup” control, and it is a huge barrier for us. I’ve got to assume that this is a problem for others in similar business environments. The scenario is, we have a form where the user needs to select someone from our address book (AD), then auto-fill that user’s information into certain InfoPath fields.
To try and solve this problem, I have created ‘user lookup’ sections on my IP forms. These usually consist of a search field, search button, a results drop-down where the actual user can be chosen, and a couple data connections to web services. This does work, but is not a good solution. For one, there is a fair amount of development time needed to build this every time (checks for valid search criteria, clearing old results, disabling results drop down if nothing is found, etc.) Also, since these fields are tied to specific web services, they can only be used once on the form. If I have 2 areas for picking users, I need to build the whole thing twice. In the case where there is a repeating “user” node, this will not work at all (I already have two forms in development that have this as a requirement).
In trying to make this better, I built a Winform in C# that can be called as a modal pop-up, and the user lookups are done from there. This works, but requires a full-trust, and I’ve been having a difficult time understanding what issues that will carry with it. Also, it is very slow to load the form initially for some reason.
How are K2 developers handling this problem? Is this a reason to not use InfoPath and simply design aspx pages?