Log In
Developer Network
Technologies
Join the Network
Member Services
Events & Community
Customer Voice Portal (CVP) Developer Center
Overview
Documentation
Community
Wiki
Message Boards Home
Recent Posts
Statistics
Answer
(
Unmark
)
Mark as an Answer
« Back to CVP - All Versions
Get string length - custom element
Threads [
Previous
|
Next
]
Asher Schweigart
Posts:
103
Join Date:
2/21/12
Recent Posts
Get string length - custom element
custom element
call studio
call studio cvp
custom java
Answer
6/10/12 4:39 PM
Mark as an Answer
Submit
Reply with Quote
Quick Reply
I needed to get the length of a string of caller entered digits in Call Studio, so I created a custom element to do it and figured I'd share it with the community here.
Feedback is welcomed!
Attachments:
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
GEOFFREY THOMPSON
Posts:
289
Join Date:
7/10/08
Recent Posts
RE: New Message from Asher Schweigart in Customer Voice Portal (CVP) - CVP
Answer
6/10/12 4:50 PM as a reply to Asher Schweigart.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
I looked back at my old files and found that I created one of those in 2005! I did it slightly differently, in that I passed in a variable through Settings to hold the length, rather that setting the element value.
Thanks for posting.
Regards,
Geoff
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Hemal Mehta
Posts:
530
Join Date:
11/27/08
Recent Posts
RE: New Message from Asher Schweigart in Customer Voice Portal (CVP) - CVP
Answer
6/10/12 10:11 PM as a reply to Asher Schweigart.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Why would you need a custom element for such a simple thing ?
Hemal
________________________________
From: Cisco Developer Community Forums [cdicuser@developer.cisco.com]
Sent: Sunday, June 10, 2012 10:39 AM
To: cdicuser@developer.cisco.com
Subject: New Message from Asher Schweigart in Customer Voice Portal (CVP) - CVP - All Versions: Get string length - custom element
Asher Schweigart has created a new message in the forum "CVP - All Versions":
--------------------------------------------------------------
I needed to get the length of a string of caller entered digits in Call Studio, so I created a custom element to do it and figured I'd share it with the community here.
Feedback is welcomed!
--
To respond to this post, please click the following link:
<http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/5843684>
or simply reply to this email.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Asher Schweigart
Posts:
103
Join Date:
2/21/12
Recent Posts
RE: Get string length - custom element
Answer
6/10/12 10:40 PM as a reply to Hemal Mehta.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
It's not built into Call Studio, and I needed to get it for use in a decision element. It seemed the best way to do it.
As far as I know it can't be done without custom java, so it made sense to turn it into an element I though.
No reason to keep it as a plain java action element I figured.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top