`
Vasile
  • 浏览: 38591 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

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>

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics