Agile (MOSC)

MOSC Banner

Agile 9.3.2 SDK add item to SCO

in Agile (MOSC) 1 commentAnswered

Hi,

i'm trying to add an item to an SCO vis Java SDK, but i get the Error "Not a valid Site".

I think i have to add the Site while adding to the SCO, but i dont know how.

I tried the following code:

Simply add the item of type IItem:

IRow affectedItemRow = affectedItems.createRow(item);

and also via param, but here i get "Invalid parameter":

HashMap params = new HashMap();
params.put(ItemConstants.ATT_TITLE_BLOCK_NUMBER, strArray[i]);
params.put("site", "sitename");
ITable affectedItems = change.getTable(ChangeConstants.TABLE_AFFECTEDITEMS);
IRow affectedItemRow = affectedItems.createRow(params);

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center