<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/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>Visibility roles of a site page</title><link>https://community.appian.com/discussions/f/general/14629/visibility-roles-of-a-site-page</link><description>Hello, I have a question with the visibility roles of a site page.
I have three sites (request, management, new) and in each. For example &amp;quot; =isusermemberofgroup(tostring(loggedInUser()), a!groupsByName(&amp;quot;managers&amp;quot;))&amp;quot; but I can not see or see a page if</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Visibility roles of a site page</title><link>https://community.appian.com/thread/65656?ContentTypeID=1</link><pubDate>Fri, 05 Apr 2019 09:59:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ac41bfae-cddd-4be3-98a2-efaac951520e</guid><dc:creator>Alastr</dc:creator><description>&lt;p&gt;aah, Sorry. I&lt;span lang="en"&gt;&amp;nbsp;had understood other things, and how could he do it?. is that I&amp;#39;m starting a saber uses appian&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Visibility roles of a site page</title><link>https://community.appian.com/thread/65637?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2019 12:17:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5a504b1f-3825-4d48-ac1c-6da8bcd61b7f</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;What function? &amp;nbsp;Are you talking about the example expression rule name I used in my last comment?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Visibility roles of a site page</title><link>https://community.appian.com/thread/65622?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2019 07:35:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f5748cd5-4efa-4bd1-96fd-956834edcd60</guid><dc:creator>Alastr</dc:creator><description>&lt;div class="oSioSc"&gt;
&lt;div id="tw-target"&gt;
&lt;div class="gsrt tw-ta-container tw-nfl" id="tw-target-text-container"&gt;
&lt;pre class="tw-data-text tw-ta tw-text-small" id="tw-target-text" dir="ltr"&gt;&lt;span lang="en"&gt;When I try to use that function within an expression rule, I do not
it recognizes it. Is it in a plug-in package or can I find it for
see how it is used?&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Visibility roles of a site page</title><link>https://community.appian.com/thread/65614?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 14:24:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4c739977-1df3-46b2-9a4a-3908d26527be</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;In addition to Stewart&amp;#39;s answer which I agree with all of it, I would also recommend that you set up a separate expression rule to handle the visibility for each different site page.&amp;nbsp; So something like &amp;quot;PREFIX_SitePageVisibility_Consultation()&amp;quot;, which accepts 1 parameter of username, and contains the necessary group-checking code within it.&amp;nbsp; This will allow you to test the result of the visibility expression easily across a variety of users (just put in different usernames in the test input), and makes future adjustments easier (since you don&amp;#39;t need to edit the site setup to make small changes).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Visibility roles of a site page</title><link>https://community.appian.com/thread/65609?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 14:13:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6b765248-acd7-4a4e-93fb-b8bcd281eed5</guid><dc:creator>Alastr</dc:creator><description>&lt;p&gt;Thanks so much for your answer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Visibility roles of a site page</title><link>https://community.appian.com/thread/65606?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 13:53:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:25968571-bdea-4f4c-a081-82234eab90f1</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;Hi Alejandro - you need to think in terms of &amp;quot;sets&amp;quot;. You will have one &amp;quot;set&amp;quot; (or Group) that represents Managers, another for Analysts; and then you need 3 other &amp;quot;sets&amp;quot; (Groups) that represent the roles of:&amp;nbsp;Consultation, Management and Registration.&lt;/p&gt;
&lt;p&gt;Your Consultation Group needs to contain: the Manager and Analyst groups&lt;/p&gt;
&lt;p&gt;Your Management Group needs to contain: the Analysts group&lt;/p&gt;
&lt;p&gt;Your Registration Group needs to contain: the Manager Group&lt;/p&gt;
&lt;p&gt;Your visibility rules will then refer to the relevant group from the second set.&lt;/p&gt;
&lt;p&gt;Note: it&amp;#39;s better to use constants to hold references to groups than use the&amp;nbsp;&lt;span&gt;a!groupsByName() because a Group&amp;#39;s name is not immutable&amp;nbsp;- someone might edit that Group and change its name. But a constant of type &amp;#39;Group&amp;#39; will act as a permanent pointer to the Group even if the Group&amp;#39;s name is changed. Where you need a list of the Groups, re-use the ones you&amp;#39;ve created as single constants and write an Expression Rule to return the list of those Groups&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Your code should look something&amp;nbsp;like&amp;nbsp;this:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Title Icon Content Visibility&lt;br /&gt;Consultation C_PM_consultationSol =isusermemberofgroup(tostring(loggedInUser()), rule!XXX_ER_GROUPS_CONSULTATION)&lt;br /&gt;Management C_PM_managementSol =isusermemberofgroup(tostring(loggedInUser()), cons!XXX_GROUP_ANALYST)&lt;br /&gt;Registration C_PM_registrationSol =isusermemberofgroup(tostring(loggedInUser()), cons!XXX_GROUP_MANAGER)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Hope this helps&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;S&amp;gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Visibility roles of a site page</title><link>https://community.appian.com/thread/65597?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 09:59:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:65b99812-e281-45ef-81da-7dbec98b7b69</guid><dc:creator>Alastr</dc:creator><description>&lt;p&gt;Title&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Icon&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Content Visibility&lt;br /&gt;Consultation&amp;nbsp; &amp;nbsp; &amp;nbsp;C_PM_consultationSol&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; =isusermemberofgroup(tostring(loggedInUser()), a!groupsByName(&amp;quot;managers&amp;quot;))&lt;br /&gt;Management&amp;nbsp; &amp;nbsp; C_PM_managementSol&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; =isusermemberofgroup(tostring(loggedInUser()), a!groupsByName(&amp;quot;analyst&amp;quot;))&lt;br /&gt;Registration&amp;nbsp; &amp;nbsp; &amp;nbsp; C_PM_registrationSol&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;=isusermemberofgroup(tostring(loggedInUser()), a!groupsByName(&amp;quot;managers&amp;quot;))&lt;/p&gt;
&lt;p&gt;I need these roles for these sites and I do not know how to do it:&lt;br /&gt;manager: registration and consultation&lt;br /&gt;analyst: management and consultation&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Visibility roles of a site page</title><link>https://community.appian.com/thread/65582?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2019 16:06:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1106ffa6-c62f-4468-ba7f-2a5cf3340771</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;I can&amp;#39;t tell what you&amp;#39;re asking.&amp;nbsp; What are you expecting or hoping to happen?&amp;nbsp; What are you experiencing instead?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Visibility roles of a site page</title><link>https://community.appian.com/thread/65579?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2019 15:28:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0709c19a-bf8e-47e3-8e3b-9d6507a3f7c2</guid><dc:creator>Krishna Chaitanya Mallavarapu</dc:creator><description>&lt;p&gt;Sorry Alastr i didn&amp;#39;t get you point&amp;nbsp;&lt;/p&gt;
&lt;p&gt;can you explain what is your exact requirement&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Visibility roles of a site page</title><link>https://community.appian.com/thread/65577?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2019 15:09:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7535f16c-9947-4fcb-afbd-3c865ec587a8</guid><dc:creator>Alastr</dc:creator><description>&lt;div class="oSioSc"&gt;
&lt;div id="tw-target"&gt;
&lt;div class="gsrt tw-ta-container tw-nfl" id="tw-target-text-container"&gt;
&lt;pre class="tw-data-text tw-ta tw-text-small" id="tw-target-text" dir="ltr"&gt;&lt;span lang="en"&gt;thank you for answering but I want that these visibility by role is within an application that&lt;br /&gt; I&amp;#39;m doing with those users. for which I understand that it should be within my site&amp;gt; pages&amp;gt; visibility, &lt;br /&gt;is not it? what happens is that the code is not made&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Visibility roles of a site page</title><link>https://community.appian.com/thread/65575?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2019 14:51:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a5bcf44e-3fa5-403a-9e4f-d6eb4336ce07</guid><dc:creator>Krishna Chaitanya Mallavarapu</dc:creator><description>&lt;p&gt;Hi Alastr&lt;/p&gt;
&lt;p&gt;Configure user start pages for users in admin console&amp;nbsp; ,for example request site for group A and group B, management site for group C&lt;/p&gt;
&lt;p&gt;so when ever user logged in , that user will get that particular site&amp;nbsp; which you have configured in&amp;nbsp;&lt;span&gt;user start pages.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;In site level you can configure pages visibility ,for suppose in your request site you have three pages(three tabs&amp;nbsp; tab1,tab2,tab3)&amp;nbsp; and this site is visible for group A and group B ,for group A only tab1 and tab2 for group B all tabs (based on your requirement )&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>