JavaScript提示错误信息(Prompt error message)
Sep 19, 2024
10:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Sep 19, 2024
10:31 PM
JavaScript提示错误信息(Prompt error message)
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
Labels:
- Labels:
-
Other
2 REPLIES 2
Sep 23, 2024
03:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Sep 23, 2024
03:38 PM
What was the user doing when the error message came?
Oct 08, 2024
08:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Oct 08, 2024
08:54 PM
你需要提供一些上下文信息,如果可以的话包括 javascrip 浏览器报错的截图。还有就是 js 调用了系统里面具体的那个 java对象和函数需要展示一下。
在你具体要执行的代码前后加上
WTPrincipal realUser = SessionHelper.manager.getPrincipal();
SessionHelper.manager.setAdministrator();
SessionHelper.manager.setPrincipal(realUser.getName());
