Administrator

Managing Feature Restriction Policies

Manage a list of feature restriction policies that apply to all applications from a central location. Feature examples include camera, printer, and push. You can add, allow, restrict, edit, or delete features, and apply changes to existing hybrid applications.

Context

From a central location, administrators can manage a list of feature restriction policies for hybrid applications. Each of the centrally maintained feature restriction policies serves as a template. An updated template is automatically applied to new hybrid applications, and can be manually applied to existing ones.

Procedure

  1. In Management Cockpit, select Start of the navigation path Settings Next navigation step Feature Restriction Policy Template End of the navigation path.
  2. View the current status of feature restrictions.
    Column Description
    Plugin A list of feature plugins that are available with the application, such as Camera, Calendar, and Push.
    ID Unique identifier for the plugin.
    Allowed Indicates whether the feature is allowed or restricted.
    • To allow the feature, select Yes.
    • To restrict the feature, select No.
  3. To add a feature restriction policy, click the Add icon .

    In the Add Feature Restriction Policy window, enter restriction policy values, and select Save:

    Property Description
    Name A unique feature name.
    Plugin A feature plugin that is available with the application, such as Camera, Calendar, and Push.
    Plugin Name A plugin that is available with the application, such as Camera, Calendar, and Push.
    Description A feature plugin description, such as Cordova Camera Plugin, Cordova Contacts Plugin, and SAP Push Plugin.
    JavaScript Module A comma-separated list of the JavaScript modules that this plugin uses. The JavaScript Module value is the JavaScript API that is used to invoke the plugin, and defined in the plugin.xml file.
    ID Unique identifier for the plugin. The value comes from the cordova_plugins.js file, which appears in the project after you add a plugin ("pluginId").
    Allowed Check to allow the feature.
  4. (Optional) To edit a feature restriction policy, click the plugin name.
  5. (Optional) To update the feature restriction policies for specific applications, select Update Apps, select the applications, and click Apply.
  6. (Optional) To change how the list is presented, click the sort icon.
  7. (Optional) To delete a feature plugin, select it, and click the Delete icon . You can select multiple rows for deletion.