search cancel

XOG Resource error due to ampersands (&) on the OBSUnitPath

book

Article ID: 242722

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

I am trying to create resources via XOG. 

I need to set the Organisational Unit and I do that through the OBSUnitPath.

However, the resource creation fails when we have an ampersand (&) on the OBS Unit name. 

Is it possible to use the ID instead of the path?

 

Resolution

Let say the OBS Unit is a M&A

Setting the path as follows will error out

unitPath="/All Groups/M&A"

When XOGing the resource in and specifying the OBS Unit path, ensure you specify it in the following way:

unitPath="/All Groups/M&A"