Dynamic Service Credits

501
1
01-30-2018 06:20 AM
Status: Already Offered
Labels (1)
MichaelGibson1
New Contributor II

Currently on our Basemap Map Services we have OS copyright text in the credits parameter, which includes the current year which is just stand un-dynamic text.  It would be good to make the year part of this text dynamic so that on the January 1st it automatically updates to the new year e.g. today.getFullYear(). Realise that this is a small task but it would be convenient to have this automated.

1 Comment
AubriKinghorn
Status changed to: Already Offered

Based on my understanding of your request you can do this by adding year dynamic text to the service credits. Multiple pieces of dynamic text can be combined in a single element. The year dynamic text tag is "<dyn type="date" format="yyy"/>". Learn more about time and date dynamic text here: https://pro.arcgis.com/en/pro-app/latest/help/layouts/date-and-time-dynamic-text.htm#GUID-672B39FC-4... . Please let me know if you are looking for something else.