Sharepoint 2013, on-premise, we provision a document library declaratively using a sandbox solution.
How can we - in the declaration - add a simple retention policy (Information Management Policy Settings) to delete files after 30 days of creation?
Is this even possible or does one need to resort to event receivers on creating an instance of the library?