Clarity: The the 'Primary Role' field in the Department Resources portlet filter section is empty when browsing for a value

book

Article ID: 50373

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

Description:

The the 'Primary Role' field in the Department Resources portlet filter section is empty when browsing for a value

Portlet Name = Department Resource
action=revmgr.flatResAggregations
sourcePortletInstanceId=revmgr.OBSResAgg
System Provider = Resources with Aggregation

Steps to Reproduce:

  1. Login to Clarity as an administrator

  2. Main Application > Departments > select 'myDepartment001'

    <Please see attached file for image>

    Figure 1

  3. Click 'Resources' Tab

    <Please see attached file for image>

    Figure 2

  4. In the 'Department Resource Aggregation' portlet, click 'Resources' icon

  5. In the 'Department Resource' portlet, click the 'browse' icon next to 'Primary Role' field in the Filter Section

    <Please see attached file for image>

    Figure 3

    <Please see attached file for image>

    Figure 4

Expected Result: To see a list of Primary Roles
Actual Result: Browse window is empty.

URL for Browse Window:
http://localhost/niku/app?action=odf.browsePage&partitionCode=NIKU.ROOT&viewType=filter&browseCardinality=1

Solution:

Two 'Primary Role' attributes are appearing in the portlet. The end-user can change the configuration in the layout (Workaround #1) or build a power filter using the 2nd 'Primary Role' field (Workaround #2)

Workaround #1:

The end-user can change the layout of the portlet in the Main Application. This change will only apply to this end-user. There is no ability in the Admin Tool to resolve this configuration as these portlets are restricted and are not available for such configurations.

The steps below describe how each end-user can modify the layout to resolve this problem:

  1. From the Department Resources Portlet [--Actions--] > Configure > General Properties page > Click 'Restore Defaults' button

    <Please see attached file for image>

    Figure 5

  2. Alert: Do you want to restore your filter and list back to the default view?

    Click 'Yes' button

  3. Navigate to List Filter Section > Layout

    Move the 2nd 'Primary Role' attribute from the 'Available' list to the bottom of the 'Selected Left Column' list

    Click 'Save and Exit' button

    <Please see attached file for image>

    Figure 6

  4. Note, the 1st 'Primary Role' attribute disappeared from the Filter Section Layout and now the 2nd 'Primary Role' field appears along with another field named 'Filter Mode'

    This is because the 'Primary Role' is a hierarchical lookup and needs to have a filter mode for including descendents in the results.

    <Please see attached file for image>

    Figure 7

  5. Click 'browse' icon next to the new 'Primary Role' field in the Filter Section - the browse window now has a listing of Roles as expected.

    Select a Role > Click 'Add' button

    <Please see attached file for image>

    Figure 8

  6. Change Filter Mode choice as desired and then click 'Filter' button to return results

    <Please see attached file for image>

    Figure 9

Workaround #2:

If the end-user does not want to reconfigure the page, the end-user can build power filters to return results based on the 'Primary Role' in the Main Application. This resolution only applies to this end-user.

  1. From the Department Resources Portlet Filter Section, click [Build Power Filter] hyperlink

  2. From the 'Left' part of the expression, select the 2nd 'Primary Role' attribute listed in the pull-down list

    <Please see attached file for image>

    Figure 10

  3. From the 'Right' part of the expression, click the 'browse' icon

    (the list of 'Primary Roles' will be presented to the end-user as expected)

    <Please see attached file for image>

    Figure 11

  4. Select the appropriate 'Primary Role' > click 'Add' button

    <Please see attached file for image>

    Figure 12

  5. Click 'Add' button to create the Expression

    <Please see attached file for image>

    Figure 13

  6. Click 'Submit' button

  7. The results are returned as expected

    <Please see attached file for image>

    Figure 14

Status/Resolution:

This issue has been documented as CLRT-61369 and is assigned to development for review. If you are experiencing this problem and the workaround above does not significantly help, please contact CA Support.

Keywords: CLARITYKB, CLRT-61369, clarity12open, revmgr.

Environment

Release: ESPCLA99000-12.1-Clarity-Extended Support Plus
Component:

Attachments

1558698803801000050373_sktwi1f5rjvs16of9.gif get_app
1558698802119000050373_sktwi1f5rjvs16of8.gif get_app
1558698800225000050373_sktwi1f5rjvs16of7.gif get_app
1558698798559000050373_sktwi1f5rjvs16of6.gif get_app
1558698796755000050373_sktwi1f5rjvs16of5.gif get_app
1558698794822000050373_sktwi1f5rjvs16of4.gif get_app
1558698792986000050373_sktwi1f5rjvs16of3.gif get_app
1558698791303000050373_sktwi1f5rjvs16of2.gif get_app
1558698759315000050373_sktwi1f5rjvs16of1.gif get_app
1558698757466000050373_sktwi1f5rjvs16of0.gif get_app
1558698755518000050373_sktwi1f5rjvs16oez.gif get_app
1558698753650000050373_sktwi1f5rjvs16oey.gif get_app
1558698751626000050373_sktwi1f5rjvs16oex.gif get_app
1558698749515000050373_sktwi1f5rjvs16oew.gif get_app