Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有人知道如何将标签放在 MAXIMO 自动化脚本的标签内以集成入站响应?
像这样:
<OUTSIDETAG> <INSIDETAG>VALUE HERE</INSIDETAG> </OUTSIDETAG>
请帮忙。
这取决于您使用的版本。我相信脚本功能从 7.6(也是 7.5.0.6 IIRC)开始扩展。您可以使用函数覆盖标签内容
def overrideValues(ctx): if ctx.getMboName()=='PO' and ctx.getMbo().isNull("description")==True: ctx.overrideCol("DESCRIPTION","PO "+ctx.getMbo().getString("ponum"))
这是详细描述这一点的文档 - https://www.ibm.com/developerworks/community/wikis/form/anonymous/api/wiki/02db2a84-fc66-4667-b760-54e495526ec1/page/03ad118c-6040-43dd -bc6d-d7a03510d135/attachment/1004fd2b-1b51-411e-8df0-a8b02ca86272/media/Scritping76Features%20%285%29.pdf