cancel
Showing results for 
Search instead for 
Did you mean: 

Enterprise Admin Console

mario_fliegner
Confirmed Champ
Confirmed Champ
Dear experts,

I'm currently on evaluating options to move the administration panel of our module (that is currently available in Share) to the Alfresco enterprise admin console (http://localhost:8080/alfresco/service/enterprise/admin/).
Currently, all values will be evaluated in a Java backed webscript on repo side. This webscript is in turn called by the GET webscript on Share side with remote.connect("alfresco"); … All works fine.
I want to reuse the Java backed webscript even in the Enterprise admin console. I'm struggling now on how I can invoke the webscript if I am already on repo side? The "remote" is not defined (that makes sense) but what other possibilities I have now? It is possible at all?

Thanks in advance,
Mario
1 REPLY 1

afaust
Legendary Innovator
Legendary Innovator
Hello Mario,

it is theoretically possible to add the "remote" object to the Repository tier web script JS model but this requires customers to apply custom Spring XML (<a href="http://stackoverflow.com/questions/7282660/http-request-from-webscript-in-alfresco">similar question with answer on StackOverflow</a>). Other than subclassing a Java-backed web script for the Enterprise admin console from your already existing Java-backed web script, there are not a lot of Options and no "standard" option that comes to mind. Since the admin console uses the same web script Framework, it too can be composed of the trifecta of Java-controller, JavaScript-controller and FTL template.

Regards
Axel