<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: InfoPath open behavior view rules not working in SharePoint InfoPath Form Services</title><link>https://www.infopathdev.com:443/forums/thread/93069.aspx</link><pubDate>Mon, 16 Sep 2013 15:07:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93069</guid><dc:creator>David Alvarado</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93069.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=93069</wfw:commentRss><description>Thanks Patrick,
&lt;br /&gt;&lt;br /&gt;
I did have open behavior rules setup and thought that the UserName field would be case sensitive so I added the following default value formula to the UserName field:
&lt;br /&gt;&lt;br /&gt;
translate(userName(), &amp;quot;abcdefghijklmnopqrstuvwxyz&amp;quot;, &amp;quot;ABCDEFGHIJKLMNOPQRSTUVWXYZ&amp;quot;)
&lt;br /&gt;&lt;br /&gt;
The usernames in the SharePoint lists have been entered in all caps.
&lt;br /&gt;&lt;br /&gt;
The current user field on the form shows up in all caps as well.
&lt;br /&gt;&lt;br /&gt;
The data connections are also setup to query on load.
&lt;br /&gt;&lt;br /&gt;
Not really sure what else needs to be setup for this to work in SharePoint InfoPath Form Services like it does in InfoPath Designer.
&lt;br /&gt;&lt;br /&gt;
Thank you for confirming that I am checking in the right places.</description></item><item><title>Re: InfoPath open behavior view rules not working in SharePoint InfoPath Form Services</title><link>https://www.infopathdev.com:443/forums/thread/93053.aspx</link><pubDate>Sun, 15 Sep 2013 22:06:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93053</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93053.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=93053</wfw:commentRss><description>&lt;p&gt;What you did should work fine. &lt;/p&gt;
&lt;p&gt;Do you have a condition on your Open rule? &lt;/p&gt;
&lt;p&gt;Did you check the name of the current user and make sure there isn&amp;#39;t case sensitive mismatch or something?&lt;/p&gt;
&lt;p&gt;Are your data connections set to query on load?&lt;/p&gt;</description></item><item><title>Re: InfoPath open behavior view rules not working in SharePoint InfoPath Form Services</title><link>https://www.infopathdev.com:443/forums/thread/93029.aspx</link><pubDate>Fri, 13 Sep 2013 22:34:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93029</guid><dc:creator>David Alvarado</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93029.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=93029</wfw:commentRss><description>Well, in an effort to get something in production I had to resort to the high maintenance option of building permissions into my form for specific users; abandoning the user SharePoint lists.  For those who care to know, I created a new text field called &amp;quot;Role&amp;quot; and added rules to the UserName field for each user with higher authorizations which would set a value for the Role field depending on which user opens the form.
&lt;br /&gt;&lt;br /&gt;
First of all, I had to abandon separate views and resort to using a single view broken up with sections to separate the content that should be limited to specific users.
&lt;br /&gt;&lt;br /&gt;
The rule I added to my UserName field works under the condition: UserName is equal to &amp;quot;ALVARADOD&amp;quot;. The rule itself sets the value for the field Role with the value ITteam or Set a field&amp;#39;s value: Role = &amp;quot;ITteam&amp;quot;.  A separate rule is added for each specific user who will need access to restricted sections.
&lt;br /&gt;&lt;br /&gt;
I then added a conditional formatting condition on the section restricted to IT staff that checks if the condition if Role is not equal to &amp;quot;ITteam&amp;quot;  is true and if so to Hide the control.
&lt;br /&gt;&lt;br /&gt;
This means that each time a person with advanced privileges leaves or comes on board, the template will have to be edited, published, added to Central Admin, activated to a Site Collection, and applied as a content type.
&lt;br /&gt;&lt;br /&gt;
Not the ideal route, so I am hopeful that someone will be able to chime in on my question with regards to the open behavior view rules and InfoPath Form Services.
&lt;br /&gt;&lt;br /&gt;
--&lt;br /&gt;
David Alvarado&lt;br /&gt;
Adams County Colorado</description></item><item><title>InfoPath open behavior view rules not working in SharePoint InfoPath Form Services</title><link>https://www.infopathdev.com:443/forums/thread/92957.aspx</link><pubDate>Wed, 11 Sep 2013 19:43:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92957</guid><dc:creator>David Alvarado</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92957.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=92957</wfw:commentRss><description>Hello Everyone,
&lt;br /&gt;&lt;br /&gt;
I have created an InfoPath form for the browser and am using it as a content type for a SharePoint Document Library.  I added some rules that direct a user to a specific view based on their username as it compares to three different SharePoint lists.  The three SharePoint Lists are Requester, Approver, and ITteam.  Each list contains specific usernames and are added as secondary connections to the form template.  Each secondary connection is set to refresh every time the form is opened.  A copy of the lists is not stored in the form.
&lt;br /&gt;&lt;br /&gt;
I added some open behavior rules which would change the default view of the form based on the current user&amp;#39;s username compared against the SharePoint lists.  These rules wok perfectly when opening the template in InfoPath however the rules do not work in the browser.  Regardless of user, the browser form opens in the default view.
&lt;br /&gt;&lt;br /&gt;
I am curious to know if the open behavior rules do not work in InfoPath Form Services or if there is something I can do to make my open behavior rules work in the browser.
&lt;br /&gt;&lt;br /&gt;
I am using InfoPath 2007 with SharePoint 2007.
&lt;br /&gt;&lt;br /&gt;
Thank you.
&lt;br /&gt;&lt;br /&gt;
--&lt;br /&gt;
David Alvarado&lt;br /&gt;
Adams County Colorado</description></item></channel></rss>