<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Disabling functions based on SharePoint List Users and Groups (SP2013, IP2013)</title><link>https://www.infopathdev.com:443/forums/thread/115684.aspx</link><pubDate>Thu, 23 Feb 2017 19:00:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115684</guid><dc:creator>sdnmjn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115684.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=115684</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Whew!!! So you&amp;#39;re ideas about the SharePoint list was the way to go but the rules were a pain to figure out. So here&amp;#39;s what my solution was.&lt;/p&gt;&lt;p&gt;I created a SharePoint list with a service department field, Service Owner (People/Group), Liaison (People/Group)&lt;/p&gt;&lt;p&gt;created a data connection in InfoPath to the SP list. On form load I added a rule to query the SP list data connection and a rule to set the current user. &lt;/p&gt;&lt;p&gt;&amp;nbsp;I created a field (see pic below)&amp;nbsp;to read the SP list for each People/Group column, one for each and added the default value of contains(AccountId[contains(., userName())], &amp;quot;\&amp;quot;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; - this causes a read of the values of the People/Group column and compares it to the current user &amp;quot;username()&amp;quot;. If the current user is in the list it returns a value of &amp;quot;true&amp;quot;, if not then &amp;quot;false&amp;quot;&lt;/p&gt;&lt;p&gt;&lt;a href="http://imgur.com/prMfbqS"&gt;http://imgur.com/prMfbqS&lt;/a&gt;&lt;/p&gt;&lt;p&gt;For the&amp;nbsp;control that I wanted to&amp;nbsp;lock down or disable i implemented the following rule: if&amp;nbsp;the value of the field &amp;quot;liaison&amp;quot; was not equal to and did not contain the value &amp;quot;true&amp;quot; - disable the control.&lt;/p&gt;&lt;p&gt;&lt;a href="http://imgur.com/kpwLCiL"&gt;http://imgur.com/kpwLCiL&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Sounds simple right?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Disabling functions based on SharePoint List Users and Groups (SP2013, IP2013)</title><link>https://www.infopathdev.com:443/forums/thread/115679.aspx</link><pubDate>Thu, 23 Feb 2017 15:41:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115679</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115679.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=115679</wfw:commentRss><description>Wonderful - have your users test &amp;amp; holler if you run into trouble. :)</description></item><item><title>Re: Disabling functions based on SharePoint List Users and Groups (SP2013, IP2013)</title><link>https://www.infopathdev.com:443/forums/thread/115677.aspx</link><pubDate>Thu, 23 Feb 2017 01:14:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115677</guid><dc:creator>sdnmjn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115677.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=115677</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;So far it seems to be working. I won&amp;#39;t fully know until tomorrow until I have users other than me try it. &lt;/p&gt;</description></item><item><title>Re: Disabling functions based on SharePoint List Users and Groups (SP2013, IP2013)</title><link>https://www.infopathdev.com:443/forums/thread/115672.aspx</link><pubDate>Wed, 22 Feb 2017 17:23:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115672</guid><dc:creator>sdnmjn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115672.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=115672</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;It does. Thank you. I&amp;#39;ll give it a shot and let you know how it works out.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Disabling functions based on SharePoint List Users and Groups (SP2013, IP2013)</title><link>https://www.infopathdev.com:443/forums/thread/115671.aspx</link><pubDate>Wed, 22 Feb 2017 17:15:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115671</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115671.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=115671</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Okay - so instead of using SharePoint groups for this, you&amp;#39;ll have to add a SharePoint list to track who should have what permissions, unfortunately - and manually keep it updated. I&amp;#39;d probably have one column for the user &amp;amp; have that be a person / group type, so that you can make sure the user info in accurate - the AccountID field in your list data connection should then have the user&amp;#39;s account ID, that you can compare to the user name&amp;nbsp; function - you should probably drag that onto your form and check it in the browser so you can see the returned value of both that as well as a calculated value with the user name function - browser may return something different than filler / preview, so it will be better if you know in advance what the data looks like. For the other column, I&amp;#39;d call it something like &amp;quot;group&amp;quot; and make it a choice. Then in your form, you can find the row in the list that matches the user&amp;#39;s user name and find their group. Hope that makes sense. :)&lt;/p&gt;</description></item><item><title>Re: Disabling functions based on SharePoint List Users and Groups (SP2013, IP2013)</title><link>https://www.infopathdev.com:443/forums/thread/115669.aspx</link><pubDate>Wed, 22 Feb 2017 16:56:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115669</guid><dc:creator>sdnmjn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115669.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=115669</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Yes, I need to find out if the user was a member of the group. &lt;/p&gt;&lt;p&gt;We cannot use SOAP or REST because cross site scripting is disabled in our environment. So when I try to use the user profile service I get an error when the form loads. I can use the username() function though.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Disabling functions based on SharePoint List Users and Groups (SP2013, IP2013)</title><link>https://www.infopathdev.com:443/forums/thread/115665.aspx</link><pubDate>Wed, 22 Feb 2017 15:30:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115665</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115665.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=115665</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;So - you&amp;#39;d need to find out if the user was a member of the group? What do you mean by &amp;quot;The SOAP service is not fully implemented on our site&amp;quot;? Are you saying you can&amp;#39;t use the User Profile service to determine group membership?&lt;/p&gt;</description></item><item><title>Disabling functions based on SharePoint List Users and Groups (SP2013, IP2013)</title><link>https://www.infopathdev.com:443/forums/thread/115656.aspx</link><pubDate>Tue, 21 Feb 2017 15:29:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:115656</guid><dc:creator>sdnmjn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/115656.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=115656</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve researched this and all I could find were examples for 2007 and 2010 which doesn&amp;#39;t seem to work with 2013.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have an InfoPath 2013 form with two views, default view and read only. Within the form there are sections where a user can enter data.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; - There are three user groups (Submitter, Owner, Liaison)  that will enter data and &amp;quot;everyone&amp;quot; can view but not enter data. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; - These all currently exist as SP2013 site groups.&lt;/p&gt;&lt;p&gt;(a) I was told on other sites that I would have to create a SP list and recreate the groups and users in the list. &lt;/p&gt;&lt;p&gt;(b) Another site said I would only have to recreate the groups and permissions in the SP list.&amp;nbsp;&lt;/p&gt;&lt;p&gt;The SOAP service is not fully implemented in our site.&amp;nbsp;&lt;/p&gt;&lt;p&gt;So is either a or b correct? &lt;/p&gt;&lt;p&gt;How would the rule look in IP2013 to disable the control based on the SP list?&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks. &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>