I am using alfresco 5.2 community version & i need a way to automatically redirect to the edit-metadata page after a successful uploading. I wrote a script for that but it gives me an error.
var nodeRefURL = "edit-metadata?nodeRef=" + response.nodeRef;
Please help me to correct above script.
I created another script like below
var node1 = userhome.childByNamePath('findNode1.txt');
var nodeRefURL = "http://10.8.8.34:9090/share/page/context/shared/edit-metadata?nodeRef=" + node1.nodeRef;
It gives me following error.
Please help me to solve this.
You are mixing server side with client side code, so that is the reason it is failing.
There is no way to achieve that by using folder rules.
In order to change that behaviour, you will have to customise Share, the user interface.
Start your research by reading this Document Library | Alfresco Documentation
Thank you Douglas, I read that document roughly, but now i don't have much time to go through in detail. Can you please tell me a way to redirect to the edit-metadata full page after a successful upload. Also, need to know whether i can do this on a specific upload or not. (Because i don't need this each and every upload. That's why i tried to do it using a rule)