Resource files

The resource files are used to manage the files of your application.

To access the resource files, navigate to Definition - Resources - Resource files. Here the files and folders associated with the application at hand can be found. Files can be added, edited, renamed, copied, downloaded, uploaded or deleted here. It's also posible to search in a folder. To use these functions right click on the folder or file and select an option.

What are the Resources files used for?

There are different reasons why a developer would use files in his application:

  • to create your website, this will be Velocity files with web code such as html and css
  • to extend the business logic of the blueprint

There are 3 types of Velocity files. The extension types are: '.vm', '.pm' and '.am'.

  • a .vm can be called ‘from outside’ by any random internet user
  • a .pm can only be called from a blueprint setting or by the use of #parse
  • an .am can only be accessed through an AJAX request.

Using vulnerable code, with for example deleting records can cause security issues, so should not be used in .vm files. A .vm file can contain links to .pm files.