<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Views</title><link>https://www.infopathdev.com:443/forums/42.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: View design patterns?</title><link>https://www.infopathdev.com:443/forums/thread/29110.aspx</link><pubDate>Mon, 02 Jun 2008 21:06:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29110</guid><dc:creator>marcdeb</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29110.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=29110</wfw:commentRss><description>&lt;p&gt;Clay,

&lt;/p&gt;&lt;p&gt;Thank you so much for your reply. Those guidelines you presented really makes sense to me.

&lt;/p&gt;&lt;p&gt;There are a lot of other aspects of Infopath for which I&amp;#39;m looking for best practices and/or design patterns. Apart from the fact that I could not find a specific forum for that on this site (feature request for the site I guess? :-) ), maybe, as a MVP, you can help me with those as well? ;-)

&lt;/p&gt;&lt;p&gt;For example, do you know of any practices/patterns regarding implementing Infopath development using a Design/Develop/Deploy model? I&amp;#39;d like to separate the visual design of the templates from the code-behind stuff. It seems logical to me that our branch departments themselves will design the templates, possibly without IT help. Consequently, JScript/VBScript would not be something our branch departments should cope with. &lt;/p&gt;&lt;p&gt;However, I know for a fact that every form will contain some code-behind, although it seems to me that you should keep it as small as possible. So, I was thinking about a model where the IT department would come up with a form template template, containing all needed generic code-behind JScript. This would be a baseline for the branch departments to start with. When the branches have finished designing their needed form template(s), the template gets &amp;#39;connected&amp;#39; with the code-behind. That might be done by the developer/deployer, glueing the visual form together with the (already present) code, and who will also digitally sign the template for full trust and actually deploy it.

&lt;/p&gt;&lt;p&gt;So, the goal here is, to create a situation in which (educated) branches are able to create there own form templates without the IT department. &amp;nbsp;&lt;/p&gt;&lt;p&gt;Is this doable or, even better, common practice? It might require some sort of &amp;#39;contract&amp;#39; between the &amp;#39;design&amp;#39; part and the &amp;#39;develop&amp;#39; part, like, you know, MVC, model-view-controller, as a design pattern.

&lt;/p&gt;&lt;p&gt;Or... am I just babbling here...

&lt;/p&gt;&lt;p&gt;(Dear moderator: sorry for getting slightly off-topic here.)

&lt;/p&gt;&lt;p&gt;Marc.&lt;/p&gt;</description></item><item><title>Re: View design patterns?</title><link>https://www.infopathdev.com:443/forums/thread/29092.aspx</link><pubDate>Mon, 02 Jun 2008 13:21:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29092</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29092.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=29092</wfw:commentRss><description>&lt;p&gt;Great Questions Marc.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;You will reap a lot of benefits doing the research up front and planning this out rather than diving in directly.&lt;/p&gt;
&lt;p&gt;There is some preference and flexibility in what you have laid out but&amp;nbsp;I will give you my take on this.&lt;/p&gt;
&lt;p&gt;What I look at is the data source. If a form uses the same base data, than it should probably all be one form with multiple views.&lt;/p&gt;
&lt;p&gt;As much as possible reduce complexity by having fewer forms, for the user and for the admin.&lt;/p&gt;
&lt;p&gt;As far as view vs. hidden sections. This mostly comes down to development time and possibly performance.&amp;nbsp; And I think you have to look at each scenario.&lt;/p&gt;
&lt;p&gt;If the manager would look at the data in the same layout as the user, but then have an additional section, use one view with an added section.&lt;/p&gt;
&lt;p&gt;If they want to see it in a summary view or some other way than have a second view.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Beyond that, I would recommend a couple other tools for your solution.&lt;/p&gt;
&lt;p&gt;To link multiple forms together you need a central data source such as SQL. This gives you the ability to have supplemental forms and pull data from a central database or other forms into new forms. A scenario is often the content is somewhat dynamic. This will allow say questions to be managed in one form and then utilized in a second form so that the form is not hardcoded and needs no IT involvment to update or change.&lt;/p&gt;
&lt;p&gt;You also will need a way to identify users and get their email, and manager details.&amp;nbsp;I would recommend the Active Directory Web Service from Qdabra.&lt;/p&gt;
&lt;p&gt;I would check out the Database Accelerator Architecture from &lt;a href="http://www.qdabra.com/"&gt;www.qdabra.com&lt;/a&gt;.&amp;nbsp; Especially with IP 2003, it can give a very powerful tool set and allow you to do the most with InfoPath right from the beginning.&amp;nbsp; If I was going to get started on what you are describing that would be the most critical piece.&lt;/p&gt;
&lt;p&gt;Hope that helps.&lt;/p&gt;</description></item><item><title>View design patterns?</title><link>https://www.infopathdev.com:443/forums/thread/29089.aspx</link><pubDate>Mon, 02 Jun 2008 09:16:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29089</guid><dc:creator>marcdeb</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29089.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=29089</wfw:commentRss><description>&lt;p&gt;After reading numerous books, including &amp;quot;Developing Solutions with Microsoft Infopath&amp;quot;, &amp;quot;Programming Microsoft Infopath DevGuide (2nd edition)&amp;quot; and &amp;quot;Microsoft Office Infopath 2003: Kick Start&amp;quot;, I still have a lot of questions regarding best practices and design patterns in general.&lt;/p&gt;&lt;p&gt;One specific area is the usage of &amp;#39;views&amp;#39;.&lt;/p&gt;&lt;p&gt;I&amp;#39;m in the progress of planning a solution. About 50 paper forms are being converted to Infopath (2003). Most of these paper forms are &amp;#39;connected&amp;#39;. For example, for a few topics there is a form that starts it and a form thats stop it (for example, using our company fitness facilities).&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Now, under what circumstances should I combine those two paper forms into one Infopath form? And if I combine those two, should I use two &amp;#39;views&amp;#39; or should I use a &amp;quot;choice group&amp;quot; with two sections? I&amp;#39;d like to add some basic &amp;#39;approve&amp;#39;/&amp;#39;reject&amp;#39; feature for the management. To combine this, I can think of several options:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;One Infopath form per paper form. View 1 for the end-user, view 2 for the manager for &amp;quot;approve/reject&amp;quot;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;One Infopath form per paper form. One view. Per-default hidden &amp;quot;manager&amp;quot; controls for &amp;quot;approve/reject&amp;quot;.&lt;/li&gt;&lt;li&gt;One Infopath form for both forms. Two views. View 1 for &amp;quot;apply/start&amp;quot;. View 2 for &amp;quot;discontinue/stop&amp;quot;. Per view (per-default hidden) &amp;quot;manager&amp;quot; controls.&lt;/li&gt;&lt;li&gt;One Infopath form for both forms. Two views. View 1 with a &amp;#39;choice group&amp;#39; with two sections: section 1 for &amp;quot;apply/start&amp;quot;, section 2 for &amp;quot;discontinue/stop&amp;quot;.&amp;nbsp; View 2 for the manager.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;What questions should I ask myself to guide the conversion? I&amp;#39;d like to keep things simple...&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Could someone recommend a good read about Infopath design patterns and best practices, apart from those mentioned above? &lt;br /&gt;&lt;br /&gt;Tnx, Marc.&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>