I have to set the value of 3 fields by user edit the document (the document saved by entry template) in only 1 desktop and only in 2 cases.
First case: while the user press Edit on the search resultSet item Properties Pane(ecm.widget.ContentListEditPane i think).
Second Case: after opening the document on the viewer By press double click on the Item in the result set, the viewer will open and then press "view properties"(it is enter automaticly to edit attribute mode).
All 3 are an EDS filteringSelect Dependent Attribute fields(so if it is enough to reset the value on one field, an then the EDS will call autammaticly and reset the 2 more as they related to each other.It must to happen on client side, after the onLoad or onCompleatRendering was finished, cause i try to use the server side, and the sync between EDS and server side and Client EntryTemplate Side make a problem and dose not reflect all the time in the screen and it can't be done that way).
i try to use this code on blank plugin, by added this on the global plugin JS.
aspect.around(ecm.widget.ContentListEditPane.prototype,"onCompleteRendering",function(originalFunction){
var item =this.itemPropertiesPane.getItem();
item.setValue("DocType",2);
}})
but nothing heppen or reflect to the field value.
I also did not found the way to enter by code to the event when the user open the Doc by viewer and press "ViewProperties" button.
(LayoutPropertiesPane "onCompleteRendiring" dose not enter as i excepted ).
#IBMContentNavigator(ICN)#Support#SupportMigration