Plum DEV Documentation
voicexml:tags:property

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

voicexml:tags:property [2014/05/30 10:40]
jennifer added meta description
voicexml:tags:property [2019/09/17 12:29]
Line 1: Line 1:
-{{description>​‹property› VoiceXML tag details and VXML code example | The property element sets property values that affect platform behavior (e.g. timeouts, caching).}} 
-=====<​property>​===== 
- 
-The <​property>​ element sets a property value. Properties are used to set values that affect platform behavior, such as the recognition process, timeouts, caching policy, etc. 
-====Attributes==== 
-| name | The name of the global property. | 
-| value | The value of the property. | 
- 
-====Notes==== 
- 
-See the [[voicexml:​properties|Properties]] section for a listing of all global properties. 
- 
-====Example==== 
-<​code>​ 
-<?xml version="​1.0"?>​ 
-<vxml version="​2.0">​ 
-  <!-- Setting the "​inputmodes"​ property to "​dtmf"​ will instruct the --> 
-  <!-- interpreter to ignore all speech input. --> 
-  <​property name="​inputmodes"​ value="​dtmf"/>​ 
-  <​form>​ 
-    <field name="​myfield"​ type="​digits">​ 
-      <​prompt>​ 
-        You will not be able to say digits, but you will be 
-        able to enter them using your telephone keypad. 
-      </​prompt>​ 
-      <​filled>​ 
-        You entered <value expr="​myfield"/>​ 
-      </​filled>​ 
-    </​field>​ 
-  </​form>​ 
-</​vxml>​ 
-</​code>​ 
-The output of the above script would be: 
- 
-Computer: You will not be able to say digits, but you will be able… \\ 
-Human: One four five. \\ 
-Computer: (disregards speech) \\ 
-Computer: …to enter them using your telephone keypad. \\ 
-Human: (enters DTMF-1 DTMF-4 DTMF-5) \\ 
-Computer: You entered one hundred forty-five. ​ 
- 
- 
-====Child Tags==== 
- 
-None 
- 
- 
-====Parent Tags==== 
- 
-[[voicexml:​tags:​field|<​field>​]],​ [[voicexml:​tags:​form|<​form>​]],​[[voicexml:​tags:​initial| <​initial>​]],​ [[voicexml:​tags:​menu|<​menu>​]],​ [[voicexml:​tags:​record|<​record>​]],​ [[voicexml:​tags:​subdialog|<​subdialog>​]],​ [[voicexml:​tags:​transfer|<​transfer>​]],​ [[voicexml:​tags:​vxml|<​vxml>​]] 
-