<?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: views and user roles</title><link>https://www.infopathdev.com:443/forums/thread/78656.aspx</link><pubDate>Wed, 16 May 2012 16:04:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78656</guid><dc:creator>Doreen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78656.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=78656</wfw:commentRss><description>&lt;p&gt;I know this is an old post.&amp;nbsp; But thank you jodyleblanc for posting your solution...it helped me troubleshoot the same type of issue.&amp;nbsp; Once I set one of the user roles as an initiator and default for form open behavior, things started working.&amp;nbsp; I still had to remove user role and add it back in, then reset some rules on form open behavior to toggle everything into action but eventually it worked.&lt;/p&gt;&lt;p&gt;&amp;nbsp;One of the problems I noted was that one of my user roles which I had originally set as the default user role (but not the initiator --and btw I had originally not set an iniator at all), was the user role being used to open the form, even after I changed the default to another user role.&amp;nbsp; Once I removed that user role entirely, the new default was forced to be used, and that&amp;#39;s when my views started changing properly based on user roles.&lt;/p&gt;&lt;p&gt;So complicated.&amp;nbsp; I&amp;#39;ve spend 2 days on this!&lt;/p&gt;</description></item><item><title>Re: views and user roles</title><link>https://www.infopathdev.com:443/forums/thread/11544.aspx</link><pubDate>Fri, 26 May 2006 12:53:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11544</guid><dc:creator>jodyleblanc</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11544.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=11544</wfw:commentRss><description>I figured it out. &lt;br /&gt;&lt;br /&gt;the user roles dont take place until the form is saved, so i created my default initiator role, and then when each person reopens the file they are seeing the correct view.</description></item><item><title>Re: views and user roles</title><link>https://www.infopathdev.com:443/forums/thread/11543.aspx</link><pubDate>Fri, 26 May 2006 03:53:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11543</guid><dc:creator>Shiraz Cupala</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11543.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=11543</wfw:commentRss><description>Try flipping the matching constraint to say not equal to.  Roles work in a odd way and this may work.  Also this thread may help:&lt;br /&lt;a target="_blank" href=http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=85&amp;SearchTerms=switch&gt;http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=85&amp;SearchTerms=switch&lt;/a&gt;,view,role</description></item><item><title>views and user roles</title><link>https://www.infopathdev.com:443/forums/thread/11478.aspx</link><pubDate>Thu, 25 May 2006 16:05:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11478</guid><dc:creator>jodyleblanc</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11478.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=11478</wfw:commentRss><description>ok, hate to bother you all again but here is my pickle now. &lt;br /&gt;&lt;br /&gt;i have set up a few user roles, barring the issue of multiple domains which to one i do not have access. &lt;br /&gt;&lt;br /&gt;I have 4 user roles, and i have 4 views that have been created. &lt;br /&gt;&lt;br /&gt;user roles = manager, analyst, sup, and admin &lt;br /&gt;views = manager, analyst, sup, and admin &lt;br /&gt;&lt;br /&gt;each view will limit some information the user can see until a different user updates the information with their input. &lt;br /&gt;&lt;br /&gt;the problem i am having is that the actions to switch views are not working. &lt;br /&gt;&lt;br /&gt;here is an example of the only action i have in place right now, since i am trying to test it. &lt;br /&gt;&lt;br /&gt;under form options &lt;br /&gt;open and save tab &lt;br /&gt;add rule &lt;br /&gt;set condition (users current role / is equal to / "admin") action(switch views / admin) &lt;br /&gt;&lt;br /&gt;the problem that i am having is that it wont automatically switch to the non default view of admin, it goes to the default view, which is not the admin view. &lt;br /&gt;&lt;br /&gt;can anyone suggest anything to make this work as intended? &lt;br /&gt;&lt;br /&gt;I saw the passwords article on the site and plan to use that for the time being, however if the view switches were seemless it would work better for my needs. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks</description></item></channel></rss>