cancel
Showing results for 
Search instead for 
Did you mean: 

Create Webscript Programmatically

Not applicable
Hi,
today i have a strange request (but not so strange 🙂 )

it is possible to create webscript programmatically? I mean without .desc.xml?
I don't think so, therefore i want to understand where spring scan .desc.xml on file system and create relative webscript.

I see that Alfresco send paths to "org.alfresco.repo.web.scripts.RepoClassPathStore" class…

Someone can help me?

Federico
1 REPLY 1

raghav_bhardwaj
Champ on-the-rise
Champ on-the-rise
Every Web script has a Controller which is the actual main operation component. Try writing Java Custom Controllers it would be fun and desc.xml are just configuration level parts.  https://wiki.alfresco.com/wiki/Java-backed_Web_Scripts_Samples


Raghav Bhardwaj