Select to view content in your preferred language

Operations Dashboard. Can I edit the Flash action to last longer or permanent?

2418
5
03-16-2019 06:51 PM
JustinCasler
New Contributor

In my Operations Dashboard I use a Category Selector with Actions to pan, zoom and flash to a neighborhood on my map. This is obviously now my main focus. Is there a to have the Flash permanent or more of an outline? I can set symbology or whatever for the neighborhoods of course but rendering is slow as dirt. 

5 Replies
JamieLambert
Frequent Contributor

Can I edit the Flash action to last longer - Yes! In order to do this, you need to edit the Dashboards JSON, and this can be done with the ArcGIS Online Assistant .

JamieLambert_0-1619353738521.png

Once you log in to the ArcGIS Online Assistant with your credentials, you will see your content. From the 'I want to…' drop-down, select 'View an item's JSON'.

JamieLambert_1-1619353738529.png

Navigate to the Dashboard you want to edit the flash repeat count of and select it. The JSON will appear on the right. The first section of JSON is the Description and the second section is the Data.

JamieLambert_2-1619353738554.png

Scroll down to the second section, Data, and select edit (the pencil icon). A warning message will pop-up to let you know that editing the JSON is an unsupported workflow.JamieLambert_3-1619353738557.png

NOTE: it doesn’t hurt to make a copy of the JSON before making your edits.

Scroll down until you find the "flashRepeats": 3, row, or use the default search option (ctrl-f) to search for 'flashRepeats'.

JamieLambert_4-1619353738575.png

Change this to the number of repeats you want in your Dashboard. In this example I have changed it to 8. Click save (the JSON must be valid in order to save or you will see an error message).

JamieLambert_5-1619353738593.png

Refresh your Dashboard and the flash repeat count will be updated.

NOTE: If you have more than one map in your Dashboard, use the map itemID to confirm you are looking at the settings for the correct map. The flashRepeat count is edited per map.

Hope this helps!

Jamie.

0 Kudos
NicholasRutledge
Emerging Contributor

Jamie,

This works great. However, could you help me figure out how to flash only the newest feature added to the map without having to use the selection tool? For instance, if adding a new damage assessment for a specific location and that location shows up on the dashboard a new attribute in a table, how can I get that only the newest attribute to flash?

Thank you

0 Kudos
JamieLambert
Frequent Contributor

Not sure if that is possible with the Flash Repeat. You may be better off looking into using Arcade for custom symbology - based on creation date or last edit date. This is on my list to look into, though I haven't had a chance as yet...

by Anonymous User
Not applicable

I have only "flashGeometry" with no additional parameters. What would I switch this out with to make it something like highlight geometry? I'm trying to make the selection highlighted permanently on my map

0 Kudos
anonymous55
Frequent Contributor

@JamieLambert Thanks for this how can make flash halo something like this.

ARM_0-1647027616809.png