4.3.4 Target Platform

Target Platform is required when creating a Reusable Part or Theme and determines the files generated at compile time.

Unlike a Form that automatically generates C and a DLL, or a Web Page that results in HTML and JavaScript objects, Reusable Parts and Themes can be defined to work across platforms and so need to have appropriate source code generated when they are compiled (i.e.reusable part) or referenced in a compilable object (i.e. theme).

Target Platform also serves as a clue for the IDE. The Controls view shows a different list of available controls, and the source editor will show different errors as certain language constructs are only appropriate for specific platforms.

The target platform can be changed in the Repository Details tab.

There are 3 possible values:

  • All Platforms – Object will be usable in browser and desktop applications and will be able to execute on a server.
  • Web Browser – Object will only be used when executing in a browser.
  • Windows/IBM i/Linux – Windows indicates the object will be usable in desktop applications.  IBM i and Linux are only available for reusable parts and indicate they can be executed on a server.


  • No labels