<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.method.me/cs/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>Method:Classic General Q&amp;amp;A</title><link>http://forums.method.me/cs/forums/13.aspx</link><description>Ask technical support questions, how do I? Questions... Or anything else you want to know from the Method Team and other Method users.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 SP2 (Build: 31113.47)</generator><item><title>Re: Hiding a grid row based on user role</title><link>http://forums.method.me/cs/forums/thread/21449.aspx</link><pubDate>Tue, 01 Apr 2014 13:05:55 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:21449</guid><dc:creator>Method_Adam</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/21449.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=21449</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Hi,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;Unfortunately, you can&amp;#39;t hide grid objects&lt;span id="mce_9_start" style="overflow:hidden;"&gt; with the Show/Hide Field/Object&lt;/span&gt;. The best way to do this would be to create two sections, each with a grid. Obviously, one would have the grid with the description field and the other without. Then you can use the &lt;span id="mce_4_start" style="overflow:hidden;"&gt;S&lt;/span&gt;how/hide section&amp;nbsp;action&lt;span id="mce_2_start" style="overflow:hidden;"&gt; to hide the section and grid.&lt;span id="mce_10_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;- Adam&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Hiding a grid row based on user role</title><link>http://forums.method.me/cs/forums/thread/21448.aspx</link><pubDate>Tue, 01 Apr 2014 01:12:30 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:21448</guid><dc:creator>rezibtutsanai</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/21448.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=21448</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;OK.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;I gave up on the idea of using roles and decided to use the groupings of the user. In this way I can check to see if a user is in a certain group and use that to exclude an object.&lt;/p&gt;
&lt;p&gt;Where is the Object ID for the grid! I see many selections in the Field/Object drop down, but nothing that explicitly identifies the grid I want to hide. I tested this with another object and was able to get it to disappear, so I figure if I can hide the grid, I can create a copy without the description field and I&amp;#39;ll be all set if I can access the grid that I have created.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;</description></item><item><title>Re: Hiding a grid row based on user role</title><link>http://forums.method.me/cs/forums/thread/21442.aspx</link><pubDate>Mon, 31 Mar 2014 20:32:56 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:21442</guid><dc:creator>Method_Adam</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/21442.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=21442</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Hi rezibtutsanai,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;span id="mce_2_start" style="overflow:hidden;"&gt;&lt;span id="mce_3_start" style="overflow:hidden;"&gt;You&amp;#39;ll run into an issue with the way you have this setup. That being that you will not be able to find the role of the user. Unfortunately, Method does not actually store the user&amp;#39;s role in a table. If you were to export the Users table, you will see that the Roles field actually contains tabgroups.&lt;span id="mce_4_start" style="overflow:hidden;"&gt; Previously, Roles were determined by tabgroups, which is why the Roles field show tabgroups.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Depending on how many users need or don&amp;#39;t need this field, there are a few ways to approach this. My best suggestion would be to&amp;nbsp;&lt;span id="mce_5_start" style="overflow:hidden;"&gt;create two sections with the grid in both sections. One with the field and one without&lt;span id="mce_6_start" style="overflow:hidden;"&gt;. Then you can put condiitional statements in to the OnScreenLoad to show/hide the appropriate section&lt;span id="mce_8_start" style="overflow:hidden;"&gt; based on the user.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;Hope this helps,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;- Adam&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Hiding a grid row based on user role</title><link>http://forums.method.me/cs/forums/thread/21414.aspx</link><pubDate>Mon, 31 Mar 2014 01:12:05 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:21414</guid><dc:creator>rezibtutsanai</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/21414.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=21414</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Hello all.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I am making a modification to the OpportunitiesList screen. I need to make sure that the Description field in the grid is hidden for roles that do not have the priviledge to see this information. My approach is to ad a Show/Hide Field/Object action on the OnScreenLoad event that will look at the role of the current user and hide the field if the user does not have a certain role.&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;My problem is that I don&amp;#39;t know which event to use in order to ensure that the action sequence I need to create will be run anytime the grid refreshes.&lt;span id="mce_2_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;Here is the sequence I want to apply.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span id="mce_3_start" style="overflow:hidden;"&gt;&lt;span id="mce_5_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;span id="mce_4_start" style="overflow:hidden;"&gt;Assign Value to Action Result -- Get the user Record ID&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;Retreive Value From Table -- Look up the roles of the user&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;Start Conditional Statement -- If the user does not have the ... role&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&amp;nbsp; &amp;nbsp; Show/Hide Field/Object -- Hide the Description field&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&amp;nbsp; &amp;nbsp; Stop Processing More Actions -- Return&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;End Conditional Statement -- End If&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;Show/Hide Field/Object -- Else show the description field&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_5_end" style="overflow:hidden;"&gt;Please help if you can...&lt;/span&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>