<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Changing Infopath Form view when workflow started</title><link>https://www.infopathdev.com:443/forums/thread/34042.aspx</link><pubDate>Mon, 10 Nov 2008 04:24:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34042</guid><dc:creator>Raajkumar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34042.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=34042</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks Santhosh it is working now!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Changing Infopath Form view when workflow started</title><link>https://www.infopathdev.com:443/forums/thread/33935.aspx</link><pubDate>Thu, 06 Nov 2008 10:46:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33935</guid><dc:creator>santhoshp</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33935.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=33935</wfw:commentRss><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;First get the work flow status from SharePoint and set it in to a field in your form. By following these steps you can get the Work flow status into your form.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;1.&amp;nbsp; Take the secondary data connection as Receive data connection to SharePoint list (Make sure that Work flow column check box in data connection wizard is checked).&lt;br /&gt;2.&amp;nbsp; Add a status field in form and bind that field to Work flow column from SharePoint by filtering the value using file name (Make sure that your file name should be unique).&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Then in onload add a rule so that if work flow status field is equal to ‘2’ (generally the work flow column will be ‘2’ for In Progress forms) then switch to ‘Supervisor’ view. To do this follow these steps&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;1.&amp;nbsp;Go to Tools-&amp;gt;Form Options.&lt;br /&gt;2.&amp;nbsp;Select Open and Save category in Form Options window.&lt;br /&gt;3.&amp;nbsp;Click on Rules button.&lt;br /&gt;4.&amp;nbsp;Click on Set Condition button.&lt;br /&gt;5.&amp;nbsp;Set the condition work flow status field is equal to ‘2’. Then Click ok.&lt;br /&gt;6.&amp;nbsp;Click on Add-&amp;gt;Add Action.&lt;br /&gt;7.&amp;nbsp;In Action window select Switch Views.&lt;br /&gt;8.&amp;nbsp;Select ‘Supervisor’ view.&lt;br /&gt;9.&amp;nbsp;Click Ok until all the windows get closed.&lt;/p&gt;</description></item><item><title>Changing Infopath Form view when workflow started</title><link>https://www.infopathdev.com:443/forums/thread/33934.aspx</link><pubDate>Thu, 06 Nov 2008 10:11:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33934</guid><dc:creator>Raajkumar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33934.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=33934</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I created a form with two views(Employee and Supervisor).While creating a new instance of that form it should be in Employee view &lt;/p&gt;&lt;p&gt;and when workflow is started then it should be in Supervisor view so that it could be approved or rejected. And I did it by using c# code for this form&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Please help me in solving this problem &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>