×

Please give details of the problem

Skip to content

Projects/Versioned Files Tab

Allows you to view and manage the list of versioned files that are attached to your project.

A versioned file is a file that can have multiple revisions by contrast to uploaded files. A versioned file is typically aimed at hosting code of the application.

Typically versioned files should be in one of the following formats:

  • CSS (.css)
  • JavaScript scripts (.js)
  • Freemarker Template Library (.ftl)
  • PDF (.pdf)
  • Markdown (.md, .markdown)

Versioned files can be opened and updated via the code editor. When you save the file, a new revision of the file is created. A versioned file that cannot be edited (e.g. an image) can be saved by reuploading it.

Use [Upload file] to select a versioned file to be uploaded to the RunMyProcess platform. Decide whether the file is to be Public or Private. Use Public if there is no need for authentication when downloading or displaying the file (required for public Web interfaces with images or CSS files).

You can also directly create a new versioned file in the IDE. Use [New file] for this purpose. Refer to the information on the code editor below, for information on the editor that is displayed.

If required, you can make a Public file Private and vice-versa. For this purpose, click the icon in the Access column and choose the required mode.

Click a file name to display file details and then download it to your computer by clicking the name of the file on the description screen.

icon link enables you to copy the file URL.

icon copy enables you to copy the file ID.

The content of a versioned file can be accessed using the P_versioned_file_content freemarker function.

Code Editor

The code editor is a Web-based developer tool that lets you edit versioned files. It offers many features and optimizations that match to native editors:

  • Search and replace
  • Syntax highlighting for over 110 languages
  • Automatic indent and outdent
  • Cut, copy, paste, undo, and redo functionality
  • Live syntax checker (currently JavaScript/CoffeeScript/CSS/XQuery)
  • Multiple cursors and selections

info1

  1. Save the current versioned file
  2. Revert to the last revision of the versioned file
  3. Name of the versioned file
  4. Highlight all occurrences of the selected string
  5. Search for a text string in the file
  6. Start the search
  7. Search forward for the next occurrence
  8. Search backward for the previous occurrence
  9. Replace all occurrences of the last search pattern
  10. Syntax error
  11. Syntax warning
  12. Number of lines of the versioned file
  13. Column of the current cursor position
  14. Line of the current cursor position