Programatically downloading an OML/OAP?

Programatically downloading an OML/OAP?

Is it possible to interate through all applications in Outystems programmatically download OML/OAP? 

Thanks a ton advance,
You could itterate trough the entities [espace] and [espace_version], the OML content is stored in the field  [espace_version].[OML_File]. i don't know if this is possible with Application.

The Application data is stored in the entities:
  • Application
  • Application_Icon
  • App_Definition_Module
  • Module
  • Espace or Extension
Kind regards,

NOTICE: OutSystems does not give support to any undesirable behavior you may experience due to the use or manipulation of undocumented components of the OutSystems Platform, such as, internal JavaScript, RuntimePlatform library, database system meta-model, components in installation directories, etc.

The reason I am asking is to make automated backups at periodic intervals. Doing it manually is a pretty time consuming task.
You could create a Sollution with all content, and download this package.
Thanks a lot. It works for me :)

The OML file is stored as BLOB in the field [OML_File]. All I have to do is to export this BLOB data and save it with extension OML.