M
Mohammed Siraj
Guest
Iram, on the client-page you can initialize a global variable to serve as a flag to indicate such a scenario and accordingly abort any following API calls (you might be doing in a loop construct). Across the session, you can write and read the flag from HTML5 browser session storage. For which you can leverage the following API calls (available only in NewUI pages). rb.newui.util.addToSessionStorage(storeKey, storeVal) rb.newui.util.getFromSessionStorage(storeKey) However, please avoid writing bulk information to sessionStorage as it is limited space per domain and may affect Platform behavior if exhausted. Note: With the above API you can write and read JSON objects from session storage without requiring the overhead to convert them to/from Strings.
Continue reading...
Continue reading...