问题标签 [rightnow-crm]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
rightnow-crm - SOAP API 的日期问题(Oracle Rightnow 云服务)
我需要一些有关 SOAP API 的帮助。我创建了一个网站,用户可以在其中输入通过 SOAP API 从 Service Cloud 存储和检索的数据。
它工作正常,直到昨天我开始面临日期问题。例如,如果我输入今天的日期07/05/2016
,它在 RN 上存储得非常好,但在数据检索时,它会随机将日期更改为 (两天前,一天前) 05/05/2016
。
我知道 UTC 转换,但行为是如此随机,我不知道是在数据检索上增加一天还是两天。
请帮助这是一场噩梦,完全把我吓坏了。还有一个问题:由于2016 年 2 月的新版本,这可能是偶然的吗?
salesforce - 如何从 CRM 终端用户到 CRM Consulting?
需要一些职业建议,希望我参加正确的聚会
联络中心代理如何从 CRM 最终用户进入 CRM 咨询?我有 CRM 实施的理论知识、管理员的工作角色、支持代理等。是否有任何特定的技能需要掌握,或者除了现有技能之外还有很多其他的事情需要完成。
对此的启示将不胜感激。
php - 使用 PHP 从 REST GET 请求中获取 ID - Oracle Right Now
我是 REST 的新手,并试图SELECT ID from CO.A_Country where Name="xxx";
使用 ROQL 从查询中获取 ID。我将 REST 与 PHP 一起使用:
?>
我得到以下结果:
HTTP/1.1 200 OK Date: Thu, 04 Aug 2016 14:58:02 GMT Server: Apache Content-Language: en-US RNT-Time: D=58455 t=1470322682582920 RNT-Machine: 128.64 Transfer-Encoding: chunked Content-Type: application/json { "items": [ { "tableName": "CO.Affected_Country", "count": 1, "columnNames": [ "id" ], "rows": [ [ "12" ] ] } ], "links": [ { "rel": "self", "href": "https://test.help.com/services/rest/connect/v1.3/queryResults?query=select%20ID%20from%20CO.A_Country%20where%20CO.A_Country.Affected_Country=%27USA%27" }, { "rel": "canonical", "href": "https://test.help.com/services/rest/connect/v1.3/queryResults" }, { "rel": "describedby", "href": "https://test.help.com/services/rest/connect/v1.3/metadata-catalog/queryResults", "mediaType": "application/schema+json" } ] }
如何仅获取所需的 ID 以在 $output 中?
oracle - 从 Oracle RightNow 客户门户中的事件报告中删除内置过滤器联系人 ID
这是关于在客户门户网站上显示基于“组织”的“事件报告”。我们将在输入框中输入组织,然后单击“提交”。事故报告应仅针对该组织显示。
这种情况正在发生,但“登录”联系人 ID (c_id) 也作为过滤器传递给该事件报告。
是否可以删除对上述事件报告施加的 c_id 过滤器?如何从事件报告中删除此联系人 ID 过滤器?
有人建议使用 pre_report_get_data 挂钩,然后取消设置联系人 ID (c_id) 过滤器。但我无法弄清楚如何做到这一点。
有人可以给我一个代码片段来使用 pre_report_get_data 钩子删除 c_id 过滤器吗?或其他解决此问题的方法。
oracle - 使用 PHP 代码来自服务云的 HTTP 会话
是否可以在维护 HTTP 会话的同时从 oracle 服务云发送自定义 XML 消息?
到目前为止,我已经成功地使用 cURL 发送了一条消息:
编辑:上面的代码发送一条消息并获得响应,但是当我尝试使用 CURLOPT_COOKIEJAR 和 CURLOPT_COOKIEFILE 维护 HTTP 会话时,第二个 cURL 消息响应抱怨没有活动会话。
我用来维护会话的代码(在 Rightnow 环境之外测试时工作)
谢谢!
php - Upload file into "assets" folder via move_uploaded_file()
In Service Cloud (FKA RightNow) Customer Portal, isn't the "assets" folder writable?
I'm trying to upload a file to a subfolder inside the "assets" folder but I seem to be running into permission issues. The code I'm using is:
This is throwing an error which states:
Access to move_uploaded_file is denied because its trying to access restricted folders in ......
Is there no way to save the uploaded file into the "assets" subfolder via PHP?
EDIT:
The destination seems to be correct as if I use:
it prints:
So the correct filepath is being referenced but somehow the framework is not allowing me to save it in there.
Update
The use case is such that via the CP, a person will upload a CSV/TXT file. This file would contain contact info (name, email etc) which will then be read (at a later stage) to create contacts in OSvC. This would be a recurring process, perhaps twice or thrice a month.
Since the reading of the file will not happen at the time of upload, storing the file someplace is the ideal solution.
rightnow-crm - 如何在 Rightnow SOAP API 中获取带有变量的 Answer 对象
我只是想通过遵循 ROQL 来获得所有答案
这会返回答案,但是当我看到解决方案的值时,它包含$variableName
. $variableName
我已配置变量并在预览中正确查看它,但是在通过 Rightnow SOAP API 转换为实际内容后如何获得完整的解决方案值?
oracle - 在客户门户中显示附件
在我的小部件中,我想在客户门户页面上显示附件图像。我创建了一个名为“事件”的自定义对象。所有事件都必须有图像。所以我将图像存储为附件。现在我们想将附件图像显示为缩略图所以我需要附件的 URL。我不知道如何获取附件的 URL。
php - 使用新名称从 url 将图像下载到 webdav 文件夹并检索
您好我有这个 PHP 代码(自定义脚本)来从 RightNow Incidents 查询 FileAttachment URL,
这将返回文件下载 url,如果在浏览器中打开它会自动将图像下载到我的计算机
我想使用此 url 以事件 ID 和图像 ID 作为名称将图像直接下载到客户门户文件夹“/euf/assets/images/”,然后为该图像构建一个新 url 并将我的上述脚本重定向到该图像 url这样我们就可以直接在浏览器上看到图像。
javascript - 在 YUI DataTable 标头内时,Onclick 处理程序未在 YUI MenuButton MenuItem 上触发
所以这个是超级具体的,但我希望有人会有见识。
我的任务是在 YUI DataTable 的标题中添加内联过滤器按钮。它是 YUI 2.7,当我在框架的范围内工作时,我坚持使用它。它适用于 Oracle Service Cloud/RightNow CX 客户门户小部件。
如果我将按钮添加到任何其他元素,onclick 事件将触发并按预期工作。如果我将按钮附加到标题,则 MenuItem 单击事件将被解释为单击标题并触发 sortColumn 函数。这不像我可以调用 stopPropagation 因为点击处理程序根本不会被调用。
我创建了一个 jsFiddle 来展示。如果您在第 152/153 行换出容器,您可以使其工作/不工作。顺便说一句,只有第二个菜单有效。:-)
https://jsfiddle.net/CyberneticianDave/b1wh7oht/
真的希望有人至少可以解释发生了什么,如果您能找到解决方法,可以加分!
提前致谢!