Select to view content in your preferred language

How Can I Modify the URL of a Data Service in My Dashboards?

586
4
11-23-2023 10:17 AM
Labels (3)
SebastiánMonsalve
Emerging Contributor

Hello ESRI Community!

I hope everyone is having an amazing day. I have a question, and I'm sure some of you have the expertise to guide me.

Recently, I've been working on an ArcGIS dashboard and have found the need to modify the URL of a data service. I've tried exploring the available options on the platform, but I was wondering if any of you could share your wisdom and guide me on the best way to do this.

Here are the details:

**Objective:** I want to change the URL of a data service in my dashboard to ensure that the data reflects the most recent and relevant information.

**Has anyone done this before? What are the recommended steps?**

I appreciate any advice, tips, or guides you can provide. The ESRI Community has always been incredibly helpful, and I'm looking forward to learning from your experiences!

Thank you in advance!

 

0 Kudos
4 Replies
JessicaMcCann
Esri Contributor

Most dashboard elements are data driven and require that you select their data source as the first step of configuring them.

See more about configuring Data Settings here 

SebastiánMonsalve
Emerging Contributor

Ok, I will check it out. Thank you very much.

0 Kudos
MobiusSnake
MVP Regular Contributor

I don't know a way to do this through the standard web interface that doesn't bust all your settings.

What I've done to get around this is the following, using the ArcGIS API for Python:

  • (API) Open the item and download its JSON definition
  • (Not API) In a file editor, find any URLs referenced and modify them
  • (API again) Open the item and call update() to push the modified definition onto it

You'll want to keep a backup of your unmodified JSON definition, depending how extensive your changes are it's easy to make a mistake and turn it into a trashboard

Edit to add - You'll probably want to try this out with a dashboard you don't care about first as well

SebastiánMonsalve
Emerging Contributor

Ok, I will take the considerations into account.
Thank you very much.

 

0 Kudos