You can find it here.
And here are other blog posts for your reference.
Original Message:
Sent: 4/17/2025 10:56:00 AM
From: Rana Ahmed Naazir
Subject: RE: MAF Mobile - Simple javacustomizations.js examples for customization
Hi
Your link is not opening
https://www.bpdzenith.com/the-bpd-blog/maximo-mobile-customisation
------------------------------
Rana Ahmed Naazir
------------------------------
Original Message:
Sent: Thu November 16, 2023 02:19 AM
From: Maycon Belfort
Subject: MAF Mobile - Simple javacustomizations.js examples for customization
Hi Vincent,
I've written 3 blogs about Mobile customisations. It may help you to start. Here is the 1st one: https://www.bpdzenith.com/the-bpd-blog/maximo-mobile-customisation
For this simple setValue, here is a code to do what you want.
#AppCustomizations.jsclass AppCustomizations { applicationInitialized(app) { this.app = app; } pageResumed(page, app) { this.app = app; this.page = page; } myCustomButton() { // get your datasource let mainDs = this.page.getMainDatasource(); mainDs.item.description = 'Hello World!'; }}
Add this myCustomButton to your Button "Set Description" on the app.xml using on-click="myCustomButton".
<button on-click="myCustomButton" [...] />
------------------------------
Maycon Belfort
Consultant
BPD Zenith
Melbourne
Australia
Original Message:
Sent: Thu August 03, 2023 05:00 PM
From: Vincent Wanders
Subject: MAF Mobile - Simple javacustomizations.js examples for customization
I am looking for a simple examples for customization at the level of "Hello world".
The manual i found on the internet and on this forum is of the level "If you understand this example, than you don't need this manual". ;)
For now I managed the alert("Hello world") through a button, but setting a description to "Hello World" seems to be impossible.

I am looking for a KISS example in the AppCustomizations.js.
Something like mbo.setValue("DESCRIPTION","Hello world"), which is automation script ofcourse.
Does anyone have an example or is there somekind quick reference card?
------------------------------
Vincent Wanders
------------------------------