Manipulate Assets Updated value


#1

Possible to manipulate an assets updated value? 

 

Cheers for any help.


(Nic Hubbard) #2

Do you mean the updated date? I am pretty sure a trigger can do it.


#3

Thanks Nic! I'll look into that.


(Robin Shi) #4

It's in the settings screen. You can change the value of create/update date, even the value 'by who'


(Nic Hubbard) #5
It's in the settings screen. You can change the value of create/update date, even the value 'by who'

 

But that is only Created and Published dates. Not the date of the last update.


(Robin Shi) #6

My bad, thanks for correcting me Nic!


#7
Do you mean the updated date? I am pretty sure a trigger can do it.

 

To confirm, worked like a charm  - Thanks again Nic!

 

Trigger settings for anyone interested: initiated via System Tools > Clear Matrix Cache

 

-----------------------------------------------

 

Status   Enabled

Blocking No

               

Events

Asset Recached + Matrix Cache Cleared

               

Conditions         

Tree Location

 

Show in Asset Map July 2012 (Id: #xxx) as an immediate child only

 

Actions                

Set the following standard asset date field: Updated

To this exact time Saturday, September 15th, 2012 13:33:00


(Nic Hubbard) #8

For the future, you can also use Trigger Batching which allows you to run a trigger by "faking" the event.