自定义maximo Anywhere应用程序的前端 [英] Customizing the front end of maximo anywhere apps

查看:115
本文介绍了自定义maximo Anywhere应用程序的前端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我一直在研究maximo随处可见的应用程序,并且要求完全改变工作执行应用程序的外观和感觉,在后端与maximo对话的oslc层保持不变,并且所有功能都相同,但是有一些新的按钮,通知消息和各种UX方面要添加到应用程序中,我才刚刚开始研究应用程序的体系结构和代码,但是没有人知道如何更改前端或甚至有可能吗?我几乎找不到在线可用的文档,而且所有文档都涉及自定义功能和特性,但是我找不到任何用于添加UX方面的文档.

有人可以指出我可以开始研究的任何文件或起点,这将是很棒的事情.

谢谢.

解决方案

感谢您提问,如果您只是在谈论要向UI添加新的字段,布局,屏幕,您可以通过app.xml来完成所有操作,我们的知识中心有很多示例,例如以下示例:

如果您正在谈论更高级的自定义,例如将自己的新窗口小部件类型添加到我们的屏幕,则可以通过javascript以编程方式实例化/销毁您自己的窗口小部件并将其添加到我们的标准应用程序视图中.这段代码通常挂在我们视图的initialize和back事件上.但是您将负责编写代码以将数据层与自定义窗口小部件同步.不幸的是,我们还没有此定制用例的已发布示例.

我们总是向我们的Anywhere UI框架添加新的窗口小部件功能,因此,我很想听听您感兴趣的新窗口小部件类型的反馈.

I have been working on maximo anywhere apps recently and have a requirement to completely change the look and feel of the work execution app, the oslc layer which talks to maximo in the backend remains the same and all the functionalities are the same but there are some new buttons, notification messages and all sorts of UX aspects to be added to the app, I have just started looking at the architecture and code of the app but does anyone know how can I make changes to the front-end or is it even possible? I could find very few documents available online and all of them spoke of customizing features and functionalities but I coudlnot find any document for adding UX aspects.

It would be great someone could point out any documents or kick-off points which I can start looking into.

Thanks.

解决方案

Thanks for asking, if you're just talking about adding new fields, layouts, screens to the UI, you can do that all through the app.xml, and there are lots of examples on our knowledge center, for example this one: http://www-01.ibm.com/support/knowledgecenter/SSPJLC_7.5.2/com.ibm.si.mpl.doc_7.5.2/config_apps/t_add_rw_fields.html?lang=en

If you're talking about changing the "look" of the existing widgets, this can all be done through css, by overriding our out of the box css classes. Use Chrome inspector to figure out which css class is being used for each element type, and just override it through standard css approaches.

If you're talking about more advanced customization, for example adding your own new widget types to our screens, it is possible to programmatically instantiate/destroy your own widgets through javascript and add them to our standard application views. This code is usually hooked on the initialize and back event of our views. But you'll be responsible for writing the code to synchronize the data layer with your custom widget. We unfortunately don't have a published example of this customization usecase yet.

We always adding new widget capabilities to our Anywhere UI framework, so I'd love to hear feedback on the new widget types you're interested in.

这篇关于自定义maximo Anywhere应用程序的前端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