Hi All,
We have a custom table where we maintain multiple asset alias for an asset.
I have created a datasource with relationshipt for assetalias table under workorder details page.
<maximo-datasource id="showassetaliasDS" order-by="" relationship="gtmassetalias" selection-mode="none" depends-on="woDetailResource" notify-when-parent-loads="true" cache-expiry-ms="1" offfline-immediate-download="true" lookup-data="true" pre-load="true">
<schema id="aq8yv">
<attribute name="alias" id="z9bwp"/>
<attribute name="description" id="x68ma"/>
<attribute name="isactive" id="apk65"/>
<attribute name="isdefault" id="d3gr_"/>
</schema>
</maximo-datasource>
Created a sliding drawer to show the necessary data.
<sliding-drawer id="showassetaliasdrawer" content-padding="false" align="start" header-text="Asset Alias">
<panel id="m_477">
<box padding-top="1" id="k4kvb"/>
<data-list datasource="showassetaliasDS" show-search="false" id="prgrz">
<border-layout padding="false" slot="item" fill-parent="true" id="exapy">
<start width="85" horizontal-overflow="hidden" id="jyv2k">
<field value="{item.alias}" override-required="true" field-class-name="16-bold" padding="none" hide-label="true" id="kxxgk"/>
<field value="{item.description}" override-required="true" field-class-name="16-bold" padding="none" hide-label="true" id="aewd7"/>
<field value="Default {item.isdefault}" hidden="{!item.isdefault}" override-required="true" field-class-name="16-bold" padding="none" hide-label="true" id="mne6_"/>
<field value="Active {item.isactive}" override-required="true" field-class-name="16-bold" padding="none" hide-label="true" id="kdg6e"/>
</start>
</border-layout>
</data-list>
</panel>
</sliding-drawer>
Added a touch button icon besides report work page icon in workorder details page and tagged the sliding drawer with that new button there.
No custom codes were written in this.
It shows data without any problem in RBA but it does not show the data properly in mobile app.
Sometimes it shows and most of the time it does not in mobile app.
Any idea why is this happening? Do I need to write some additional codes for it to work on Mobile app properly?
Please advise.
------------------------------
Ritesh Ranjan
------------------------------