AnsweredAssumed Answered

How to access the response object in a JS based web script?

Question asked by mathias.lin on Dec 11, 2015
Latest reply on Dec 15, 2015 by hdalang
Due to the unsolved issues reported here:

- https://forums.alfresco.com/forum/developer-discussions/web-scripts/cors-filter-not-applied-login-webscript-08132015-1316#comment-161106
- https://forums.alfresco.com/forum/developer-discussions/web-scripts/custom-headers-web-script-04182012-0325

I want to set a header variable within a JavaScript based web script - I do not want to rewrite the entire script in Java as an extension from AbstractWebScript.

I did not find anything in the documentation how to access the response object in a web script. Is it even possible?

Outcomes