Hi Angie,
Thanks for the reply. I have tried the way you suggest. I guess you mean we have to overwrite the function ecm.widget.search.SearchForm.prototype._updateDependentAttributes in Global Plugin.js file. If yes, I have tried below code.
aspect.after(ecm.widget.search.SearchForm.prototype, "_updateDependentAttributes", function(attributes, childComponents) {
alert('inside SearchForm _updateDependentAttributes1');
alert('attributes ::'+attributes);
alert('childComponents ::'+childComponents);
var self = this;
array.forEach(attributes, function(attrib) {
alert('1');
array.forEach(self._searchTemplate.searchCriteria, function(criterion) {
alert('2');
if (attrib.updatedReadOnly)
criterion.readOnly = attrib.readOnly;
if (attrib.updatedRequired)
criterion.valueRequired = attrib.required;
});
});
alert('3');
});
output: attributes is undefined. Hence it is not going inside the loop.
#IBMContentNavigator(ICN)#Support#SupportMigration