AnsweredAssumed Answered

Last time a template was modified

Question asked by natdavidson on Aug 4, 2017
Latest reply on Aug 4, 2017 by pmartin

So, I accidentally ran another bit of code that made a pretty drastic change to a bunch of our templates, and didn't figure out it was me that did it until about a week later. I'm now trying to undo what I did, but it's not as easy as I thought it might be. The easiest way i could see to fix this is getting all the element templates in our database and checking the last time the template was edited, then fix the tag config strings so they work how they were supposed to. I thought I could get some property from the AFElementTemplate class that would give me some thing like modified last. I know that AF tracks this somehow, as in PSE, when you click on a template, it shows you when a template was modified.

 

Anyone know how you can retrieve that information from AFSDK?

Outcomes