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
Original Message:
Sent: 06-12-2024 01:50
From: Sourabh Jain
Subject: Change the UI of Work Log Sliding Drawer in Maximo Mobile
Hi - I am using MM 8.11. As we know in the Techmobile app, there is a document icon on the List and Details page which opens the Work Log drawer. It allows you to enter a work log and by clicking on the expand icon, you can enter the LD and the Log type. But, very limited data is displayed in the Work Log drawer and I need to modify it to show the Log Type. Has anyone changed the work log sliding drawer UI layout? It's a "chat-log" control and I can't find the XML layout which I can modify.
As an alternative, I can have another sliding drawer with more worklog object fields. But, I am wondering how can I modify the layout of sliding-drawer id="workLogDrawer"
Thanks.
#EverythingMaximo
#Mobility