Hi Maximo Experts!
I have an interesting technical question for this forum.
I created a custom dialog in the SR application. The intent is to show multiple SR records (based on a specific query) when the dialog is opened. The user will then select rows (multiselect) and press a button which should then do some processing. The dialog XML is shown below (I've removed all customer references)
<dialog beanclass="psdi.webclient.system.beans.MultiselectDataBean" id="SR2ASSET" label="Create/Update Asset from SR" mboname="SR" whereclause="customfield=1 and historyflag=0 and status != 'RESOLVED'">
<table id="sr2asset_select_table" label="Asset Service Requests" selectmode="multiple">
<tablebody displayrowsperpage="15" filterable="true" filterexpanded="false" id="sr2asset_select_table_tablebody">
<tablecol filterable="false" id="sr2asset_select_table_tablebody_1" mxevent="toggleselectrow" sortable="false" type="event"/>
<tablecol dataattribute="ticketid" id="sr2asset_select_table_tablebody_2"/>
<tablecol dataattribute="description" id="sr2asset_select_table_tablebody_3"/>
<tablecol dataattribute="status" id="sr2asset_select_table_tablebody_5"/>
<tablecol dataattribute="siteid" id="sr2asset_select_table_tablebody_6"/>
</tablebody>
</table>
<buttongroup id="sr2asset_button_group">
<pushbutton id="sr2asset_button_group_2_1" label="Resolve" mxevent="SR2ASSETCREATE"/>
<pushbutton id="sr2asset_button_group_2_2" label="Void" mxevent="SR2ASSETVOID"/>
<pushbutton default="true" id="sr2asset_button_group_2_3" label="Cancel" mxevent="dialogcancel"/>
</buttongroup>
</dialog>
The dialog is launched from the List tab of the SR application. I have created SIGOPTIONS for the dialog event and button events. The button events are linked to sigoptions (with UI option toggled) that are linked to actions that launch automation scripts.
The problem that I have is that my custom events SR2ASSETCREATE and SR2ASSETVOID only trigger if I have at least one record in the list tab of the SR application. If the List tab is empty, these buttons do not make any invocations to the server. Therefore there is no way for the automation scripts to get triggered.
Has anyone experienced this issue before and how did you resolve it?
Many Thanks
------------------------------
Aneesh Joseph
Director and Solutions Architect
objec3d
Melbourne, Australia
https://www.objec3d.com
------------------------------