Hi,
After creating the HTML elements for the properties, the labels can not be set directly. You may try the following:
aspect.before(ecm.widget.search.SearchForm.prototype, "_createSearchField", function (criterion, tablename, isChildCriterion, operatorHidden) {
if (this._searchTemplate.name === 'S1') {
for (var i = 0; i < this._propertyEditors._fields.length; i++) {
var field = this._propertyEditors._fields[i];
if (this._propertyEditors._isFieldValid(field)) {
if (criterion.name === 'XYZ') {
criterion.name = 'Custom label';
}
}
}
}
});
Please note that referencing to private functions is not suggested. You may contact your support to create an enhancement request for this.
#IBMContentNavigator(ICN)#Support#SupportMigration