customButtonFilter

The filter for this operator is presented by type customButtonFilter (ui_input.xsd) and structured as follows:

  • The custombutton-id node is required. It specifies ID of a custom button. Data type: integer.
  • The owner node is required. It specifies the custom button owner. For details, refer to the Owner section. Data type: CBOwner (plesk_custom_button.xsd).

 

Remarks

A single filtering rule can specify multiple custombutton-id or owner parameters. The filter that matches custom buttons with ID 4 and 5 looks as follows:

   <filter>
      <custombutton-id>4</custombutton-id>
      <custombutton-id>4</custombutton-id>
   </filter>

 

The filter that matches custom buttons owned by customer with ID 1 and 2 looks as follows:

   <filter>

      <owner>
            <customer-id>1</customer-id>
      </owner>

      <owner>
            <customer-id>2</customer-id>
      </owner>

   </filter>