<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: skInfopathKit - Looking for feedback and testing of first 'Alpha release' - Comes with View Clone feature</title><link>https://www.infopathdev.com:443/forums/thread/68858.aspx</link><pubDate>Mon, 01 Aug 2011 10:20:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68858</guid><dc:creator>Skarn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68858.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=68858</wfw:commentRss><description>&lt;p&gt;Well, I have the header footer feature working well - but it&amp;#39;s not persistent enough. &lt;/p&gt;&lt;p&gt;I&amp;#39;ve tried numerous configurations of &amp;lt;xsl:apply-templates select=&amp;quot;xxx&amp;quot; mode=&amp;quot;xd:preserve&amp;quot;&amp;gt; and &amp;lt;xsl:template match=&amp;quot;xxx&amp;quot; mode=&amp;quot;xd:preserve&amp;quot;&amp;gt; to enable me to wrap a view in a table/thead combination with no luck.&lt;/p&gt;&lt;p&gt;Would anyone else know if xd:preserve or something similar can be used for &amp;lt;table&amp;gt; which would prevent Infopath from re-writing the table tags every publish?&lt;/p&gt;&lt;p&gt;The only real damage it does is converting all &amp;lt;thead&amp;gt; tags into &amp;lt;tbody&amp;gt; - the strange thing being that it&amp;#39;s not even necessary for IP to do this from what I can tell.&lt;/p&gt;&lt;p&gt;If there is no solution, then my toolkit can present the following workflow:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;form template is saved by user&lt;br /&gt;&lt;/li&gt;&lt;li&gt;toolkit is opened and user select &amp;#39;header/footer&amp;#39; function&lt;/li&gt;&lt;li&gt;user selects template and toolkit applies header/footer &amp;#39;patch&amp;#39;&lt;/li&gt;&lt;li&gt;user re-publishes form without making any view changes&lt;/li&gt;&lt;/ul&gt;When the user next updates the template for whatever reason, the patch has to be applied again. Hardly ideal.&lt;br /&gt;</description></item><item><title>Re: skInfopathKit - Looking for feedback and testing of first 'Alpha release' - Comes with View Clone feature</title><link>https://www.infopathdev.com:443/forums/thread/68577.aspx</link><pubDate>Wed, 20 Jul 2011 12:48:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68577</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68577.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=68577</wfw:commentRss><description>&lt;p&gt;Well, from what I saw of your code, you are resetting the publish path for the form, right? And if a form has been published to SharePoint, you should be able to just change the publishUrl, which I see you are doing a line down. So perhaps wrap the bit setting xsf2:share/@path in an if? If this were C#, I&amp;#39;d do something like:&lt;/p&gt;
&lt;blockquote&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;XPathNavigator&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; nav = MainDataSource.CreateNavigator().SelectSingleNode(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;//xsf2:share/@path&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;, NamespaceManager);&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;if&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; (&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;null&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; != nav)&lt;br /&gt;{&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;//do some stuff like setting the value of nav&lt;/font&gt;&lt;/font&gt;&lt;br /&gt;&lt;/font&gt;&lt;font size="2"&gt;}&lt;/font&gt;&lt;font size="2"&gt;&lt;/blockquote&gt;
&lt;p&gt;That way you can set the node if it exists, and won&amp;#39;t have an error in non-network published forms.&lt;/p&gt;
&lt;p&gt;How do I update the forms I&amp;#39;ve added? Just add the same template again?&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: skInfopathKit - Looking for feedback and testing of first 'Alpha release' - Comes with View Clone feature</title><link>https://www.infopathdev.com:443/forums/thread/68575.aspx</link><pubDate>Wed, 20 Jul 2011 08:17:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68575</guid><dc:creator>Skarn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68575.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=68575</wfw:commentRss><description>&lt;p&gt;Thanks for having a look Hilary :-) I will have to add an instruction that it expects to work with network drive published forms. &lt;br /&gt;Sharepoint or other types of form template I am not familiar with unfortunately.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Your suggestions are exactly what I am looking for - I will definitely fix the file extension being added if user does not provide it.&lt;/p&gt;&lt;p&gt;And no snark taken! I also use the straight forward Ctrl+A and paste method all the time - and because of that I found plenty of time that the pasting didn&amp;#39;t quite work the way I expected - extra carriage returns and other minor formatting mismatches.&lt;br /&gt;I&amp;#39;ve also had Infopath decide to crash during large copy and pasting of controls.&lt;/p&gt;&lt;p&gt;&amp;nbsp;The view cloning is a key component to upcoming features as it&amp;#39;s needed for e.g. to auto generate a print view of a view, so I thought it might be a basic function to get working straight up :-)&lt;/p&gt;&lt;p&gt;Thanks again for testing, and I&amp;#39;ll aim for weekly updates on funtions/features/fixes :-)&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: skInfopathKit - Looking for feedback and testing of first 'Alpha release' - Comes with View Clone feature</title><link>https://www.infopathdev.com:443/forums/thread/68570.aspx</link><pubDate>Tue, 19 Jul 2011 22:44:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68570</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68570.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=68570</wfw:commentRss><description>&lt;p&gt;The Access form is nice looking.&lt;/p&gt;
&lt;p&gt;So you know, I&amp;#39;m using InfoPath 2010 / Access 2010.&lt;/p&gt;
&lt;p&gt;I had an error adding a form - on this line:&lt;br /&gt;xmlDoc.selectSingleNode(&amp;quot;//xsf2:share/@path&amp;quot;).Text = strNewPublishPath&lt;/p&gt;
&lt;p&gt;The exception was &amp;quot;Object variable or With block variable not set&amp;quot;&lt;/p&gt;
&lt;p&gt;I tried again, after publishing the form &lt;strong&gt;&lt;em&gt;to a network location&lt;/em&gt;&lt;/strong&gt; (which was my guess as to when xsf2:share/@path would be added to the manifest)- my new form added as well as the other two I&amp;#39;d been trying to add.&lt;/p&gt;
&lt;p&gt;It would be nice if when we browse for a location for the new template, if the file extension was forgotten by the user (oops!) the tool added it. &lt;/p&gt;
&lt;p&gt;The Clone View feature worked for my IP 2010 template - so now you can say it has been tested for 2010.&lt;/p&gt;
&lt;p&gt;However, I have to ask, with no snark intended (because as I&amp;#39;ve posted here and mentioned in email - I think it is way cool you&amp;#39;ve invested your time in this!) - how is this easier for me as a user than just clicking in a view, CTRL + A to select the whole view and CTRL + C to copy, then create a new view and paste the whole thing in? I guess, once I&amp;#39;ve added a template to the toolkit - it will probably be quicker, so I&amp;#39;ve maybe answered my own question there... And I know you intend to add more features.&lt;/p&gt;
&lt;p&gt;Again, nice looking form, pretty good user experience - you should try it on some forms that haven&amp;#39;t been published to network shares - that should repro the issue I had. &lt;/p&gt;</description></item><item><title>Re: skInfopathKit - Looking for feedback and testing of first 'Alpha release' - Comes with View Clone feature</title><link>https://www.infopathdev.com:443/forums/thread/68516.aspx</link><pubDate>Mon, 18 Jul 2011 21:23:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68516</guid><dc:creator>Skarn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68516.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=68516</wfw:commentRss><description>&lt;p&gt;Thank you :-) I&amp;#39;ll be adding more - The next two features:&lt;/p&gt;&lt;p&gt;* View tweaks - convert other controls to Text Boxes. Bulk change fonts.&lt;br /&gt;* Header Footer - modify a view to have fully formatted/dynamic Header and Footer for printing.&lt;/p&gt;&lt;p&gt;Now I think about it - most of the functions are geared towards print view improvements - but maybe other uses can be found. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: skInfopathKit - Looking for feedback and testing of first 'Alpha release' - Comes with View Clone feature</title><link>https://www.infopathdev.com:443/forums/thread/68492.aspx</link><pubDate>Mon, 18 Jul 2011 15:37:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68492</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68492.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=68492</wfw:commentRss><description>&lt;p&gt;In case no one has mentioned it lately, Skarn, you &lt;strong&gt;rock&lt;/strong&gt;. What a neat tool to share with others!&lt;/p&gt;</description></item><item><title>skInfopathKit - Looking for feedback and testing of first 'Alpha release' - Comes with View Clone feature</title><link>https://www.infopathdev.com:443/forums/thread/68475.aspx</link><pubDate>Sun, 17 Jul 2011 11:08:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68475</guid><dc:creator>Skarn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68475.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=68475</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;Before anything:&lt;/b&gt; I am creating this and testing it on my own forms - but I cannot guarantee anything won&amp;#39;t go wrong - please backup templates before modifying using this toolkit! &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Hi IPDev community.&lt;br /&gt;I want to contribute a little toolkit of techniques, hacks, tools for Infopath to this website/forum.&lt;br /&gt;I&amp;#39;m only coming into this with experience and techniques I&amp;#39;ve come across in my own Infopath development. I&amp;#39;ll be using Microsoft Access 2007 environment to &amp;#39;provide&amp;#39; the toolkit.&lt;br /&gt;The idea would be also that nothing in the toolkit have dependencies after template modification - so no server add-ons or webservices etc. This is purely because that&amp;#39;s the environment I myself have to work in. &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I assume that most of us would have Microsoft Access.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;So - For my &amp;#39;&lt;i&gt;alpha&lt;/i&gt;&amp;#39; version - a single feature (with many more to be added!).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Download: &lt;/strong&gt;&lt;a href="http://www.infopathdev.com/files/folders/examples/entry68539.aspx" target="_blank"&gt;skInfopathKit.zip&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Feature 1:&lt;u&gt; &lt;/u&gt;&lt;/b&gt;&lt;u&gt;View Clone&lt;/u&gt; - copy a form view.&lt;/p&gt;
&lt;p&gt;One I think some of us have wanted many times - e.g. a starting point for a print view for a view. &lt;br /&gt;Quick steps on how to use this first feature.&lt;br /&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Unzip the skInfopathKit.zip to any folder.&lt;/li&gt;
&lt;li&gt;Run the skInfopathKit .mdb file&lt;/li&gt;
&lt;li&gt;Allow macros&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Get one of your templates to test with and make a copy of it somewhere (&lt;b&gt;&lt;i&gt;please be safe and backup stuff&lt;/i&gt;&lt;/b&gt; before using my toolkit - in case it breaks something!)&lt;/li&gt;
&lt;li&gt;Use the &amp;#39;Add Form&amp;#39; button on the &amp;#39;Templates&amp;#39; page to register the template with the toolkit &lt;br /&gt;Registering unpacks the Infopath template cab file into the templates sub-folder of the toolkit - this is what the toolkit modifies.&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Double click the form name after registering it (it should now appear in the list) to make it &amp;#39;active&amp;#39;&lt;/li&gt;
&lt;li&gt;Go to the &amp;#39;Tools&amp;#39; &amp;gt; &amp;#39;Clone View&amp;#39; page&lt;/li&gt;
&lt;li&gt;You should see the views in your form listed.&lt;/li&gt;
&lt;li&gt;Select one, and press &amp;#39;Copy&amp;#39; button&lt;/li&gt;
&lt;li&gt;You will be asked for the new view name - type one in and press OK.&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;The toolkit will tell you the view has been added.&lt;/p&gt;
&lt;p&gt;To verify and test you need to &amp;#39;Re-CAB&amp;#39; the form template (this is essentially what Infopath does when it publishes a template).&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Press the &amp;#39;Re-CAB&amp;#39; button at the bottom right of the main window&lt;/li&gt;
&lt;li&gt;You will be prompted for a save location - name the form with .xsn as it&amp;#39;s file extension&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;You should now have an Infopath form in that saved location and you can go to design mode and verify you have a cloned view! &lt;br /&gt;&lt;br /&gt;For those worried about virus&amp;#39; etc:&lt;br /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Scan it&lt;/li&gt;
&lt;li&gt;All the modules and forms and code is completely viewable.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;For those who like it, and have comments, suggestions etc.:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Thanks!&amp;nbsp; &lt;br /&gt;&lt;/li&gt;
&lt;li&gt;My email is in the &amp;#39;About&amp;#39; page of the toolkit&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;regards,&lt;br /&gt;Skarn&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>