I use iwmodelDCT to create "custom_instantiation.cfg" which everything is fine.
until I try use setValue in javascript
var noOfReviewersObj = IWDatacapture.getItem("/Config/IDNumberOfReviews");
if ( noOfReviewersObj != null)
{
noOfReviewersObj.setValue(counter);
}
the api can set the value back into /Config/IDNumberOfReviews field,
however it get the javascript error which stop the submit process.
JS error in IE
Line: 11
Char: 5
Error: Object doesn't support this property or method
Code: 0
URL
http://127.0.0.1/iw-cc/command/iw.ccpro.submitI try to use firefox , the error is below
str.search is not a function
[Break on this error] if (str.search("]]>") < 0)
dc_item_serialize... (line 10)
any idea ?