Patent ID: 8645376

Claim:
A method of managing data stored on a mobile device in remote communication with an on-demand database system, comprising: determining whether a user of the mobile device has permission to access a first data object managed by the on demand system; updating most recently used (MRU) data items in on demand service to reflect the most recently used set for the mobile device, wherein the on demand service includes a middle tier server; selecting data items from the first data object, using the middle tier server, to form a first set of data items for potential inclusion on the mobile device, the selecting data items based at least in part on a user-defined criteria filter; selecting a set of one or more of the MRU data items for the first data object for potential inclusion on the mobile device, the MRU data items selected based at least in part on activity with the items by the user; and storing locally at the mobile device a second set of data items from the first data object, the second set including data items from the first set of data items and from the MRU data items, excluding from the second set of data items fields of the first data object that are designated as not able to be mobilized and periodically truncating a portion of the MRU data items from the second set.