<?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: Switch view based on user login</title><link>https://www.infopathdev.com:443/forums/thread/48356.aspx</link><pubDate>Thu, 29 Oct 2009 14:17:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48356</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48356.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=48356</wfw:commentRss><description>&lt;p&gt;That&amp;#39;s a 2007 function, so you don&amp;#39;t have a way of getting username that I know of.&amp;nbsp; 2003 is about to be obsolete with the release of 2010, so if there is any way you can convince your organization to move ahead at least to&amp;nbsp;2007, it would benefit them (and you) immensely.&amp;nbsp; Office 2003 is very old now.&lt;/p&gt;</description></item><item><title>Re: Switch view based on user login</title><link>https://www.infopathdev.com:443/forums/thread/48185.aspx</link><pubDate>Fri, 23 Oct 2009 23:34:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48185</guid><dc:creator>krishna</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48185.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=48185</wfw:commentRss><description>&lt;p&gt;I tried to use this method, but as I am using Infopath 2003,Design checker says &amp;#39;Username() function is not supported. Is there any other way to switch views based on user name for already saved forms.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Re: Switch view based on user login</title><link>https://www.infopathdev.com:443/forums/thread/44912.aspx</link><pubDate>Fri, 24 Jul 2009 16:02:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44912</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44912.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=44912</wfw:commentRss><description>&lt;p&gt;Glad to hear.&amp;nbsp; Always good when it&amp;#39;s a simple fix.&lt;/p&gt;</description></item><item><title>Re: Switch view based on user login</title><link>https://www.infopathdev.com:443/forums/thread/44910.aspx</link><pubDate>Fri, 24 Jul 2009 14:24:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44910</guid><dc:creator>gowtham</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44910.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=44910</wfw:commentRss><description>&lt;p&gt;Hi Warrtalon,&lt;/p&gt;
&lt;p&gt;I changed the rule as you said and it worked fine.&lt;/p&gt;
&lt;p&gt;Thanks a lot.&lt;/p&gt;</description></item><item><title>Re: Switch view based on user login</title><link>https://www.infopathdev.com:443/forums/thread/44909.aspx</link><pubDate>Fri, 24 Jul 2009 14:22:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44909</guid><dc:creator>gowtham</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44909.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=44909</wfw:commentRss><description>&lt;p&gt;Hi Warrtalon&lt;strong&gt;,&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I changed that rule as you said and it worked just fine.&lt;/p&gt;
&lt;p&gt;Thanks a lot.&lt;/p&gt;</description></item><item><title>Re: Switch view based on user login</title><link>https://www.infopathdev.com:443/forums/thread/44905.aspx</link><pubDate>Fri, 24 Jul 2009 12:51:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44905</guid><dc:creator>gowtham</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44905.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=44905</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I don&amp;#39;t have Active directory installed on that machine. I just practice on that machine. So security is not an issue. Thanks for the advice Patrick. I will keep that in mind.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Switch view based on user login</title><link>https://www.infopathdev.com:443/forums/thread/44895.aspx</link><pubDate>Fri, 24 Jul 2009 06:42:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44895</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44895.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=44895</wfw:commentRss><description>&lt;p&gt;good idea from Clay, but you know relying on local machine usernames is just bad practice since it is not secure at all&lt;/p&gt;</description></item><item><title>Re: Switch view based on user login</title><link>https://www.infopathdev.com:443/forums/thread/44890.aspx</link><pubDate>Fri, 24 Jul 2009 02:54:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44890</guid><dc:creator>gowtham</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44890.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=44890</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;This sounds more relevant. I will try this tomorrow and let you know.Thanks for the help.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Switch view based on user login</title><link>https://www.infopathdev.com:443/forums/thread/44889.aspx</link><pubDate>Fri, 24 Jul 2009 02:48:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44889</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44889.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=44889</wfw:commentRss><description>&lt;p&gt;Just like you&amp;#39;re switching the view.&amp;nbsp; Before switching the view, make this rule:&lt;/p&gt;
&lt;p&gt;Set a field&amp;#39;s value &lt;u&gt;user&lt;/u&gt; to userName()&lt;/p&gt;
&lt;p&gt;Then, switch view based on &lt;u&gt;user&lt;/u&gt;.&lt;/p&gt;
&lt;p&gt;So simple you could kick yourself, yah? Hopefully, that&amp;#39;s all it is.&lt;/p&gt;</description></item><item><title>Re: Switch view based on user login</title><link>https://www.infopathdev.com:443/forums/thread/44888.aspx</link><pubDate>Fri, 24 Jul 2009 02:42:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44888</guid><dc:creator>gowtham</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44888.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=44888</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi &lt;strong&gt;warrtalon,&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Thanks for the quick reply. That might be the reason. I&amp;#39;m using the default value. Can you tell me how to store userName() using rule? &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Switch view based on user login</title><link>https://www.infopathdev.com:443/forums/thread/44887.aspx</link><pubDate>Fri, 24 Jul 2009 02:22:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44887</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44887.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=44887</wfw:commentRss><description>&lt;p&gt;Probably not.&amp;nbsp; Are you storing userName() in the hidden field using a default value or a rule?&amp;nbsp; If you use a default value, then that value sets once and never changes.&amp;nbsp; If you use a Form Open rule, then it sets the value for the current user each time it&amp;#39;s opened.&amp;nbsp; This is detailed in my blog above.&amp;nbsp; Perhaps this is your issue?&lt;/p&gt;</description></item><item><title>Re: Switch view based on user login</title><link>https://www.infopathdev.com:443/forums/thread/44884.aspx</link><pubDate>Fri, 24 Jul 2009 02:06:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44884</guid><dc:creator>gowtham</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44884.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=44884</wfw:commentRss><description>&lt;p&gt;Hi Warrtalon,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I don&amp;#39;t have any reason for that I know its just one way and I&amp;#39;m going in that way. Do you think that is causing problem? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Switch view based on user login</title><link>https://www.infopathdev.com:443/forums/thread/44877.aspx</link><pubDate>Thu, 23 Jul 2009 23:38:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44877</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44877.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=44877</wfw:commentRss><description>&lt;p&gt;Why using an XML source like that instead of a basic SharePoint contacts list?&lt;/p&gt;
&lt;p&gt;&lt;a title="User Roles in Browser-Enabled InfoPath Forms Using Contacts&amp;nbsp;List" href="http://claytoncobb.wordpress.com/2009/06/14/user-roles-in-browser-enabled-forms/"&gt;&lt;strong&gt;&lt;font color="#536d88"&gt;InfoPath – User Roles in Browser-Enabled&amp;nbsp;Forms Using Contacts&amp;nbsp;List&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt; &lt;/p&gt;</description></item><item><title>Re: Switch view based on user login</title><link>https://www.infopathdev.com:443/forums/thread/44873.aspx</link><pubDate>Thu, 23 Jul 2009 22:57:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44873</guid><dc:creator>gowtham</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44873.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=44873</wfw:commentRss><description>&lt;p&gt;Hi &lt;strong&gt;Patrick Halstead,&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;Thanks for the reply. I&amp;#39;m not using Active Directory users so I don&amp;#39;t have the DOMAIN problem and thats the reason why the switching is working fine when the NEW form is created in the document library. But the problem is that &lt;/p&gt;&lt;p&gt;its not working fine for a saved form ie., when user fills and saves the form to the document library and approver1 logs in the same old view that is saved by the user is being visible. Did you get what I&amp;#39;m saying?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Switch view based on user login</title><link>https://www.infopathdev.com:443/forums/thread/44871.aspx</link><pubDate>Thu, 23 Jul 2009 22:42:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44871</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44871.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=44871</wfw:commentRss><description>&lt;p&gt;Wait, doesn&amp;#39;t Active Directory require &amp;quot;DOMAIN\&amp;quot; to be prefixed for the user names? &lt;/p&gt;</description></item></channel></rss>