Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
I am using Windchill PDMLink Release 12.0 and Datecode with CPS 12.0.0.0
Embedded Windchill, the error message is as follows:
Uncaught DOMException: Permission denied to access property
Translated by the Community Moderation using Google Translate
内嵌Windchill,提示错误信息如下:
Uncaught DOMException: Permission denied to access property
What was the user doing when the error message came?
你需要提供一些上下文信息,如果可以的话包括 javascrip 浏览器报错的截图。还有就是 js 调用了系统里面具体的那个 java对象和函数需要展示一下。
在你具体要执行的代码前后加上
WTPrincipal realUser = SessionHelper.manager.getPrincipal();
SessionHelper.manager.setAdministrator();
SessionHelper.manager.setPrincipal(realUser.getName());
