- 博客(22)
- 收藏
- 关注
原创 How to prevent Webtop from replacing the ID type attribute's value
SymptomsWebtop would display value for custom attribute to replace from r_object_id to object name corresponding to the object ID. CauseThis is the default behavior of Webtop, it just ...
2012-03-16 17:12:36 114
原创 Solution for Webtop Exception: java.lang.NullPointerException
Got below exception when login webtop or even open document home page after someone cleaned cache on webtop's tomcat server: class java.lang.NullPointerException After closing this window, p...
2012-02-05 14:51:17 188
原创 How do you rename a custom attribute?
The key point of this operation is keep the values stored in this attribute. You can rename the custom attribute using the following steps:- Create the custom attribute with the new name...
2012-02-02 10:44:54 139
原创 Documentum/DQL: alter type to add/drop an attribute's value assistance etc.
Sample:ALTER TYPE hrd_document MODIFY (hrd_team_name (VALUE ASSISTANCE IS LIST ( 'global', 'cnb_emea', 'con_mgt', 'comm_kit', 'policies', 'hr_empl_rels' )IS COMPLETE));ALTER TYPE...
2012-02-02 10:18:01 166
原创 DQL for managing scope_config of a type
When publish data dictionary of a custom type(publish_dd,c,,custom_type,,T), I get below error message:[DM_DATA_DICT_E_COULD_NOT_PUBLISH_DATA_DICTIONARY_INFORMATION]error: "The Data Dictionary was...
2012-01-18 17:52:41 154
原创 Documentum/DQL: Default sort order in search results of dql
If I ran a select DQL statement and there is no ORDER BY clause included, what is the default sort order for basic search? Trace the query in the database - if there is no order by then the database i...
2011-07-07 12:03:17 141
原创 SCS: Method dm_webcache_publish return value was 1
Get below error message:Thu Jun 30 04:19:46 2011 539287: 103150[103150] TRACE LAUNCH: ./dmbasic -f./dm_event_sender_xxx.ebs -eMail -- "xxx" "nulldate" "Job_Failure" "[ERROR] [LAUNCHER 103145] Det...
2011-06-30 18:57:52 198
原创 Documentum/DQL: alter type to add/mofify an attribute's search operators
Two sample dql statements:ALTER TYPE MODIFY (SET default_search_op = 1) PUBLISH;ALTER TYPE ADD (SET label_text='', set default_search_op = 1, truncate allowed_search_ops, set allowed_search_o...
2011-06-20 21:01:09 200
原创 ERROR: DM_OBJ_MGR_E_VERSION_MISMATCH
Solution: fetchFor API: fetch,c,lFor DFC: IDfPersistentObject.fetch(null);
2011-01-19 03:08:47 210
原创 DQL关键字 ROW_BASED
ROW_BASED关键字用于以一行显示一个repeating attribute的一个索引位的值的方式显示DQL语句的返回结果。如果不加此关键字,一行的返回结果一般为一个对象,加此关键字后一个对象会出现多行,总行数为被select的所有repeating attributes中拥有最多值的attribute的值的个数,并且在同一行的各个repeating attributes的值的索引一样。...
2010-10-20 16:11:49 136
原创 WDK中关键词"notdefined"的含义
关键词“notdefined”用来确定当前的action或component在当前的scope(即r_object_type)中是否有效,为true则无效。用来屏蔽action或component从父类型向当前子类型的应用。开发指导文档中有如下一段话:1.About Component:notdefined: Configurations can hide elements that ar...
2010-09-22 11:29:39 403
原创 Invalid byte 1 of 1-byte UTF-8 sequence解决方法
出现这个异常的原因就是文档开头的encoding的值和内容里的编码不匹配。例如:encoding值为utf-8时内容里有中文(可能是隐藏的内容,在别的编码方式下不显示,此时可修改xml文件的编码方式为utf-8即可显示出来)。这种情况可删掉无用的中文,或者改变encoding的值为gb2312即可解决。...
2010-09-10 16:48:40 534
原创 打开新页面,并在新页面中以POST方式发送本页面中的form
原本以为只能以get(url)的方式打开新页面,事实证明我基础不牢、孤陋寡闻了。。。[code="java"] function openSpecfiyWindown( windowName ) { window.open('about:blank',windowName,'width=700,height=400,menubar=no,scrollb...
2010-08-20 19:07:44 139
原创 如何设置Select下拉框的ReadOnly属性
因为Select下拉框只支持disabled属性,不支持readOnly属性,而在提交时,disabled的控件,又是不提交值的,在网上搜索了一下,发现有个很好的方法:Html代码[code="java"] aaa [/code] 或者使用如下的js脚本:Js代码[code="java"] aaa ...
2010-08-19 11:17:09 1132
原创 Javascript替换字符串中字符
//将字母i全部替换成5(使用正则表达式)var txt = "sjfisjfisdjfijsidfjioalfjewofjjgs";alert(txt .replace(/i/g,"5"));//只将第一个字母i替换成5var txt = "sjfisjfisdjfijsidfjioalfjewofjjgs";alert(txt .replace("i...
2010-08-18 15:51:59 98
原创 java web程序从系统classpath中读取资源文件
写了个properties资源文件用于存储些可以改的系统参数,为了方便放在classes文件夹下。Properties res = new Properties(); InputStream in = SomeClass.class.getClassLoader().getResourceAsStream("pro.properties");res.load(in);in.clos...
2010-08-07 17:38:13 102
原创 Do not show password in windows console use cmd commands
echo hP1X500P[PZBBBfh#b##fXf-V@`$fPf]f3/f1/5++u5x>in.comset /p password=Password:
2010-08-02 11:05:56 91
原创 spool命令和使用select语句批量动态生成sql语句
今天一个任务是从两张表中用sql语句导出些数据,并且提交这些数据的插入语句。上网查询后找到个方法,例子如下:spool c:\data.sql;select 'insert into table_name values('''||field_1||''','''||field_2||''');'from table_name where field_n=some_conditon;sp...
2010-08-02 11:03:56 518
Install oracle-10.2.0.3 and Documentum-6.5
The whole process is installing oracle 10.2.0.1 first, updating it to 10.2.0.3, then installing documentumYou can follow this article step by step:http://www.itpub.net/viewthread.php?tid=80693...
2010-08-02 10:44:45 122
原创 select clause and i_is_deleted
1.select clause:SELECT [ALL|DISTINCT] columnsThe optional ALL and DISTINCT keywords determine whether the SELECT statement returns duplicate rows. ALL returns all rows, including any duplicates. D...
2010-08-02 10:39:37 142
delete a custom filetype using sql
The normal way to delete a custom file type is(dql):delete (all) object;drop type ;if when excuting the above statement,an error which says"Attempt to remove type , which still has object...
2010-08-02 10:37:37 102
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人