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 XML example sets the hierarchy for a set of folders by using FolderHierarchysettings.

Note:
The folder hierarchy settings need to be sent to the device after the initial sync has already been performed, otherwise the folder hierarchy is not yet on the device and the provisioning xml will not do anything.

Code Example

Copy Code
<characteristic type="Sync">
   <characteristic type="FolderHierarchy">
	<characteristic type="Inbox">
		 <characteristic type="Meeting Notes">
			<parm name="SyncEnabled" value="1"/>
		 </characteristic>
		 <characteristic type="Project Folders">
			<characteristic type="urgent">
			 <parm name="SyncEnabled" value="1"/>
			</characteristic>
			<characteristic type="Contacts & Associates">
			 <parm name="SyncEnabled" value="1"/>
			</characteristic>
		 </characteristic>
	</characteristic>
   </characteristic>
</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.

See Also