Clarity: ContentPack XOG export of report definition default values are limited to a single value on multi value parameters

book

Article ID: 50486

calendar_today

Updated On:

Products

CLARITY PPM FOR ITG CLARITY PPM FEDERAL CA Identity Manager CA Identity Governance CA Identity Portal Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

Description:

The XML Open Gateway Developer's Guide states the following for ContentPack export rules:

"Jobs and reports definitions
During import, the imported attributes of the definition match the user interface exactly."

Report parameters are the only job type permitted to have multiple values for browse/pulldown lookups. When setting multiple default values for a parameter of this kind, the XOG export contains only the first default value in the XML attribute.

E.g:

 <parameter code="x" dataType="string"   
   defaultValue="5000002" lookupCardinality="2"   
   lookupCode="LOOKUP_CHARGE_CODES_PRJ" order="1"   
   readOnly="false" required="false" widgetType="browse">     


Steps to Reproduce:

  1. Ensure there are multiple active charge codes in the system

  2. Navigate to Admin Tool > Jobs and Reports

  3. Create a new job of Type: Report

  4. Create a new parameter, Type: Browse, Lookup Style: Multiple-select, Browse: Active Charge Codes

  5. After Saving, click the Browse icon and select more than one item as a default

  6. Click Save again

  7. XOG the report definition out using cmn_sch_job_definitions_read.xml

  8. XOG the report definition back into Clarity again.

Expected Result: The report definition would be unchanged, and the XOG file would contain multiple default values for the report's parameter.
Actual Result: The report definition only has the first default value selected, the XOG file contains only the one default value instead of multiple.

Solution:

WORKAROUND:

  1. After successful XOG write action, login to Clarity as an Administrator User

  2. Admin Tool > Reports and Jobs > locate and click on the Report Name link

  3. Report > Parameters > click on the multiple-select parameter and in the parameter properties page, select more default values

This behavior only affects Report Definitions; Job Definitions with multiple-select parameters are not affected.

STATUS/RESOLUTION:

This issue has been documented as CLRT-61651. If you are experiencing this problem and the workaround above does not significantly help, please contact CA Technical Support.

Keywords: CLARITYKB, CLRT-61651, clarity12open, njs.jobDefParameters, njs.jobDefParameterEdit.

Environment

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