I've just been reading this old post, as I'm after the same behaviour as darkagn above. However, when I manually update a date/time field in a topic (by pressing F9 or right-clicking and choosing Field > Update Field) the change does not stick when I save the topic. It reverts to the original value when the topic is reopened or republished. Is this a bug or just a limitation?
You replied to a thread that is perhaps seven years old. What version of RoboHelp are you using?
Hard to say what may be going on without knowing that information.
Hi Rick, I'm running RH 2015.
Okay, I think I see what is happening here. And I'd have to say it would appear to be a bug to me.
After you update the field, you need to make a minor change and issue a save command to commit the changes and update the topic. Unfortunately, simply updating the field doesn't seem to trigger a change in the topic.
I'm basing that off the topic tab behavior. When you make a change to the topic, perhaps by typing something different or removing something, the tab shows the topic as being "dirty". (Dirty means that what is inside the topic in memory is different than the topic file on disk)
I might also encourage you to file a bug by clicking the link below:
I raised this one a while back. Adding a space then deleting it will indeed allow the topic to be saved with the field update in place.
Hmmm, shouldn't that be amended?
Manually updating a field doesn't get detected as a change when publishing
Shouldn't it be:
Manually updating a field doesn't get detected as a change when editing
If you can tell me how, I will - I mis-typed another feature request yesterday.
Yes that's exactly what's happening. I guess that makes sense because in practice you'd open a topic and edit something first, so the topic would be "dirty" at that point anyway.
Incidentally, there might be another bug relating to fields. The RoboHelp 2015 documentation states that selecting the Auto-Update This Field option will update the field upon opening the topic. However, in my experience this is not the case. Every topic is automatically updated when published, even those that haven't been opened.
So I think we may have 2 bugs here:
1) Fields updated manually don't get detected as a change without making an edit to the content first.
2) Fields with the Auto-Update This Field option selected are automatically updated when publishing, irrespective of whether the topic has been opened.
Please can you confirm that you see the behaviour in point 2 and then I'll raise a bug for each.