Original Message:
Sent: 12-29-2024 07:56
From: Benjamin Alterauge
Subject: Query regarding create service request customization in maximo mobile
I would create a separate data source. This doesn't make the XML much longer.
------------------------------
Benjamin Alterauge
SPIE RODIAS GmbH
Original Message:
Sent: 12-29-2024 06:02
From: Invading Moss
Subject: Query regarding create service request customization in maximo mobile
Hi Benjamin,
Thank you so much, your suggestion worked. I have another follow up question I need your advice on.
I made the above changes in the below place
<maximo-datasource id="numericDomainDS" lookup-data="true" object-structure="MXAPINUMERICDOMAIN" offline-immediate-download="true" page-size="10" selection-mode="single">
<schema id="xcyyb1">
<attribute id="e7zb_" name="domainid" searchable="true"/>
<attribute id="jx2nx" name="value" searchable="true" sub-type="INTEGER"/>
<attribute id="q8vbz" name="description" searchable="true"/>
</schema>
<code-comment text="Adding domain for internal priority of ticket" id="jzg77"/>
<maximo-datasource-override id="internalPriorityList" mobile-qbe-filter="{{'domainid': '=TICKETPRIORITY'}}" where="domainid="TICKETPRIORITY""/>
<maximo-datasource-override id="numericDomainValidationDS"/>
</maximo-datasource>
If you notice I changed the attribute sub type in the numericDomainDS datasource, although I am using the overriden datasource which is internalPriorityList for the lookup.
Now the issue is that this numericDomainDS I believe is being used in the TicketSpec table to display numeric domains against the classification attributes (which allows decimals). Since we changed the type here it will impact the display of spec attributes numeric domain values as well.
So do you recommend creating a separate data source altogether for the internalpriority numeric domain where I can specify schema and sub-type without impacting the numericDomainDS?
------------------------------
Invading Moss
N/A
Original Message:
Sent: 12-29-2024 04:47
From: Benjamin Alterauge
Subject: Query regarding create service request customization in maximo mobile
Have you tried setting the value attribute to an integer in the datasource?
...<attribute name="value" searchable="true" sub-type="INTEGER" id="test1"/>...
------------------------------
Benjamin Alterauge
SPIE RODIAS GmbH
Original Message:
Sent: 12-29-2024 00:52
From: Invading Moss
Subject: Query regarding create service request customization in maximo mobile
Hi All,
I am working on a customization related to create service request functionality in Maximo Mobile whereby I need to add custom fields and corresponding look ups for selection. One of the fields is internalpriority and has a numeric domain associated with the same. While I am able to display the lookup for selection the numeric values are padded with extra 0's. Is there a way to get rid of the same?
Below is the xml added to show the internal priority lookup for selection
<split-view-column background-color="ui-01" id="xyb5g" name="view3">
<box direction="column" id="aanpeqa">
<label label="Internal Priority" tooltip-text="Identifies the internal priority for the ticket." id="aaya5q6"/>
<data-list datasource="internalPriorityList" id="createPriority" margin="false" on-item-click="selectInternalPriority" show-count="true">
<list-item id="aa36bd">
<adaptive-row id="aamzme">
<adaptive-column id="abe6wq" large-width="33" medium-width="33" small-width="33" xlarge-width="33">
<label id="amp2p_" label="{item.value}" override-required="true"/>
</adaptive-column>
<adaptive-column id="aq72b8" large-width="67" medium-width="67" small-width="67" xlarge-width="67">
<label id="ap5y54" label="{item.description}" override-required="true"/>
</adaptive-column>
</adaptive-row>
</list-item>
</data-list>
</box>
</split-view-column>
As you can see above the items are being displayed using the label tag. Is that somehow causing the numeric values to be displayed in that way.
Attached a screenshot of the issue.
Thanks in Advance
#Mobility
------------------------------
Invading Moss
N/A
------------------------------