I would like to ask if is it possible to use webscripts when alfresco (version 6.1) is in read-only mode?
I have webscipts (js) for document search and read. When alfresco is in read-only mode they doesn't work - I get a response "04150000 Access denied. The system is currently in read-only mode." Is it possible to make it wokring? My webscripts doesn't write any data to alfresco ...
Thank you
Thank you for your response. But I don't know how to change my webscript. I thing it should not write anything ...
I want to read a content of one concrete file:
model.dataString="\"crash\""; function main(){ var referenceType = "path"; var reference = ["workspace", "SpacesStore", "Company Home","testAccessFile.txt"]; var foundNode = search.findNode(referenceType, reference); if(foundNode!=null) model.dataString="\""+foundNode.content+"\""; } main();
When alfresco is in read-only mode this script responds with a status of 500 and Access denied error.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.