Starting with the bare minimum - Manual - Library Toolbox - Library toolbox - Library toolbox,extension

Library Toolbox Extension

Portfolio
SIMATIC AX
Product
Library Toolbox
Software version
0.20.2
Edition
10/2024
Language
English (original)
Package Name
@ax-vscode/siemens.library-toolbox

The bare minimum consists of the type annotation and a corresponding HTML site.

  • <package-name>, the name declared in the apax.yml file.
  • <path-to-html-file>, the path to the html file serving as application entry point.
NAMESPACE SampleFactory
    // 'axcode:config-ui-v0:<package-name>:<path-to-html-file>'
    {axcode:config-ui-v0:SampleFactory:machine.html}
    CLASS PUBLIC Machine END_CLASS
END_NAMESPACE

Then, create a dummy HTML site or copy this snippet into the file ui/machine.html:

<!DOCTYPE html>
<html>
  <head></head>
  <body>
    Library App HTML
  </body>
</html>

apax.yml

name: "SampleFactory"
version: 0.0.1
type: lib