OfflineFetchScript attribute
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello All
Has anyone used this attribute OfflineFetchScript for reference input (offlinemode) successfully?
I tried to set it like below:
OfflineFetchScript -> javascript: new global.myScriptInclude().getIds();
and this script returns string with sys_ids, comma separated, but it is not working offline. No users are available.
Can you please help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
As per doc : https://www.servicenow.com/docs/r/yokohama/mobile/reference-fields-offline-attributes.html
Try it in incognito/private browser once.
| OfflineFetchScript | Use to specify a list of Sys IDs for reference records. Using this attribute, you can define what records to cache while in offline mode. Reference fields can return many thousands of records, but only 1,000 records are supported to cache for offline mode. Use this attribute to define the specific records (1,000 or less) that you want to cache for use while offline. If this attribute is not used, then the first 1,000 records returned are cached. |
