Select to view content in your preferred language

Include ability for a button to force a browser refresh which would clear any active widgets while retaining map extent and layer visibility settings

326
1
04-22-2025 03:07 PM
Status: Open
AdmininstratorRDOS
Occasional Contributor

We have a use case where we are configuring many widgets such as print, near me, select, draw, etc. Some of these widgets will remain active and/or results will remain active even when the widgets are closed. For example, we could have the print extent, drawings, near me buffer results, and an active selection set all active at one time within the application. This may be useful in some use cases but can also be quite confusing to the end user, who must go into each widget to disable the tool/clear the results or refresh the application.

The ‘Manage URL status’ settings in Experience Builder (see blue markup in screenshot below) are a great way for us to include url parameters of settings that are important to our end users.

For example, we would like to retain the map extent and layer visibilities. We can enable these settings to include these parameters in the URL. We have found that by applying these settings and asking the end user to refresh the browser is one way that they can clear all active widgets and results from the application while retaining map extent and layer visibility. However, it would be ideal to allow this capability within a button widget directly in the app rather than asking the user to use the browser refresh option.

For buttons in Experience Builder, you can set the link to the current page, but when set to open in ‘app window’ or ‘top window’ (see red markup in screenshot below) it doesn’t force the browser to refresh and therefore the active widgets, drawings, etc. remain visible in the app. It would be ideal if there was a setting in the button widget to force a browser refresh when you are linking to the current page.

ExB_Settings.PNG

 

1 Comment
ShengdiZhang

Hi @AdmininstratorRDOS ,

One simple workaround is to use the app URL in the set link - URL settings, and set it to Open in the App window.

ShengdiZhang_0-1745458615894.png

Regards,

Shengdi