Child pages
  • Substitution Language

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added NP-1253: Variables of the Resource

...

Code Block
titleExample with component prefix
:[component:/examples/Echo:sys.name]

Variables of the Resource

The following system substitutions can be used with resource prefix:

SubstitutionDescriptionSample Output
sys.deployNameReturns the name of the resource.ExampleResource
sys.deployPathReturns the path of the resource with a trailing slash./opt/resourcePath
Code Block
titleExample
:[resource:resourceName:sys.deployName]

The usage with an component prefix is also possible:

Code Block
titleExample
:[component(exampleHost):/examples/component:resource:resourceName:sys.deployPath]

Host Substitutions

Target Substitutions (target)

...