cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
113
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: Donrey Lopez on 01-07-2013 03:21:10 AM
Hi i am having trouble with showing the custom element i just created, I think i am missing something. I copy and paste the .class file on my cvp project but its not working.
I am new to this development and I am seeking help to you guys.. thank you.

I have created a java class:

publicclass SetSessionVars extends ActionElementBase implementsclass SetSessionVars extends ActionElementBase implementsElementInterface {

public String getElementName() {return"Set Session Variables";}

public String getDescription() {return"Test Element Only";}

public String getDisplayFolderName() {return"Test\\Elements";}
}

TIA

Subject: RE: Custom Element not Showing
Replied by: Janine Graves on 01-07-2013 08:54:39 AM
Go to this location on the developer's forum http://developer.cisco.com/web/cvp/documentation and download either CallStudioProjects.zip or ArithmeticsSample.zip or Templates.zip - they all have outlines and examples of how to create a custom Action element.  You are missing some things in your java code and the first line has a number of errors (which might be copy/paste error):

publicclass SetSessionVars extends ActionElementBase implementsclass SetSessionVars extends ActionElementBase implementsElementInterface {
shold be
publicclass SetSessionVars extends ActionElementBase implements ElementInterface{


Subject: RE: Custom Element not Showing
Replied by: Donrey Lopez on 02-07-2013 12:59:46 AM
Thanks Janine, This is all I needed. Great!
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links