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

    Calling a CSElement through java code.

    Nelash Jindal

      Hi,

       

      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