AnsweredAssumed Answered

Using scoped configuration in a javascript webscript?

Question asked by ungawunga on Jan 17, 2013
Latest reply on Jan 17, 2013 by ungawunga
Is this page still valid?

http://wiki.alfresco.com/wiki/Web_Scripts#Global_and_Scoped_Config

I'm trying to load a configuration file ( web-client-config-custom.xml ), and I haven't been able to get it to work. The documentation states that the file is automatically loaded, but I haven't been able to read from it. I can't see anything in the logging to see if the file is being loaded or not. Do I need to update/create a bean to load it?

I can get this to work:
http://docs.alfresco.com/4.0/topic/com.alfresco.enterprise.doc/tasks/ws-config.html

But I need to share a configuration file across all my webscript methods. I'm new to the whole Spring bean thing, so I'm trying to find the documentation that spells it out for me.

Thanks

Outcomes