Defining Portal Display Rules

Use

You use the Portal Display Rules editor to create and edit rule collection objects. Rule collections allow you to define how portal desktops are assigned to portal users at runtime.

A rule collection comprises a set of conditions, constructed by IF and THEN expressions. Conditions in a rule collection are prioritized according to their order of appearance in the rule collection. If a user fits more than one condition, then the first condition that is true for that user determines which portal desktop is displayed.

  • An IF-THEN condition may contain unlimited nested IF expressions.
  • An IF-THEN condition may contain only a single THEN expression.
  • A rule collection object may contain conditions that reference other rule collection objects. For example:

IF Browser Type = Microsoft Internet Explorer

THEN Rule collection = pcd:Display_Rules/MSIE_Rules

Prerequisites

  • You have access to the Portal Display Rules editor (it is assigned by default to the system administration role).
  • You have at least read/write permissions for the Portal Catalog folder in which you are creating or editing a rule collection object.
  • You have at least read administrator permissions on the relevant portal desktop and rule collection objects in the Portal Catalog.

Procedure

Creating a Rule Collection

  1. In the portal, navigate to System Administration  System Configuration  Portal Display  Desktops & Display Rules.
  2. In the Portal Catalog, in the context menu of the folder in which you want to create a rule collection object, choose New  Rule Collection. The Portal Display Rules editor appears.
  3. In the Rule Collection Name field, enter a name for the rule collection object.
  4. In the Rule Collection ID field, enter a unique ID for the rule collection object.
  5. Define the conditions of the display rules using a combination of IF and THEN expressions:

Action

Description

Adding a new IF-THEN condition

  1. In the rule collection list, select any existing IF or THEN expression.
  2. Choose Add IF Expression .

A new IF-THEN condition is added to the end of the rule collection list (use the Move Up and Move Down buttons to correctly position the new condition).

By default, the new expression is defined as:IF User = * THEN Portal Desktop = pcd:portal_content/every_user/general/defaultDesktop . Change the default values for each expression, as needed.

  1. Repeat the following steps to define each of the IF and THEN expressions separately:
  2. In the rule collection list, choose the relevant IF or THEN expression. The currently assigned parameters of the expression are displayed in the editing area above the rule collection list.
  3. In the editing area, define the parameter, operator, and value of the expression in the appropriate dropdown menus and fields.

Note the following:

  • When choosing an operator, select ' = ' for 'equals' and NE for 'not equals'.
  • Roles, groups, users, portal desktops, and rule collections require you to enter their full path and object ID. Precede the path with pcd: (without the slash) and follow with the full PCD path name and object ID. For example: pcd:portal_content/every_user/general/eu_role
  • You can use a wildcard value in the form of an asterisk (*) where necessary.
  • When entering a portal URL alias, enter only the alias segment of the URL. For example: / portal/light or / portal/guest .
  1. When you have completed the expression, choose Apply in the editing area. The updated expression is added to the rule collection list.
  2. Assign the new condition to the appropriate position in the rule collection list using the Move Up and Move Downbuttons.

Adding a nested IF expression

  1. Select a THEN expression in an existing condition. Note that the nested IF expression is added directly above the selected THEN expression and below the last IF expression in the current IF-THEN condition.

The parameters of the THEN expression are displayed in the editing area above the rule collection list.

  1. In the editing area, choose IF as the expression type in the first dropdown menu.

A new IF expression is added to the rule collection list.

  1. In the editing area, define the parameter, operator, and value of the IF expression in the appropriate menus and text boxes, as described above.
  2. When you have completed the expression, choose Apply in the editing area. The updated IF expression is added to the selected IF-THEN condition.

Changing priority of IF-THEN conditions

In the rule collection list, select the root IF expression in the IF-THEN condition that you want to move, and then choose either Move Up or Move Down .

This action moves the entire IF-THEN condition of the selected IF expression, including any nested IF expressions.

Deleting an IF-THEN condition

In the rule collection list, select the root IF expression in the IF-THEN condition that you want to delete, and then chooseDelete .

This action deletes the entire IF-THEN condition.

  1. Save your changes.

The rule collection object is created in the selected folder. You can access it later from the Portal Catalog for further editing.

Editing a Rule Collection

  1. In the portal, navigate to System Administration  System Configuration  Portal Display  Desktops & Display Rules.
  2. In the Portal Catalog, in the context menu of the rule collection object that you want to edit choose Open  Rule Collection.

The Portal Display Rules editor opens and displays the conditions of the selected rule collection object.

  1. Add, remove, or modify conditions as described in the table above.
  2. Save your changes.

