Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-195

Create a Registry of variables to be used from operation expressions.

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.3
    • Component/s: None

      Description

      See https://jira.nuxeo.org/browse/SUPNXS-17.

      A variable registry should be exposed in operation expressions. This way variable that can be defined for each target platform
      can be used in operation expressions.

      To define a variable you simply create a ja a.properties file in nuxeo config directory and put there you variable definitions:
      my.var=the value

      Then from the operation you can access the variable using the "Env" map:

      expr: Env["my.var"]

      Note that all the nuxeo environment variables are accessible from the Env map - so you need to correctly prefix your variable name to avoid name clashes with existing variables.

        Attachments

          Activity

            People

            • Assignee:
              bstefanescu Bogdan Stefanescu
              Reporter:
              bstefanescu Bogdan Stefanescu
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: