Agile 9.3.2 SDK add item to SCO
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);