Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

The following examples show how to add and remove a custom notification string for files in the block list and how to enable and disable notification dialog boxes by using the OMA Client Provisioning protocol.

In a custom notification string, %1 will be replaced with the file name. If a friendly name is specified in the block list for a file, %2 will be replaced by the friendly name.

Code Example

The following example XML shows how to add a custom notification string and enable notification dialog boxes.

Copy Code
<characteristic type="SoftwareDisable">
  <parm name="DisableNotification" value="0" />
  <parm name="NotificationString" value="
{Filename: %1 Friendly Name: %2 is blocked}" />
</characteristic>

Code Example

The following example XML shows how to remove an existing custom notification string and enable notification dialog boxes.

Copy Code
<characteristic type="SoftwareDisable">
  <noparm name="DisableNotification" />
  <noparm name="NotificationString" />
</characteristic>

Remarks

One provisioning XML file typically contains configuration information for multiple configuration service providers. To use this example, you must replace the values as appropriate, and add the node as a child of the OMA Client Provisioning file. For information about the syntax of this file, see OMA Client Provisioning Files. For examples, see OMA Client Provisioning XML File Examples.

For these examples, replace the information in braces {} with correct values for your system. The following table shows the meaning of the information that you must replace.

String to replace Meaning

{Filename: %1 Friendly Name: %2 is blocked}

The custom notification string that will display when any block-listed file tries to run. %1 will be replaced with the file name. If a friendly name is specified in the block list for a file, %2 will be replaced by the friendly name.

See Also