In situation where you get slow download time through your, rather than to rely on 3rd party caching, we recommend you to use the "Offline mode" or "Prefer Cache" features included in the SAP BI Platform and mobile client application.
<How “Prefer Cache” option works>
"Prefer Cache" works on top of downloaded dashboards and has no implications if a dashboard is not downloaded (If the dashboard is not downloaded, then the cache cannot work).
The way it works is like this:
1.User downloads a dashboard.
2.Opens it in online mode.
3.Whatever backend requests are triggered during this workflow, will be cached on client.
4.If "Prefer Cache" is enabled then whenever user opens the dashboard afterwards, cached content will be displayed. This functionality does not consider changes in backend i.e. even if backend data has changed, client will display cached data and not the latest data.
5.To display latest data, you need to update the document. If document is updated then local cache gets deleted and latest data will be displayed.
Prefer Cache – Prerequisites
1. Set feature.dashboards.prefer.cache.enabled = true
2.Setfeature.autoupdate.enabled= true
3.Update manually or automatically the dashboard when it is necessary to push updated data to the client devices.
Configuration to check | Remarks | |
# | to check C | CRemarks |
1 | Set offlineStorage = true in CMC -> Applications -> SAP BusinessObejcts Mobile -> Properties. | Refer to SAP Mobile Administrator's guide section “4.7 Configuring Application's Behavior by Specifying Properties on the Server” for more information. http://help.sap.com/businessobject/product_guides/boexir4/en/631_mobiOS_admin_en.pdf |
2 | Unmark “Confidential” if it is set as confidential in the dashboard properties. | You can verify by looking at padlock icon, if it is confidential, you will see the icon, if not confidential, there would be no icon shown. |
3 | Grant the rights to users to save dashboards on device (only when the right is granted and offlineStorage=true, users can download/save BI documents to the device). | See the section “4.8 Granting Users the SAP BusinessObjects Mobile Application Rights on BI platform”: http://help.sap.com/businessobject/product_guides/boexir4/en/631_mobiOS_admin_en.pdf |
4 | Set the parameter "offlineStorage.ttl" to proper values. | The default value is 365 days (offlineStorage.ttl=365), this means that the downloaded documents would be cached and expired after 365 days and are automatically removed from the local memory of device. Please adjust the value to your business needs. |
Prefer Cache – Updating Dashboard Time Stamp
If it is not possible to update the dashboard manually as in your case (because that would involve too much operational workload to end-users), then possible alternative for you would be to use some automatic procedure to update the dashboard. Here are some possibilities to update the dashboard time stamp.
#。 | Solution | Description |
1 | Using Java SDK script | Use Java SDK script to update the time stamp, and configure some schedule mechanism to execute the java script, at defined interval (for ex: every 1 week or 2 weeks), or under some trigger condition. |
2 | Scheduling an LCM job | Schedule an LCM job to re-upload the dashboard at fixed dates or under some trigger condition. |
How to create a trigger condition using Events for solution 1 & 2
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
17 | |
14 | |
13 | |
10 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 |