cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieve File Creation Date from Deployment PrepareCallback?

wchen1
Champ in-the-making
Champ in-the-making
Hi,

Is there a way that we can retrieve file creation date time in PrepareCallback for deployment? We have logic to validate each file in PrepareCallback during deployment and want to see if we can get each file creation date time.

Thanks!
1 REPLY 1

mrogers
Star Contributor
Star Contributor
Not out of the box unfortunatly.

However the cm:created property is available but is not copied into the DeployedFile object which is contained within the Deployment object passed into the init method of the prepare callback.   If you look at the DMDeployedFile class thats one example of adding extra data to the DeployedFile class.   It would be estimate 10 lines of code to change.