[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.
https://www.yealink.com/ydmp-freetrial-2020


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
XML App InputScreen
Author Message
kgmoney Offline
Junior Member
**

Posts: 18
Joined: Dec 2015
Reputation: 1
Post: #1
XML App InputScreen
Hi,

I am having some trouble understanding the InputScreen object.

1) The following displays as I would expect, but I can't type anything into the 'Test' field using the keypad:

Code:
<YealinkIPPhoneInputScreen type="number" Timeout="0" LockIn="yes" displayMode="condensed" editable="yes">
<Title wrap="yes">Test Input Screen</Title>
<Prompt>Test:</Prompt>
<URL>http://10.2.2.20:83/yealink/xmlapps/ioboard/comment-menu.xml</URL>
<Parameter>commentpage</Parameter>
</YealinkIPPhoneInputScreen>


2) If I add another InputField, the 'Test' field disappears and I still can't enter any value from the keypad.

Code:
<YealinkIPPhoneInputScreen type="number" Timeout="0" LockIn="yes" displayMode="condensed" editable="yes">
<Title wrap="yes">Test Input Screen</Title>
<Prompt>Test:</Prompt>
<URL>http://10.2.2.20:83/yealink/xmlapps/ioboard/comment-menu.xml</URL>
<Parameter>commentpage</Parameter>

<InputField type="string">
<Prompt>User Name:</Prompt>
<URL>http://10.2.2.20:83/yealink/xmlapps/ioboard/menu2.xml</URL>
<Parameter>username</Parameter>
<Selection>2</Selection>
<Default>hello</Default>
</InputField>
</YealinkIPPhoneInputScreen>

3) The URLs on additional input fields seem to be ignored....what are these used for?

Thanks,
Kevin
11-28-2016 05:47 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Klaus_Yealink Offline
Super Moderator
******

Posts: 180
Joined: Jul 2015
Reputation: 0
Post: #2
RE: XML App InputScreen
Hello,

For your 1 and 2 question, please change the LockIn from "yes" to "no", it will be ok.

For your 3 question, please see below comment:

"Specify the target URL to receive the user input."

BR

klaus
12-01-2016 09:22 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
kgmoney Offline
Junior Member
**

Posts: 18
Joined: Dec 2015
Reputation: 1
Post: #3
RE: XML App InputScreen
Hi Klaus,

1) Changing LockIn to 'no' does allow input...but it also allows phone events to interrupt the app which isn't desirable.
2) Changing LockIn to 'no' does not have an effect on the first field 'Test' disappearing.
3) The URL for the 'User Name' field is never called, so how does it receive user input?

Thanks,
Kevin
12-01-2016 01:56 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Klaus_Yealink Offline
Super Moderator
******

Posts: 180
Joined: Jul 2015
Reputation: 0
Post: #4
RE: XML App InputScreen
Hi Kevin,

For your questions:

1.Yes, when there is an incoming call(just for example), it will interrupt the APP,now there is no sentence to control that.
2.your sentence have sonething wrong, please use below sentcen:
<YealinkIPPhoneInputScreen type="number" Timeout="0" LockIn="no" displayMode="condensed" editable="yes">
<Title wrap="yes">Test Input Screen</Title>
<URL>http://10.2.2.20:83/yealink/xmlapps/ioboard/comment-menu.xml</URL>

<InputField type="string">
<Prompt>test:</Prompt>
<URL>http://10.2.2.20:83/yealink/xmlapps/ioboard/menu2.xml</URL>
<Parameter>username</Parameter>
<Selection>2</Selection>
<Default></Default>
</InputField>

<InputField type="string">
<Prompt>User Name:</Prompt>
<URL>http://10.2.2.20:83/yealink/xmlapps/ioboard/menu2.xml</URL>
<Parameter>username</Parameter>
<Selection>2</Selection>
<Default>hello</Default>
</InputField>
</YealinkIPPhoneInputScreen>

3.when the user presses the Submit soft key or OK/√ key on the phone after entering the string which filed need, phone will call the URL.

For more info,please refer to the belink link:

http://download.support.yealink.com/down...V81_20.pdf

klaus
12-05-2016 06:02 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication