The script will be called by a link or button that the user will click. It is from the alfresco ui (explorer). We were thinking an action executer tied to a link on the ui.
My team was discussion the possiblities further this morning and refined our requirements.
We have another system (a java web application) It's purpose is to process a change to a natrual health product application. Basically the output from that tool is a zip file. The zip contains an xml file with the changes as well as a number of attachments and supporting documents.
This zip gets loaded into Alfresco. We want to be able to display the xml in a readable format that is consistent with how our other system displays it. The other system uses custom stylesheets and scripts (WET Toolkit) that we don't want to have to host in the Alfresco codebase also.
What we'd like is:
1. An action executer which makes a service call to our other Java web application passing the xml file.
2. The other web application while take the xml, load it into the domain model, and generate a readable html file.
3. The other web application will pass back a url to the html file hosted in the other web app.
4. The action executer will take the url, and then open up the url in a new webpage (the url is hosted in the other web application)
We think all this is possible, but are not sure if/how the Action Executer can open up a new webpage with the url link. Thinking it should be fairly easy to do. We've done some searching but haven't found anything yet.
Do you think this is feasable? Do you know how to easily to step 4?
As I mentioned, the script will be called by a button or link the user will click. We are running an older version of alfresco (2.9 community)
Thank you,
Bruce