4 Replies Latest reply on Aug 20, 2013 9:49 AM by Tony Field

    Calling a CSElement through java code.

    Nelash Jindal



      I am trying to call a CSElement through my java code. Here is what I am trying to do:-


                    FTValList ftValList= new FTValList();

                  ftValList.setValString("val1", "test1");

                  ICS ics = COM.FutureTense.CS.Factory.newCS();

                  boolean called=ics.CallElement("testElement",ftValList);


      But its failing and returning false and error code as 12. where as I am successfully able to call this element through another template.


      Can any body tell me If I am doing anything wrong??



      Thanks in advance.


      Nelash Jindal