技术文章 - CS322131
ThingWorx:尝试通过构造的 url 更改用户密码时发生错误
已修改: 14-Apr-2020
适用于
ThingWorx Platform说明
- 当尝试使用以下代码作为服务构建 URL 以更改用户密码时(与CS318095相关):
var tokenName = 'temp-' + generateGUID();
Resources["EntityServices"].CreateApplicationKey({ name: tokenName, user: username );
var tokenValue = ApplicationKeys[tokenName].GetKeyID();
var result = "http://atcp1/Thingworx/FormLogin/reset/Everyone?Summary=" + tokenValue + "&thingworx-form-userid=" + username;- 在 ApplicationLog.log 中发现以下错误消息:
服务脚本 [<serviceName>] 中的执行错误 :: 导入失败:未授权创建
这是文章 322131 的 PDF 版本,可能已过期。最新版本 CS322131