Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For example, if your extension copies translated files then the parameter may be the target directory and the Beebox administrator can change the path from one project to the next.

Add parameter

Adding parameters a parameter starts with implementing the three methods below:

...

You could also raise an exception though this is not recommended: When triggered from the user interface a generic error message (not your exception text) would be displayed. If the extension is called from an automatic operation, the exception would be logged in the Windows event log.

 

Adding multiple parameters

An extension can have a single string parameter only. The project settings page shows a single input field.

If you need multiple values, then format your parameter accordingly:

  • A json, such as 

    Wiki Markup
    { "path": "myfolder\subfolder", "param2": "xyz" }
  • A semi-colon separated string:
Wiki Markup
"myfolder\subfolder; xyz"