How to hide screen objects that can't show data?

Hello,

I have created a screen with several graphic-objects. Depending on the screen selection, some of them can't show data. Which leads to the picture shown in this screenshot. The most right grapic shows an error-message.

Is there a possibility to hide this error message? If the object can't show data, I want it to be invisible or at least show nothing.

Kind regards


Accepted Answer

  • Helmut Heimann
    Helmut Heimann Employee, Community Captain
    50 Answers 500 Comments 250 Likes Fourth Anniversary
    Answer ✓

    Hi @Oliver Walter ,

    you could provide a layout to the label displaying the image. In that layout switch to settings to allow for visibility configuration depending on a block in the layout.

    Kind regards
    Helmut

Answers

  • Thank you.

    There was a little transalation issue. Its not a graphics-object, but a chart-object.

    Nervertheless the solution is the same.

  • Hello @Oliver Walter,

    for an enhanced UX/UI you could think about the usage of containers with dynamic options to avoid empty areas within your screen and automatically reorganize the enabled objects

    You can manage the visibility of embedded Objects in order to show or hide some of them in Play mode: their position in the container when the Screen is opened in Play mode depends on the configuration of the visibility properties.

    For example, if an Expander contains one Data View in the first position and a Chart in the second, but the Data View is hidden due to its visibility settings, the Chart is automatically displayed in the first position of the container.