Select to view content in your preferred language

Dynamic Service Credits

01-30-2018 06:20 AM
Status: Already Offered
Labels (1)
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
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: . Please let me know if you are looking for something else.