<?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: get-Role() how to remove?</title><link>https://www.infopathdev.com:443/forums/thread/120812.aspx</link><pubDate>Fri, 12 Apr 2019 13:00:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120812</guid><dc:creator>Laurie Wheeler</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120812.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=120812</wfw:commentRss><description>I just created a new post for this same situation.  

I even went so far as to remove the old rule, saved, published, then replaced the rule with a new one, saved and published. When I extracted the files and reviewed the same xsl file, the same old logic was still in the file... in my case this is abundant over 500 times.  

https://www.infopathdev.com/forums/p/39459/120811.aspx#120811</description></item><item><title>Re: get-Role() how to remove?</title><link>https://www.infopathdev.com:443/forums/thread/34749.aspx</link><pubDate>Sat, 22 Nov 2008 00:39:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34749</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34749.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=34749</wfw:commentRss><description>&lt;p&gt;Hi, and welcome:&lt;/p&gt;
&lt;p&gt;My guess is that this is conditional formatting. As such, it would be based on the control, not the field, so that is why the Logic Inspector doesn&amp;#39;t show anything. The ViewContext: CTRL122 is the control id, that shouldn&amp;#39;t have anything to do with this issue. &lt;/p&gt;
&lt;p&gt;If you look at the conditional formatting for the sections (or&amp;nbsp;repeating section or table)&amp;nbsp;bound to the groups, is there anything? &lt;/p&gt;</description></item><item><title>get-Role() how to remove?</title><link>https://www.infopathdev.com:443/forums/thread/34748.aspx</link><pubDate>Sat, 22 Nov 2008 00:27:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34748</guid><dc:creator>vzh65c</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34748.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=34748</wfw:commentRss><description>&lt;p&gt;Converting a IP2003 form to a IP2007&amp;nbsp;Form Services capable form.&amp;nbsp; No scripting... no managed code.&amp;nbsp; Just GUI configuration.&lt;/p&gt;
&lt;p&gt;I took care of all the conflicts except one.&amp;nbsp; I keep getting an &amp;quot;Unsuported Expression&amp;quot; error, related to&amp;nbsp; xdXDocument:get-Role().&amp;nbsp; I&amp;#39;ve gone through all the controls and verified that they didn&amp;#39;t have any rules applied to them.&amp;nbsp; This error only occurs if I have the &amp;quot;Verify on server&amp;quot; checked.&amp;nbsp; If I don&amp;#39;t, then there are no problems. (except when I attempt to upload the template into SP).&amp;nbsp; I show ALL of the messages in the Design Checker.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Using Logic Inspector... it all comes up blank.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The form has 3 views.&amp;nbsp; In each of the .xsl files, I have something like the following. (One of the views has 1 line of get-Role(), one has&amp;nbsp;2 lines of get-Role(), one has 3 lines&amp;nbsp; of get-Role())&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;xsl:attribute name=&amp;quot;style&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:if test=&amp;quot;xdXDocument:get-Role() = &amp;amp;quot;Employee&amp;amp;quot;&amp;quot;&amp;gt;msos-xCollection-FunctionalCompetency_97-editing:disabled;&amp;lt;/xsl:if&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsl:if test=&amp;quot;xdXDocument:get-Role() = &amp;amp;quot;Employee&amp;amp;quot;&amp;quot;&amp;gt;msos-xCollection-FunctionalCompetency_264-editing:disabled;&amp;lt;/xsl:if&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Now I know that I can go into the the XSL files strip this out (at the attribute level), resave the files, rebuild the CAB and rename it to an XSN and theoretically all should be good.&amp;nbsp; (I&amp;#39;ve verified that get-Role() doesn&amp;#39;t exist in any of the other source files).&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I seem to be missing something somewhere and I&amp;#39;m not sure where&amp;nbsp;else to check.&amp;nbsp; I looked at the Form Options to see if there was anything there... nada.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In a group section properties, on the Advanced Tab, under the Code section I notices that there is&amp;nbsp;the following:&amp;nbsp; &amp;quot;ViewContext: CTRL122&amp;quot;&amp;nbsp; not sure if this has anything to do with it.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve recreated the group (in all three views). Still get error.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve created three new views (copied and pasted the old views into them), deleted the old views.&amp;nbsp; Still get error.&lt;/p&gt;
&lt;p&gt;Not sure if it&amp;#39;s even related to this Group.&amp;nbsp; When I click on the error in design checker it doesn&amp;#39;t pull up anything.&lt;/p&gt;
&lt;p&gt;My question&amp;nbsp;is how can I get rid of the error short of&amp;nbsp;modifying the source files?&amp;nbsp; Fix the problem Instead&amp;nbsp;using just the GUI.&lt;/p&gt;
&lt;p&gt;Any thoughts or suggestions are appreciated.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Kevin&lt;/p&gt;</description></item></channel></rss>