A common requirement is to be able to get data from a URL query. Right now, there is no perfect solution to this problem in Online/Enterprise Editions. You can use this method, but it requires using two Experiences and doesn't allow for the Experience to work without a URL parameter. Better options should be coming to the Online version in Q1 2024. Until then, if you are on Developer Edition, you can use this starter widget to build your own solutions.
This widget uses the built-in URLSearchParams method to directly inspect and extract data from the URL. The code in the included zip package is intentionally incomplete as there is no way to practically code this for a generalized case, but it should get you halfway to a complete solution. Using a widget like this will allow you to extract URL parameters with a single Experience that will also work normally without any URL parameters. The final version of this widget should have all of it's visible output removed, be made as small as possible in the builder mode and tucked into an unused corner of your
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate para una cuenta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.