Registration Template Creation

Adds a template definition to be used for device registration.

Syntax

void addDeviceTemplate(String templateName, String templateDescription, List<PropertyItemVO> propertyItems) throws SUPAdminException;

Returns

If successful, returns silently. If unsuccessful, returns SUPAdminException.

Examples

Usage

When creating a registration template, you can define template settings by passing a list of PropertyItemVO objects. Each PropertyItemVO is identified by its property ID, which is a unique, predefined ID.

For example, ID 1 is the "server name" property of a message-based synchronization device. To view all predefined property IDs, use com.sybase.sup.admin.scc.client.SUPDeviceUser.getPropertyDefinitions() to view property metadata.