Class Structure(Classification) Field onChange Event

Hi Everybody,

I am want to write a code 'on Change" Event of Classification Property to set one of the drop down field value.

I am not getting success to getProperty Value of Class Structure Property as well as to setProperty of dropdown field.

Please help me on this.

I have tried something like below.

var ECRType = document.thisItem.getProperty("classification","");
if(ECRType == "Document" )
{

var affectedPartsRequired = document.thisItem.setProperty("affected_items","1");
}
else
{

var affectedPartsRequired = document.thisItem.setProperty("affected_items","0");
}
return this;

Parents Reply Children
No Data