IBM Support

Making Work Log Details Always Expanded

Question & Answer


Question

Is it possible to have the details of the worklog entries always expanded?

Answer

Launch Application Designer and from the Select Action menu select Export System XML option.

Select LIBRARY.XML and save the file

Make a back up of the file.

Open the library.xml file using a text editor and search on WORKLOG.

Change the section from this:


<table beanclass="psdi.webclient.beans.common.WorkLogBean" id="worklog" label="Work Logs" orderby="createdate desc" relationship="WORKLOG">
<tablebody displayrowsperpage="18" filterable="true" id="worklog_tb">
<tablecol filterable="false" hidden="false" id="worklog_tb1" mxevent="toggledetailstate" mxevent_desc="Show Detail" sortable="false" type="event"/>
<tablecol dataattribute="recordkey" id="worklog_tb2" sortable="true">
<textbox id="worklog_tb2_1" menutype="hyperlink"/>
</tablecol>
<tablecol dataattribute="class" id="worklog_tb3" sortable="true"/>
<tablecol dataattribute="ticket.isglobal" id="worklog_tb3a" sigoption="SHOWGLOBAL" sigoptiondatasrc="MAINRECORD" sortable="false"/>
<tablecol dataattribute="createby" id="worklog_tb4" rechover="rel_createby_recordhover_1" sortable="true"/>
<tablecol dataattribute="createdate" id="worklog_tb5" sortable="true"/>
<tablecol dataattribute="logtype" id="worklog_tb6" linkedcontrolid="worklog_tb_details_sec17" sortable="true"/>
<tablecol dataattribute="description" id="worklog_tb7" sortable="true"/>
<tablecol dataattribute="clientviewable" id="worklog_tb8" sortable="true"/>
</tablebody>

To this, removing this column:

<tablebody displayrowsperpage="18" filterable="true" id="worklog_tb">


<tablecol filterable="false" hidden="false" id="worklog_tb1" mxevent="toggledetailstate" mxevent_desc="Show Detail" sortable="false" type="event"/>

Then adding rowdetailsexpanded="true to the table tag so that the resulting section is:


<table beanclass="psdi.webclient.beans.common.WorkLogBean" id="worklog" label="Work Logs" orderby="createdate desc" relationship="WORKLOG" rowdetailsexpanded="true">
<tablebody displayrowsperpage="18" filterable="true" id="worklog_tb">
<tablecol dataattribute="recordkey" id="worklog_tb2" sortable="true">
<textbox id="worklog_tb2_1" menutype="hyperlink"/>
</tablecol>
<tablecol dataattribute="class" id="worklog_tb3" sortable="true"/>
<tablecol dataattribute="ticket.isglobal" id="worklog_tb3a" sigoption="SHOWGLOBAL" sigoptiondatasrc="MAINRECORD" sortable="false"/>
<tablecol dataattribute="createby" id="worklog_tb4" sortable="true"/>
<tablecol dataattribute="createdate" id="worklog_tb5" sortable="true"/>
<tablecol dataattribute="logtype" id="worklog_tb6" linkedcontrolid="worklog_tb_details_sec17" sortable="true"/>
<tablecol dataattribute="description" id="worklog_tb7" sortable="true"/>
<tablecol dataattribute="clientviewable" id="worklog_tb8" sortable="true"/>
</tablebody>

Save the file and use the Import Application Definition option in Application Designer to Browse to and import your modified LIBRARY.XML file.
If you do not see your changes reflected, restart the mxserver to reload the tables and bring in the change.

[{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Work Order Tracking","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.5;7.6","Edition":"","Line of Business":{"code":"LOB02","label":"AI Applications"}}]

Document Information

Modified date:
17 June 2018

UID

swg21671955