Is there a limit to results shown in a field in Mobile Agent?

Daniel O_Connor
Kilo Guru

Hi all,

Have been getting along nicely with a few custom apps for Mobile Agent. One of them is shortly about to go Live but the test group have one issue they identified. When they go to a field which normally has 1400+ results, in mobile it seems to just stop.

Easiest way to explain is if the name of these results is A-Z, on mobile app nothing appears after F.

It is a "Vendor" field where engineers will select a third party they will need to resolve Facility based issues. 

find_real_file.png

But on mobile app it seems to just stop returning results? 

Is there a limit I need to be aware of, and if so how would I go about returning the results I need? I guess I need to look into a way to render vendors based on their region or something?

7 REPLIES 7

MrMuhammad
Giga Sage

Hi Daniel,

I think it defaults to 1000. Please refer "Configure the maximum number of records returned for list UI parameters" system property in the later section of below docs.

https://docs.servicenow.com/bundle/orlando-mobile/page/administer/tablet-mobile-ui/concept/additiona...

Thanks & Regards,

Sharjeel

 

 

Regards,
Muhammad

Thanks for this info.

  • So I worked out the field listing in the app is cutting off at 500. 
  • glide.sg.list.pagination_size is set to 50.
  • glide.sg.list.max_items_number is set to 1000.

I can see some properties that have 500 defined as a value. Not sure any of them related to my problem as its just a search on a field, using reference to another table.

 

find_real_file.png

 

None of the properties from above list seems relevant.

Can you create "glide.sg.data_item.row_count" property and set the value to 1000 [if doesn't already exist]. "glide.sg.list.max_items_number" property is dependent on "glide.sg.data_item.row_count". That might be the cause.

Also, List type parameter has limit of 1000 records. As you have 1400+ records so you must use SearcList instead [If not already using].

Regards,
Muhammad

OK making progress now. I created that property as it did not exist. 

I can see in Agent Mobile the field is now showing more results. Still cutting off at a certain point though. 

As you stated, this is cutting at 1000. 

What is SearcList you are referencing? I might use that as a temporary workaround and as a permeant solution perform a review of the listing remove obsolete vendors. I think there was tons of out of the box vendors that we have never and will never use