Hi Rahul,
I also had an issue with the performance of the search when I added some custom fields to the Search screen.
I managed to optimize the search by making sure that the where clause is using indexes.
Considering that Anywhere app is in your control it should be easy to identify what indexes are required.
Please note that 2 methods should be modified to support your custom fields:
- setSearchQuery - validation method
- populateSearch - main method
Also I found that I had to change a default filter (istask: false) to
var filter = {istask: false, historyflag: false, siteid: siteID};
That was the main improver of the response time.
------------------------------
Alexey Potanin
------------------------------
Original Message:
Sent: Wed September 29, 2021 02:22 AM
From: Rahul Rawat
Subject: Maximo Anywhere 7.6.4 Search WorkOrder Issue
Hi Everyone,
We are trying to add new fields on search work order menu and its working fine. but its doing a completed Maximo server search and taking enough time as server has more than 1 million work orders .
is it possible to restrict search functionality limited to local app data ?
Thanks,
Rahul
------------------------------
Rahul Rawat
------------------------------
#AssetandFacilitiesManagement
#Maximo
#MaximoAnywhere