Macro - add timestamp (generate and/or modify) topic
Answered
Hi all,
is there a way to add a timestamp (property) when you add and/or modify a topic?
By macro or else?
If so, can you please help me with a string?
Thanks in advance!
This request has been around for a long time - see this suggestion.
You could use a macro to add a timestamp (date) property to a topic, but the bigger issue is how to execute it when a topic is created or modified. Macros are generally unable to respond to events. It would also hurt performance to load and execute a macro at every topic modification event. A solution would to build an Add-in that stays in scope, catches the topic modification event, creates or updates a read-only topic property, and avoids calling itself after changing topic properties. In the API, custom properties are defined within a topic data container.
This request has been around for a long time - see this suggestion.
You could use a macro to add a timestamp (date) property to a topic, but the bigger issue is how to execute it when a topic is created or modified. Macros are generally unable to respond to events. It would also hurt performance to load and execute a macro at every topic modification event. A solution would to build an Add-in that stays in scope, catches the topic modification event, creates or updates a read-only topic property, and avoids calling itself after changing topic properties. In the API, custom properties are defined within a topic data container.
---