<?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: Sharing elements across views</title><link>https://www.infopathdev.com:443/forums/thread/71378.aspx</link><pubDate>Mon, 24 Oct 2011 21:05:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71378</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71378.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=71378</wfw:commentRss><description>&lt;p&gt;I presume what you want to do here is be able to make changes to the button&amp;#39;s logic without having to re-copy the button into all of the views every time you do that, is that correct?&lt;/p&gt;
&lt;p&gt;There isn&amp;#39;t a way to have controls that exist in all of the views and automatically reflect any changes you make to them, but this is what I do whenever I have some logic that I might want to carry out under different situations.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Create a secondary XML data source with a bunch of fields to serve as &amp;quot;triggers&amp;quot; for various operations.&amp;nbsp; I import them with blank values and include one more field called &lt;strong&gt;Stop&lt;/strong&gt;.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Add rule logic to each of these &amp;quot;trigger&amp;quot; fields, as follows:&lt;br /&gt;&lt;strong&gt;Rule 1&lt;/strong&gt;:&lt;br /&gt;&lt;strong&gt;Condition:&lt;/strong&gt; &lt;em&gt;(the current field)&lt;/em&gt; is blank&lt;br /&gt;&lt;strong&gt;Action:&lt;/strong&gt; Set the &lt;strong&gt;Stop&lt;/strong&gt; field to blank.&amp;nbsp; Stop executing rules.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Rule 2, 3, 4, 5, etc.&lt;/strong&gt; - The operations the trigger should carry out.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Last rule:&lt;/strong&gt; Set self to blank.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Then, you just set up your buttons to have the rule action: &lt;strong&gt;Set &lt;em&gt;(trigger field)&lt;/em&gt; = &amp;quot;go&amp;quot;&lt;/strong&gt;.&amp;nbsp; The trigger field carries out the actions and resets itself to blank when it&amp;#39;s done.&amp;nbsp; You only need to modify one set of rules any time you want to change the logic.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Do you think something like that might work for you?&lt;/p&gt;</description></item><item><title>Re: Sharing elements across views</title><link>https://www.infopathdev.com:443/forums/thread/71376.aspx</link><pubDate>Mon, 24 Oct 2011 20:47:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71376</guid><dc:creator>bigeldm</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71376.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=71376</wfw:commentRss><description>&lt;p&gt;unfortunately we are not using form services.&lt;/p&gt;</description></item><item><title>Re: Sharing elements across views</title><link>https://www.infopathdev.com:443/forums/thread/71365.aspx</link><pubDate>Mon, 24 Oct 2011 19:27:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71365</guid><dc:creator>R&amp;#233;mi MATAYRON</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71365.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=71365</wfw:commentRss><description>&lt;p&gt;Are you using InfoPath Form Services or an InfoPath client version?&lt;/p&gt;&lt;p&gt;With InfoPath Form Services, you can create an XmlFormView custom in order to put asp button into the page.&lt;/p&gt;&lt;p&gt;It is not an InfoPath control but he will be display in the same page.&lt;/p&gt;&lt;p&gt;Hope this help.&lt;/p&gt;</description></item><item><title>Sharing elements across views</title><link>https://www.infopathdev.com:443/forums/thread/71356.aspx</link><pubDate>Mon, 24 Oct 2011 18:13:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71356</guid><dc:creator>bigeldm</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71356.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=71356</wfw:commentRss><description>&lt;p&gt;Is it possible to have a button (for example a save button) that perpetuates across all views without having to be repeated on each view?&amp;nbsp; Kind of like a master element that shows on all views?&lt;/p&gt;</description></item></channel></rss>