Unable to remove Resource Manager via XOG
search cancel

Unable to remove Resource Manager via XOG

book

Article ID: 252088

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

It is not possible to remove a Resource Manager from a Resource via XOG.

Steps to Reproduce:

  1. XOG out a Resource that has a Resource Manager using rsm_resources_read.xml template.
  2. From the XOG output, modify the current value of managerUserName="xxx" to managerUserName="" (same occurs when deleting the attribute from the output).
  3. Use the new XOG output to XOG in the resource back to Clarity.

Expected Results: Resource Manager is now null (blank).

Actual Results: Resource Manager still has the previous value.

Environment

Release : 16.0.3

Cause

DE67040

Resolution

Engineering has reviewed this issue and this will not be fixed for now. The fix can be prioritized by bringing this to Product Management for a future Clarity version.

Workaround:

Use the REST API instead:

PATCH https://clarity_server/ppm/rest/v1/resources/<resourceId>

Body (JSON):

{
    "manager": null
}

Additional Information

Questions or suggestions regarding the future Clarity roadmap? Product Management Office Hours details

 

Note:

  • If 'Resource Manager' is secured in the Modern UX, by way of Field Level Security. And, if it does not have a group associated with it, for Edit Rights, then the PATCH call mentioned above throws an 'Unauthorized' error message. In addition, if an API Key is used to call the above mentioned endpoint, then the account with which that key is generated must be part of the group that has edit rights over this field.