The chat-log is a Graphite component created by IBM, so our only options are the parameters they provide. It cannot be changed from app.xml or anywhere else as it is in their mobile js library.
------------------------------
Maycon Belfort
BPD Zenith
IBM Champion 2024
------------------------------
Original Message:
Sent: 06-12-2024 20:07
From: Sourabh Jain
Subject: Change the UI of Work Log Sliding Drawer in Maximo Mobile
Thanks @Maycon Belfort. Appreciate your response. This can be another option other than the new sliding drawer I mentioned above. But, do you also think that the "chat-log" control's layout can't be modified via app.xml or any other place?
Original Message:
Sent: 06-12-2024 19:00
From: Maycon Belfort
Subject: Change the UI of Work Log Sliding Drawer in Maximo Mobile
Hi @Sourabh Jain,
You can add this to your AppCustomizations.js.
onAfterLoadData(datasource, items, query) { if (datasource.name === 'woWorklogDs' || datasource.name === 'woDetailsWorklogDs') { /** * This will loop into each worklog and add the logtype to the user name */ items.forEach((item) => { item.createby = `${item.createby} - ${item.logtype}`; }); } }
------------------------------
Maycon Belfort
BPD Zenith
IBM Champion 2024