How to prevent Webtop from replacing the ID type attribute's value

Symptoms

Webtop would display value for custom attribute to replace from r_object_id to object name corresponding to the object ID.

Cause

This is the default behavior of Webtop, it just replaces display value but keeping the original entry at object attribute on the Repository.

This replacement will only occurred for attributes with data type set to "ID". For other data type, like "String", Webtop displays the value as it is in r_object_id.

Resolution

You can change this behavior by commenting out the following entry from docbaseobjectconfiguration_dm_sysobject.xml file in the folder <app-root>/webcomponent/config/library.

<attribute type="id" repeatingonly="false" singleonly="true">
<valueformatter>com.documentum.web.formext.control.docbase.DocbaseAttributeIdValueFormatter</valueformatter>
</attribute>

猜你喜欢

转载自vasile.iteye.com/blog/1455492