MicroStrategy ONE

Device Preferences in iOS

There are many preferences that affect the mobile application. These device preferences fall into four categories:

Device preferences can be set by modifying the Preferences.xml file on the client or by programmatically changing them with DevicePreferences.h. The descriptions for the settings in the four sections listed above are described in terms of changes to the XML file.

The top level node in Preferences.xml is the <dp node, which has two child nodes—<cnf for the configuration and <cld for the cloud configuration. The <cnf node contains the top level nodes for general settings (<gnl), connectivity settings (<cty), home screen settings (<hsc) and configuration link properties (<lnk), as well as a number of element attributes, as shown in the table below. Additional table in the other topics in this section provide detailed information about the child elements and attributes in these four top-level configuration nodes.

Parent Element

  • Child Element 1

  • Child Element 2

Parent Element Attributes Description Data Type Default Value

 

<dp

 

 

Device preference  (available only on the client)

 

 

 

<cnf

 

 

Represents the configuration

 

 

 

 

cid

 

Configuration ID from Web Server

 

String

 

" "

 

 

n

 

Configuration name

 

String

 

 

" "

 

 

 

dt

 

Device type

 

Integer enumeration

 

 

 

ct

 

Configuration type

 

 

RESERVED FOR FUTURE USE

 

 

 

 

cntr

 

Counter of configuration modification times

 

Integer

 

0

 

 

bld

 

Bundle version

 

String

 

 

" "

 

 

 

dmo

 

Is demo

 

Boolean

 

 

False

 

 

v

 

Version

 

 

 

<cld

 

 

Represents the cloud configuration (available only on the client)