<?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: How to change view style depending a field</title><link>https://www.infopathdev.com:443/forums/thread/86389.aspx</link><pubDate>Fri, 25 Jan 2013 02:00:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86389</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86389.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=86389</wfw:commentRss><description>Well - you can use form load rules to change views. Or you could put everything in a section and conditionally format the section... But I think getting the user&amp;#39;s domain is going to be the tough part. I think UserProfileService&amp;nbsp;can help you there - Search for InfoPath and UserProfileService&amp;nbsp;and you should be able to find some blog posts that will help you.</description></item><item><title>How to change view style depending a field</title><link>https://www.infopathdev.com:443/forums/thread/86385.aspx</link><pubDate>Thu, 24 Jan 2013 23:12:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86385</guid><dc:creator>odwalk</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86385.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=86385</wfw:commentRss><description>Hello, I&amp;#39;m obviously new here so, please, be nice!
I need to know if there is any possibility to change the view&amp;#39;s style depending a variable at runtime. I use InfoPath 2010, and I access the view through a webpart, which depending the user&amp;#39;s domain, should point to a different view, i mean, the same logic, but different style (like instead blue background, it should be green). I hope you can understand my problem and have the right answer.

Thanks!</description></item></channel></rss>