Hi Ritesh
I hope proof-of-concept that I created for you will help to move forward. Please find the result below with full customisation.
Customisations:
Prerequisites:
Create new relationship on Maximo/Manage side.
Object: WORKORDER
Relationship: C_ASSETUSERCUST
Child Object: ASSETUSERCUST
Where Clause: assetnum = :assetnum and siteid = :siteid
Maximo Mobile changes:
1. AppCustomizations.js
2. app.xml
a) maximo-datasource
b) slading-drawer
Please remember that it was only PoC and there are some areas that could be improve for final solution:
- fields in sliding drawer (layout + show Y/N in better way)
- maybe you don't need to create new custom relationship but instead use nesting relationship definition in maximo-datasource
Good luck!
------------------------------
Bartosz Marchewka
------------------------------
Original Message:
Sent: Wed November 01, 2023 11:09 AM
From: Ritesh Ranjan
Subject: Need help with creating a new sliding drawer
Can someone please advise on this?
Thanks in Advance.
------------------------------
Ritesh Ranjan
Tech Lead (Wipro)
Original Message:
Sent: Tue October 31, 2023 03:26 PM
From: Ritesh Ranjan
Subject: Need help with creating a new sliding drawer
Hi Team,
I need to create a sliding drawer. I Tried to replicate the WORKORDER SPECIFICATIONS sliding drawer scenarios in TECHMOBILE app.
I duplicated all the necessary sections of WORKORDER SPECIFICATIONs and renamed all the labels wherever necessary. It worked fine with duplicated codes in XML and it was also opening SPECIFICATION sliding drawer.
Now I need to show asset user and custodian so changed the necessary details in necessary places, but then sliding drawer was not even coming up.
Can someone advice if anyone has created a custom sliding drawer?
Also is sliding drawer allowed to use outside of controller file?
------------------------------
Ritesh Ranjan
Tech Lead (Wipro)
------------------------------