<?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: Allows users to have access to the first  view only in infopath</title><link>https://www.infopathdev.com:443/forums/thread/103758.aspx</link><pubDate>Fri, 28 Aug 2015 03:43:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103758</guid><dc:creator>donstephen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103758.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=103758</wfw:commentRss><description>&lt;p&gt;More information here:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://claytoncobb.com/2009/06/21/userprofileservice-extended/"&gt;http://claytoncobb.com/2009/06/21/userprofileservice-extended/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Allows users to have access to the first  view only in infopath</title><link>https://www.infopathdev.com:443/forums/thread/103755.aspx</link><pubDate>Fri, 28 Aug 2015 01:59:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103755</guid><dc:creator>donstephen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103755.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=103755</wfw:commentRss><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Sorry for the late response. If you don&amp;#39;t have that data connection configured yet, kindly create one by using via SOAP web service:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Enter the URL for your Active Directory:&lt;br /&gt;&lt;a href="http://%3cyoursharepointsite%3e/_vti_bin/UserProfileService.asmx?WSDL"&gt;http://%3cyoursharepointsite%3e/_vti_bin/UserProfileService.asmx?WSDL&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Select the operation &lt;strong&gt;GetUserProfileByName&lt;/strong&gt;.&amp;nbsp;&lt;/li&gt;&lt;li&gt;Click next until you reach the last page of&amp;nbsp;the data connection wizard.&lt;/li&gt;&lt;li&gt;Uncheck the check box that automatically retrieves&amp;nbsp;data&amp;nbsp;when form is opened.&lt;/li&gt;&lt;li&gt;Click &lt;strong&gt;Finish&lt;/strong&gt; and close the data connection window.&lt;/li&gt;&lt;li&gt;Under the Data tab of InfoPath, click Form Load.&lt;/li&gt;&lt;li&gt;Add a rule called Get Department.&lt;/li&gt;&lt;li&gt;For the first action of that rule, add a logic to&amp;nbsp;populate the AccountName query field of the &lt;strong&gt;GetUserProfileByName &lt;/strong&gt;data connection using the function userName() - you might need to use a subsring function to remove unnecessary data.&lt;/li&gt;&lt;li&gt;Add an action that queries&amp;nbsp;&lt;strong&gt;GetUserProfileByName&lt;/strong&gt;.&lt;/li&gt;&lt;li&gt;Using this Active Directory, you may now extract the curent user&amp;#39;s data from the items returned.&lt;/li&gt;&lt;li&gt;To get the current Department, add a field called Department to your form. &lt;/li&gt;&lt;li&gt;Populate that field with the the &lt;strong&gt;Value&lt;/strong&gt; node from the data connection and filter this data by setting the&amp;nbsp;&lt;strong&gt;Name =&amp;nbsp;Department&lt;/strong&gt;.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;I have attached a sample form you may use for reference. Note that some conditions or scenarios might not be applicable for you due to the difference of our SharePoint environments, but the approach should work.&lt;br /&gt;&lt;br /&gt;Please download the form (right click &amp;gt; save target to a local folder &amp;gt; right click xsn &amp;gt; open in design mode), then check the set of rules&amp;nbsp;under&amp;nbsp;&lt;strong&gt;Form Load&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;Hope this helps.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Allows users to have access to the first  view only in infopath</title><link>https://www.infopathdev.com:443/forums/thread/103691.aspx</link><pubDate>Mon, 24 Aug 2015 09:08:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103691</guid><dc:creator>lovelove</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103691.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=103691</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;&lt;p&gt;I am&amp;nbsp;&amp;nbsp;using Active Directory&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Allows users to have access to the first  view only in infopath</title><link>https://www.infopathdev.com:443/forums/thread/103689.aspx</link><pubDate>Mon, 24 Aug 2015 06:40:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103689</guid><dc:creator>donstephen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103689.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=103689</wfw:commentRss><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;May I know how the groups are categorized? Are you using&amp;nbsp;the Active Directory (department?) or&amp;nbsp;do you have a SharePoint list that segregates&amp;nbsp;the users? I would suggest adding a switch view action on form load after determining which group the current user belongs to.&lt;br /&gt;&lt;br /&gt;Regards,&amp;nbsp;&lt;/p&gt;</description></item><item><title>Allows users to have access to the first  view only in infopath</title><link>https://www.infopathdev.com:443/forums/thread/103647.aspx</link><pubDate>Wed, 19 Aug 2015 12:11:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103647</guid><dc:creator>lovelove</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103647.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=103647</wfw:commentRss><description>i have a form with multiples views and i want a group of users to only have access to the first view on the form whiles others can access the remaining views.</description></item></channel></rss>