Hi @JM_10276355
the ibah is object that represents WTPart or EPMDocument, or other types.
So put there the object for example WTPart.
IBAHolder ibaHolder = IBAValueHelper.service.refreshAttributeContainer((IBAHolder) ibah, null, null, null);
DefaultAttributeContainer dac = (DefaultAttributeContainer) ibaHolder.getAttributeContainer();
StringBuilder values = new StringBuilder(); // it will be filled with values
if (dac != null)
{
AbstractValueView[] abstrAttrib = dac.getAttributeValues();
// search for atribute name
for (int i = 0; i < abstrAttrib .length; i++)
{
AttributeDefDefaultView attrDef = abstrAttrib [i].getDefinition();
String atrName = attrDef.getName();
if (atrName.equals(ibaParam)) // ibaParam is an internal name of attribute
{
values.append(retValue.length() == 0 ? "" : "@");
values.append(getValueView(avv[i]));// if attribute has more values
}
}
}
PetrH