How to call a function defined in Javascript in the form

priyankav251023

02-09-2019

I want to call a function defined in javascript to enable a container something like...but instead of HasPackage, i need to call a function that i have written. based on the return value of the function i have written...

            <container applicableIf="HasPackage('nms:response')" type="visibleGroup"

                       visibleIf="!@isModel">

              <static label="Calculation of effective ROI" type="separator"/>

              <container ref="nms:operation:lib/hypothesis"/>

            </container>

          </container>

Please let me know if any pointers on how to achieve this.

Accepted Solutions (1)

Accepted Solutions (1)

kapilKochar

MVP

02-09-2019

Hi Priyankav,

I am not sure we can call defined functions directly from container . As an alternative, try to

A) Add <enter> after Container

B) Add <sopaCall name={yourfucntionname} serivce={namespace:schemaname}>

     <param></param>

</soapCall>

Let me know if this works for you. I will try to replicate scenario like yours by calling directly from container and update you if that works.

Thanks,

Kapil

Answers (0)