Internal documentation only
This page has been marked as draft.
Rules - How to extract the last modified time of a file and display into a Headline
Related to Copied
I want to display the timestamp of the file I’m loading in a headline
Problem Copied
I have a Toolkit that writes to a file, and I want to display the time the file is changed.
Possible solution(s) Copied
To do this, you may get the timestamp of the file via FKM, apply that cell’s path as the path alias and reference a value from a specific path (column/cell) in a dataview using a path alias, and retrieve the actual value from that location for use in the rule evaluation.
Example:
This is the file configured via FKM showing the lastModification time:
Right-click this cell and copy the path:
In your rule, go to the rule’s Advanced tab and paste the path in the text parameter:
For your toolkit, go to the advanced tab and add your headline. The cell should show something like this:
Right-click the empty headline and copy the path:
After copying, add that path to your Rule’s target, then add the following rule:
Rule example:
value path "<yourpathalias" value
Save the changes. Your fileTimestamp should then be reflected.