Content

Page tree

If the phone is currently not in admin mode, the set fragment cannot change settings which require admin mode.

Format:

Set a setting to a new value:

set:[setting]=[new setting value]

Set an array setting at index to a new value:

set:(setting)(index)=(new setting value)

set:(setting)[(index)]=(new setting value)


Starting with version 10.1.164.0 it is also possible to set a new value for a range of indices of an array setting:

Set a range of indices of an array setting to a new value:

set:(setting)[(index start)-(index end)]=(new setting value)

Set an array setting to a new value for all indices:

set:(setting)[*]=(new setting value)


Example: Change setting fkey_label0

<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneMenu>
	<Title>fkey_label0:$(set:fkey_label0)</Title>
	<MenuItem name="set fkey label0 to weather">
		<Url>snom://mb_nop#set:fkey_label0=weather</Url>
	</MenuItem>
	<MenuItem name="set fkey label0 to empty">
		<Url>snom://mb_nop#set:fkey_label0=</Url>
	</MenuItem>
</SnomIPPhoneMenu>


Result: