[progress Communities] [progress Openedge Abl] Forum Post: Re: [4.2] - Rbv_error_title Is...

  • Thread starter Thread starter Mohammed Siraj
  • Start date Start date
Status
Not open for further replies.
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...
 
Status
Not open for further replies.
Back
Top