I managed to make it work.
I had to duplicate the filed dyn_properties.htmpl and rename to dyn_properties_es.htmpl
Changed the line:
var cat_err_msg = '<PDM_FMT ESC_STYLE=C PAD=NO>${AlertMsg:}</PDM_FMT>';
if ( cat_err_msg == "") {
sink.update_ss_cat_field('<PDM_FMT ESC_STYLE=C PAD=NO>$args.category.zss_sym_es</PDM_FMT>',
'<PDM_FMT ESC_STYLE=C PAD=NO>$args.category</PDM_FMT>');
}
I had to duplicate the file load_properties.htmpl and rename to load_properties_es.htmpl (did the same to the load_properties in the tagged and xml directory).
changed the include to dyn_properties_es.htmpl
<PDM_INCLUDE FILE="dyn_properties_es.htmpl">
I had to change some scripts files:
change_cat.js
change the line where call the filed load_properties.htmpl to load_properties_es.htmpl
if ( typeof _dtl == "object" ) {
url += "+HTMPL=load_properties_es.htmpl";
if ( is_hier )
cst_cat.js
change the line where call the filed load_properties.htmpl to load_properties_es.htmpl
document.getElementById("tblProperties").style.display = "none";
var url = cfgCgi +
"?SID=" + this.SID +
"+FID=" + this.FID +
"+OP=UPDATE" +
"+change_category=1" +
"+IS_NOT_SAVE=1" +
"+FACTORY=" + this.factory +
elementNameValue +
"+HTMPL=load_properties_es.htmpl" +
"+SELF_SERVICE=1" +
"+SERVICE_CST=" + cstID +
"+IS_HIER=1";
ahdframeset.workframe.document.location.replace(url);