Top
Top
LibraryEASYProcess Reference ManualProcessesServicesHtmlWorkshopRefresh

Refresh Overview

The Refresh service is used to reload the page. This service mimics the reload functionality in a browser. This service accepts no input and only outputs info on when the service was run and duration.

This can be useful when we wish to reload the page in order to refresh webparts, but want to maintain the existing query strings. We could choose to reload only the portions of the page that need to be refreshed (datasources and onloads), but if there are very many and the developer doesn’t wish to target them all directly, this can be a simpler approach, though it will rerun all datasources and onload processes, so it could cause longer load times.


Refresh Use Examples

Refresh Use Examples

Basic Refresh Use

In this example we have a reload button with “Refresh” service in its process. The process saves user inputs and then reloads the page. The “Refresh” service accepts no input and only outputs info on when the service was run and duration. Here’s a closer look at the service:

Refresh Service Configuration (Accepts No Input)

Output

Using Refresh Service to Reload In Language Selection

The preferred language for user is stored as session variable and when the page loads we check session variable containing preferred language. Users have the ability to change their language while they’re on the page. When users select their preferred language using the language dropdown, the selected language is added to the session using “AddToSession” service and then the page is reloaded using “Refresh” service.


Powered by EASYProcess (© 2019 K-Rise Systems, Inc).