Two sample dql statements:
ALTER TYPE <custom_type> MODIFY <attribute_name> (SET default_search_op = 1) PUBLISH;
ALTER TYPE <custom_type> ADD <attribute_name> <attribute_datatype> (SET label_text='<LABEL_TEXT>', set default_search_op = 1, truncate allowed_search_ops, set allowed_search_ops[0]= 13, set allowed_search_ops[1]= 2, set allowed_search_ops[2]= 3, set allowed_search_ops[3]= 4, set allowed_search_ops[4]= 1) PUBLISH
NOTE : This setting is inherited by subtypes but can be overridden if required by executing the same dql syntax on the subtype.
To validate that the value was set correctly, you can use Webtop and check the new default, or you can use iapi and check the the value explicitly:
get,c,t<type_name>.<attr_name>,default_search_op
get,c,t<type_name>.<attr_name>,allowed_search_ops
Please note that value of default_search_op must be one value of allowed_search_ops.
Below is a map of the integer values that corresponding to each operator:
EQUALS = 1
NOT_EQUALS = 2
GREATER_THAN = 3
LESS_THAN = 4
GREATER_EQUALS = 5
LESS_EQUALS = 6
BEGINS_WITH = 7
CONTAINS = 8
DOES_NOT_CONTAIN = 9
ENDS_WITH = 10
IN = 11
NOT_IN = 12
BETWEEN = 13
IS_NULL = 14
IS_NOT_NULL = 15
NOT = 16
分享到:
相关推荐
Documentum的DQL的使用手册,非常完整的参考手册。 适合从事Documentum的开发人员使用。
EMC Documentum 体系结构:为跨整个企 业管理内容奠定基础并提供服务。
Documentum
documentum composer用户手册,介绍如何使用
Documentum 6.5 Architecture Overview
Documentum的介绍.部分应用的实例.
Documentum V6安装手册,有截图
Documentum 产品,学习Documentum 很好的资料
Documentum系统管理员必备 本文是英文版本,详细介绍了DOCUMENTUM系统管理方面的知识.
documentum xplore
不错的DOCUMENTUM资料
documentum之DFC开发概览 资料不好找,供有需要的朋友下载
最新Documentum DFC API,用于Documentum的底层接口开发
关于Documentum V6.5 安装的一些细节
documentum6.X 安装指南 DA安装指南 Webtop安装指南
documentum,ECM,官方文档。documentum开发文档,api等