- 博客(5)
- 收藏
- 关注
原创 Windchill任务审批意见非空检查
Approve Engineering Change Request is a multiple user task, there are three vote options: Approve, Research_Required and Reject.Requirements: If user votes on “Research_Required” and “Reject”, then c...
2019-12-06 13:44:52
518
原创 Java String split()
有一个txt文件需要进行筛选,只需要部分列,中间的分隔符是 | ,有部分分隔符在文件最后,用String.split(“//|”), 需要用 String.split("//|", -1)String textToSplit = "A||B|C||";String textResult[] = textToSplit.split("\\|");System.out.println(Arra...
2019-10-24 14:11:37
131
原创 LDAP 迁移 Windchill如何更新
在Windchill 10.2下,因为公司的LDAP服务器变更,需要更改配置以让用户能够继续登陆,并且正常工作。打开 HTTPServer\conf\extra\app-Windchill-AuthProvider.xml修改Provider下面LDAP的地址在Apache目录下的Windchill shell运行以下ant -f webAppConfig.xml regenWebAp...
2019-10-22 10:54:16
746
原创 Windchill工作流的Complete Transition
Windchill工作流的Complete Transition想在工作流用户提交的时候, 进行某种逻辑检查,可以在Complete的Transition中加入代码,进行检查,如果不通过则抛出Exceptionjava.lang.Exception e = new Exception("Value for pct_complete must be between 0 and 100");if...
2019-10-18 09:42:19
446
原创 Windchill 如何更新 IBA 值
Windchill 如何更新 IBA 值// Code to update IBA value for persistablepublic static void UpdatePersistableIBAValue(Persistable persistable, String s, Object value) throws WTException { try{ Lo...
2018-12-21 13:11:04
959
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人