Select to view content in your preferred language

Using web map services as operational indicators in Dashboards

832
3
Jump to solution
02-25-2021 11:25 AM
Labels (1)
luke_worsham
New Contributor

Our team manages multiple web service URLs, each serving multiple map service layers. I had the idea to use a Dashboard of these services to monitor when certain connections go down or become unavailable - sort of a quick-glance series of red = up / green = down indicators. But so far I can't figure out how to format an indicator to merely indicate an active web service connection. Is there a (better) way to do this? 

Thanks for any help -

Luke W.

0 Kudos
1 Solution

Accepted Solutions
jcarlson
MVP Esteemed Contributor

For a quick glance "is this on?" indicator, consider using the "No Selection" or "No Data" label. The contents of this text box will render when there is no data, such as when the service is down.

You could set the contents to an SVG item by clicking the Source button and entering the following code:

<p style="text-align:center"><svg height="200" width="200" xmlns="http://www.w3.org/2000/svg"> <circle cx="100" cy="100" fill="#ff8888" r="98" stroke="#fd0000" stroke-width="4"></circle> </svg></p>

Which would render as:

jcarlson_1-1614282121706.png

Feel free to turn that to an SVG of an exclamation or an X or what have you.

Then for the indicator itself, remove any text and just turn on an icon that will render any time the layer is connected to.

jcarlson_2-1614282418300.png

 

It's also likely that when the service is down, you might see a little yellow warning symbol and a message about the layer being inaccessible. But hey, that works at a glance, too! The important thing is, the "No Data" label you have configured will still work when the layer is down.

jcarlson_3-1614282674857.png

 

- Josh Carlson
Kendall County GIS

View solution in original post

3 Replies
jcarlson
MVP Esteemed Contributor

For a quick glance "is this on?" indicator, consider using the "No Selection" or "No Data" label. The contents of this text box will render when there is no data, such as when the service is down.

You could set the contents to an SVG item by clicking the Source button and entering the following code:

<p style="text-align:center"><svg height="200" width="200" xmlns="http://www.w3.org/2000/svg"> <circle cx="100" cy="100" fill="#ff8888" r="98" stroke="#fd0000" stroke-width="4"></circle> </svg></p>

Which would render as:

jcarlson_1-1614282121706.png

Feel free to turn that to an SVG of an exclamation or an X or what have you.

Then for the indicator itself, remove any text and just turn on an icon that will render any time the layer is connected to.

jcarlson_2-1614282418300.png

 

It's also likely that when the service is down, you might see a little yellow warning symbol and a message about the layer being inaccessible. But hey, that works at a glance, too! The important thing is, the "No Data" label you have configured will still work when the layer is down.

jcarlson_3-1614282674857.png

 

- Josh Carlson
Kendall County GIS
CraigCheeseman
Regular Contributor

Hmm.  This does not work as expected for me.  I have configured the way you have suggested but if the service for that indicator is down, all the other indicators, lists, etc. also go down and show Data source error.  None of the other indicators are using the service that I am trying to track with your suggested workflow.  My map still shows up but that is it.

CraigCheeseman_0-1615907377565.png

 

0 Kudos
luke_worsham
New Contributor

Thanks, Josh. This is right along the lines of what I had in mind.