简体   繁体   English

查询BMC螺旋补救数据库而不是智能报告的有效方法

[英]Effective Way to Query BMC helix Remedy Database other than smart reporting

Currently we are connecting the AR system through Oracle database for this purpose.为此,我们目前正在通过 Oracle 数据库连接 AR 系统。 I need to know is there any alternative way to access or query the Remedy data base effectively.我需要知道是否有任何其他方法可以有效地访问或查询 Remedy 数据库。 Is there any built in api which we can utilise which will increase the efficiency of the work.是否有任何我们可以利用的内置 api 来提高工作效率。

What could be used is the REST api, in which you can query directly the forms.可以使用的是 REST api,您可以在其中直接查询表单。 Please check following url: REST API Doc请检查以下网址: REST API Doc

It will result with JSON object containing all data.它将产生包含所有数据的 JSON 对象。 In order to obtain access to all forms you need to create a "service" user with fixed license and permissions to the forms which you would like to read using the API call.为了获得对所有表单的访问权限,您需要创建一个“服务”用户,该用户具有固定的许可证和对您想使用 API 调用阅读的表单的权限。

You can query the Oracle back-end directly, with a few caveats.您可以直接查询 Oracle 后端,但有一些注意事项。 It should only be for reading data, not writing or modifying data.它应该只用于读取数据,而不是写入或修改数据。 Otherwise, you could break data integrity as well as bypass workflow that should be fired.否则,您可能会破坏数据完整性并绕过应该被触发的工作流。 Also, this direct access does not enforce any permissions, nor does it translate any of the data.此外,这种直接访问不会强制执行任何权限,也不会转换任何数据。 For example, selection fields come back as a number instead of their string value, dates are in epoch format, etc.例如,选择字段作为数字而不是字符串值返回,日期采用纪元格式等。

There is a Remedy ODBC driver, which isn't being updated, nor does it support joins.有一个 Remedy ODBC 驱动程序,它没有更新,也不支持连接。 However, you can open multiple connections with it and join them manually.但是,您可以使用它打开多个连接并手动加入它们。 Plus, it does handle permissions and translations for you.此外,它确实为您处理权限和翻译。 https://docs.bmc.com/docs/ars1911/odbc-database-access-introduction-896318914.html https://docs.bmc.com/docs/ars1911/odbc-database-access-introduction-896318914.html

If you know in advance what joins you will be doing, you should setup join forms within Remedy.如果您事先知道您将要进行哪些连接,则应在 Remedy 中设置连接表单。 That way the joins are done efficiently in the database.这样就可以在数据库中有效地完成连接。 Otherwise, you are stuck with either of the above solutions or using one of the APIs which don't support ad-hoc joins.否则,您将无法使用上述任一解决方案或使用不支持临时连接的 API 之一。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM