05-15-2024 03:45 AM
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
05-31-2024 05:20 AM
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.
Explore our Alfresco products with the links below. Use labels to filter content by product module.