cancel
Showing results for 
Search instead for 
Did you mean: 

How to define beans in service-context.xml for JS files?

YanFeiHu
Confirmed Champ
Confirmed Champ

Hi Community;

     How to define a new bean in 'service-context.xml' for a JS file?

     Please refer the picture as below.

     Thanks!

image

2 REPLIES 2

abhinavmishra14
World-Class Innovator
World-Class Innovator

I am not sure what you are trying to do. but no bean defition needed for a rule action script if that's what you are trying to use. The script has to be included in rule-details webscript if the script is a custom rule action script. 

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

Hi Abhinav;

     Thank you for your advice.

     I deal with it myself.