定义Portal显示规则的更多相关文章

  1. 聊天IM的时间戳显示规则

    ====================================================== 以下规则是在体验微信操作后,推测出来的规则,可能存在一些不准确的表述 ========== ...

  2. Wireshark技巧-过滤规则和显示规则

    Wireshark是一个强大的网络协议分析软件,最重要的它是免费软件. 过滤规则 只抓取符合条件的包,在Wireshark通过winpacp抓包时可以过滤掉不符合条件的包,提高我们的分析效率. 如果要 ...

  3. Wireshark技巧-过滤规则和显示规则【转】

    转自:https://www.cnblogs.com/icez/p/3973873.html Wireshark是一个强大的网络协议分析软件,最重要的它是免费软件. 过滤规则 只抓取符合条件的包,在W ...

  4. 【转】Wireshark技巧-过滤规则和显示规则

    原文: http://www.cnblogs.com/icez/p/3973873.html ----------------------------------------------------- ...

  5. (1)定义闭合图形抽象类ClosedFigure定义属性:1.形状;2.定义构造方法,给形状赋值;3.定义两个抽象方法:计算面积和计算周长;4.定义一个显示方法:显示图像形状,周长,面积;

    题目显示不全,完整题目描述: (1)定义闭合图形抽象类ClosedFigure定义属性:1.形状:2.定义构造方法,给形状赋值:3.定义两个抽象方法:计算面积和计算周长:4.定义一个显示方法:显示图像 ...

  6. 干货:Wireshark使用技巧-显示规则

    - 显示规则使用 在Wireshark界面对已经抓取的报文在界面的显示进行控制的规则,称为显示规则,显示规则只是让一部分不符合规则的报文不被显示,但未被丢弃,这些报文仍然存在在Wireshark的系统 ...

  7. PCL入门—点云操作 定义变量 显示点云 存储

    // 定义相关变量 pcl::PointCloud<pcl::PointXYZ>::Ptr cloud_ptr (new pcl::PointCloud<pcl::PointXYZ& ...

  8. android 网络运营商的名字显示规则(锁定屏幕,下拉列表)

    一:Background & 有关flow MTK Operator name display分为两种类型的手机: 1. Sim卡名称: 从基于引导SIM卡读取IMSI到Spn-conf.xm ...

  9. MVC写在Model文件夹下,登录注册等页面定义的变量规则,不会被更新实体模型删除

    一下图为我的model文件夹

随机推荐

  1. [C和指针] 1-快速上手、2-基本概念、3-数据

    第1章 快速上手 1.1.1 空白和注释   程序的空白的作用: 空行将程序的不同部分分割开来:制表符缩进语句,可以更好地显示程序的结构等等.     软件最大的开销并非在于编写,而是在于维护,所以需 ...

  2. Hadoop Hive概念学习系列之hive的索引及案例(八)

    hive里的索引是什么? 索引是标准的数据库技术,hive 0.7版本之后支持索引.Hive提供有限的索引功能,这不像传统的关系型数据库那样有“键(key)”的概念,用户可以在某些列上创建索引来加速某 ...

  3. java 装饰者类

    装饰者模式:增强一个类的功能还可以让装饰者类之间互相装饰. 装饰者模式和继承的区别: 继承实现的增强类: 优点:代码结构清晰,而且实现简单 缺点:对于每一个的需要增强的类都要创建具体的子类来帮助其增强 ...

  4. Spring Boot (29) 定时任务

    使用场景:数据定时增量同步,定时发送邮件,爬虫定时抓取 定时任务概述 定时任务:顾名思义就是在特定/指 定的时间进行工作,比如我们的手机闹钟,他就是一种定时的任务. 实现方式: 1.Timer:JDK ...

  5. 使用Micrisoft.net设计方案 第三章Web表示模式 Web模式集群详细介绍 Observer(观察器)

    在面向对象的编程中,对象同时包含数据和行为,这两者一起表示业务域的特定方面.使用对象生成应用程序的优点之一是可以将所有数据操作封装在对象内.这样, 就使对象成为独立的单位,并增加了在其他应用程序中重用 ...

  6. 下载github项目

    两种方法:通过https或者ssh地址 找一个放置项目的文件夹,右键git bash here 输入 $ git clone https://项目地址 通过https 项目地址可以直接复制网页地址,或 ...

  7. oracle 用sql语句管理数据库

    基础sql语句 创建数据库 :create database database_name; 创建表:create table(字段名 字段类型 字段为空约束 ,字段名 字段类型 字段为空约束,,,, ...

  8. 329.-io流(字符-练习-复制文本文件二)

    //每次读取的字节长度,一般都是1024的倍数 private static final int BUF_SIZE = 1024; public static void main(String[] a ...

  9. UI绘图与信息、样式

    UI的绘图功能是在视图尺寸确定以后,将信息和样式绘制的过程: 给信息和样式的修改提供的最后的机会. UILabel 控制行段间距的终极代码. class LineSpaceLabel: UILabel ...

  10. Java中XML数据

    Java中XML数据 XML解析——Java中XML的四种解析方式 XML是一种通用的数据交换格式,它的平台无关性.语言无关性.系统无关性.给数据集成与交互带来了极大的方便.XML在不同的语言环境中解 ...