The CreatorCon Call for Content is officially open! Get started here.

Guido Bernuetz
Giga Guru

Very flexible pages can be created by controlling the visibility of components. One example is the Loader component. It’s very helpful to show the user that something is in progress. Of course, this component should only be visible when the background process is running.

find_real_file.png

How to:

  1. Define a client state parameter of type Boolean (eg. “isLoading”)
    find_real_file.png
  2. Bind this parameter to component visibility. Click the little eye icon on the top right.
    find_real_file.png    find_real_file.png
  3. Set the value of this parameter by an event which starts the longer running process (eg. Start or Refresh of Data Broker) to show the loader
    find_real_file.png
  4. Set the value of this parameter at the end of processing (by Data Fetch Succeeded event of a Data Broker) to hide the Loader
    find_real_file.png
Comments
Mona Hammad
Tera Contributor

Thanks Guido it was helpful, I could use it at my side.

DHARAVATR
Tera Explorer

Hi SN Expert @Guido Bernuetz  I want to hide loader 1 when guidance is completed, and loader 2 will be shown after that. in the same UI builder page when I get output from the transform script. How do I do that? 

Version history
Last update:
‎08-11-2022 08:46 AM
Updated by: