For every property set in the schema, there is a method to get / get its value.

System Designer uses JavaScript as main language for building systems.

save.

Create components

What is a component ?

A component is the instance of one class of your model. You can define them graphically but you can of course create them with code (but do not forget to require the class before using it in that case, example: const Jedi = this.require('Jedi') ).

click on the Components tab,

click on the + button on the left toolbar,

a new component is now created and appears in the Components list,

What are the informations set by default ?

All the value of the attributes, links or collections are set with the default property value of the model.

functionstart() {
letluke=null,
logger=null;
// get logger componentlogger=this.require('logger');
// get luke componentluke=this.require('luke');
// get the name of the father of Lukelogger.info(luke.father().fullName());
}

save.

What is a logger component ?

A logger component is available to log messages in System Designer.

Test the system

click on the run button on the left and

click on the Logs tab and you will see the result.

Use your system client side

Version compatibility

This feature is only available on the Windows 10, macOS and HTML5 versions of System Designer.

click on the export button,

select HTML,

your system will be exported in a HTML file,

load the page and

open the console of your browser to see the result.

Use your system server side

Version compatibility

This feature is only available on the Windows 10, macOS and HTML5 versions of System Designer.