Features/Mass Deployment/Setting Files/XML/Function Keys/Syntax

From Snom User Wiki

(Difference between revisions)
Jump to: navigation, search
(Added new optional attribute "default_text")
Line 2: Line 2:
  <?xml version="1.0" encoding="utf-8"?>
  <?xml version="1.0" encoding="utf-8"?>
   '''<functionKeys>'''
   '''<functionKeys>'''
-
   <[[Settings/fkey|fkey]] idx="<function_key_index)>" context="<[[Settings/fkey_context|function_key_context]]>" perm="[[Features/Mass Deployment/Setting Files/XML/Flags|<permission flag>]]">[[Settings/fkey|<value>]]</[[Settings/fkey|fkey]]>
+
   <[[Settings/fkey|fkey]] idx="<function_key_index)>" context="<[[Settings/fkey_context|function_key_context]]>" [default_text="[[Settings/label_default_text|label_default_text]]"] perm="[[Features/Mass Deployment/Setting Files/XML/Flags|<permission flag>]]">[[Settings/fkey|<value>]]</[[Settings/fkey|fkey]]>
   ...
   ...
-
   <[[Settings/fkey|fkey]] idx="<function_key_index>" context="<[[Settings/fkey_context|function_key_context]]>" perm="[[Features/Mass Deployment/Setting Files/XML/Flags|<permission flag>]]">[[Settings/fkey|<value>]]</[[Settings/fkey|fkey]]>
+
   <[[Settings/fkey|fkey]] idx="<function_key_index>" context="<[[Settings/fkey_context|function_key_context]]>" [default_text="[[Settings/label_default_text|label_default_text]]"] perm="[[Features/Mass Deployment/Setting Files/XML/Flags|<permission flag>]]">[[Settings/fkey|<value>]]</[[Settings/fkey|fkey]]>
   '''</functionKeys>'''
   '''</functionKeys>'''
Line 10: Line 10:
   '''<functionKeys>'''
   '''<functionKeys>'''
-
   <[[Settings/fkey|fkey]] idx="<function_key_index)>" context="<[[Settings/fkey_context|function_key_context]]>" perm="[[Features/Mass Deployment/Setting Files/XML/Flags|<permission flag>]]">[[Settings/fkey|<value>]]</[[Settings/fkey|fkey]]>
+
   <[[Settings/fkey|fkey]] idx="<function_key_index)>" context="<[[Settings/fkey_context|function_key_context]]>" [default_text="[[Settings/label_default_text|label_default_text]]"] perm="[[Features/Mass Deployment/Setting Files/XML/Flags|<permission flag>]]">[[Settings/fkey|<value>]]</[[Settings/fkey|fkey]]>
   ...
   ...
-
   <[[Settings/fkey|fkey]] idx="<function_key_index>" context="<[[Settings/fkey_context|function_key_context]]>" perm="[[Features/Mass Deployment/Setting Files/XML/Flags|<permission flag>]]">[[Settings/fkey|<value>]]</[[Settings/fkey|fkey]]>
+
   <[[Settings/fkey|fkey]] idx="<function_key_index>" context="<[[Settings/fkey_context|function_key_context]]>" [default_text="[[Settings/label_default_text|label_default_text]]"] perm="[[Features/Mass Deployment/Setting Files/XML/Flags|<permission flag>]]">[[Settings/fkey|<value>]]</[[Settings/fkey|fkey]]>
   '''</functionKeys>'''
   '''</functionKeys>'''

Revision as of 15:22, 19 December 2016

individual xml file:

<?xml version="1.0" encoding="utf-8"?>
 <functionKeys>
  <fkey idx="<function_key_index)>" context="<function_key_context>" [default_text="label_default_text"] perm="<permission flag>"><value></fkey>
  ...
  <fkey idx="<function_key_index>" context="<function_key_context>" [default_text="label_default_text"] perm="<permission flag>"><value></fkey>
 </functionKeys>

inside <settings> tag:

 <functionKeys>
  <fkey idx="<function_key_index)>" context="<function_key_context>" [default_text="label_default_text"] perm="<permission flag>"><value></fkey>
  ...
  <fkey idx="<function_key_index>" context="<function_key_context>" [default_text="label_default_text"] perm="<permission flag>"><value></fkey>
 </functionKeys>
Personal tools
Interoperability