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

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2022 09:38 AM
Hi Community;
How to define a new bean in 'service-context.xml' for a JS file?
Please refer the picture as below.
Thanks!
Labels:
- Labels:
-
Alfresco Content Services
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2022 09:55 AM
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)
(ACSCE, AWS SAA, Azure Admin)

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2022 03:04 AM
Hi Abhinav;
Thank you for your advice.
I deal with it myself.
