Posts

Showing posts from February 17, 2023

Maximo Anywhere notes to rememmber

Image
MaximoAnywhere App development points that some people might find to be useful: Use an xml editor like in eclipse with xsd validator to avoid errors The App XML XSD is very useful in finding out possible attributes/values and elements while designing the application Different types of events in Application elements include click|changestate|datachange|render|validate Resouces in the Anywhere Application use OSLC Resources defined in Maximo environment OSLC Resources use Integration Objects (consumedby=OSLC) Integration Objects have OS Security Authorization OS Security can be either App Based or OS based, it can be configured by using the Configure Object Structure Security and selecting the below checkbox. When its APP Based Access to that OS can be granted from Security Groups App using application authorizations tab When its OS Based you can grant using Object Structure authorization tab in Security Groups App. Use might have to use eventContext.viewControl.refresh() sometimes ...

Anywhere container build fails during cordova build android command

Image
 Anywhere container build fails due to below error BUILD FAILED in 2m 39s     at ChildProcess.exithandler (child_process.js:303:12)     at ChildProcess.emit (events.js:315:20)     at maybeClose (internal/child_process.js:1051:16)     at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5) {   killed: false,   code: 1,   signal: null,   cmd: 'M:\\IBM\\Anywhere\\MaximoAnywhereAppCntr\\node_modules\\cordova\\bin\\cordova build android' }   [ERROR]  2023-2-17 19:33:29   [IncidentReport::android]  Command failed: M:\IBM\Anywhere\MaximoAnywhereAppCntr\node_modules\cordova\bin\cordova build android Note: M:\IBM\Anywhere\MaximoAnywhereAppCntr\output\IncidentReport\platforms\android\CordovaLib\src\org\apache\cordova\engine\SystemCookieManager.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. FAILURE: Build failed with an exception. Turns out it wa...