Partager via


Set the Hierarchy for Folders by using FolderHierarchy Settings Example

4/8/2010

The following XML example sets the hierarchy for a set of folders by using FolderHierarchy settings.

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

<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

Tasks

Sync Configuration Service Provider Examples for OMA Client Provisioning