/Articles

Agile SDK的Numeric字段精度问题

Web Client显示Numeric字段时(Double类型),根据在Java Client中scale设定的小数位数自动计算精度。比如下图中所示的Java Client和Web Client所展示的那样。 但是如果使用SDK来获取Numeric字段时,不能简单地通过下面的错误代码来获取Double类型返回值,因为它这个代码只是获取Double的实际值,并没有获取精度设定。 IItem item = (IItem)session.getObject(IItem.OBJECT_TYPE, "DIE-00001"); Object num = item.getValue(new...

自定义JavaClient中的subclass图标

关于如何自定义JavaClient中subclass的图标,官方用户手册中讲到了要把图标文件添加到JavaClient的custom.jar中。文档是这么讲的: 实际上如果简单地按照它的做法,这是无法实现的。原因在于所有通过Java Web Start发布的jar文件都是经过了签名保护的。下面的内容我来演示如何通过自签名的方式实现它。 创建keystore d:\>keytool -genkeypair -dname "cn=Jie Chen, ou=Agile, o=Oracle, c=US" -alias javaclientKey -keypass oracle...

com.agile.ui.web.security.WebSecurityException

ESAPI is an open source used by Oracle Agile Web Client to protect Web application's security, avoid kinds of web attack like XSS, Injection, CSRF and so on. This API component must be present and your HTTP request must legal, or Agile WebClient throws com.agile.ui.web.security.WebSecurityException...

Recover Keystore for Agile 9.3.2 and 9.3.3

agileks.jks is the Keystore used by Agile based on Java JCEKS and AES algorithm. So all the AES related password in Agile are associated with agileks.jks. During Agile 9.3.2/9.3.3 installation, a random Keystore password is created automatically, then agileks.jks is created as well based on the...

PrivilegeViewer权限浏览工具

PrivilegeViewer能帮助Agile PLM管理员从全局的角度预览所有用户和用户组的Role、Privilege以及Criteria。 如果看到Agile PLM系统中的权限结构和PrivilegeViewer中展示的不一致,则说明你的Agie存在错误的Admin数据。 截图 图标 User Group User Group (Deleted) User User (Deleted) Role Role (Disabled) Privilege Privilege (Disabled) Criteria 使用...

java.lang.SecurityException caused by Cookie Sharing

There is a very common issue which could impact all Agile PLM customers' integration that Agile SDK fails to create session and hits error " java.lang.SecurityException: User: e0FFxxxxxxx, failed to be authenticated". This article describes the scenario and call your attention to the fact that it...

SQL to show better Admin History than JavaClient

In JavaClient, Admin History records all kinds of administration actions to system for audit. These actions could be Modify Class, Add List, Remove Workflow and more. But in most cases, Admin History does not display these actions clearly. For example below records confuse us. What object are...

BASIC_LEXER and WORLD_LEXER in Agile Quick Search

We all know Agile Quick Search uses Oracle Text to do search based on the object name and description. For BASIC_LEXER, Agile defines several special characters in CONTENT LEXER, making them as normal characters not delimiter. While for WORLD_LEXER, Agile has no such definition. So recently we have...

How to integrate OpenLDAP with Agile PLM

Agile supports other kinds of LDAP serve as a Generic LDAP node in system with the customized groovy script to map LDAP Server‘s attributes to Agile‘s. The difficulty of integration for Agile Administrator is to understand LDAP specific attributes and write the correct groovy code. This article...

Solution to detect list attribute references

Agile shows alert and does not allow to modify List attribute to switch to another List if this attribute is already referenced by below criteria. Admin Criteria Report Criteria Search Criteria To enable the attribute modification, we have to go to these Criteria and remove the references one...

superadmin authentication during Weblogic startup

In Agile PLM, we all know superadmin account is used to start Weblogic server, this account is authenticated against Agile database. In previous version before 9.3.2, we define the username and its plain password in startAgile script. In 9.3.2 and 9.3.3, we move the user account information to a...

1 2 3