Adding a Custom Command

You can add custom commands to manage devices.

Procedure

  1. In the left navigation pane, click Commands.
  2. Click Select Action > Add.
  3. In the Add Custom Command dialog box, enter the information for the new command, then click Add.
    • Display Name – Enter the name displayed to the user.
    • Command – Enter the command in the following format: "command":<command>
    • Handler – Enter the name of the package handler.
    • Has Output – Select the check box if the command will produce output.
    • Description – Enter a short description of the command.
    • Platform – Select the platform (Predix Machine or Predix Edge) on which the command will run.
    • Parameters Name – Enter the display name for the parameter, such as UNIT.
    • Key – Enter the parameter that corresponds to the parameter name, for example, unit.
    • Value – Enter the value that corresponds to the key.
    • Editable – Select the check box to enable editing of command parameters.