cancel
Showing results for 
Search instead for 
Did you mean: 

Redirect to edit-metada page after successful uploading

anuradha1
Star Contributor
Star Contributor

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;
Alfresco.util.navigateTo(nodeRefURL);

Please help me to correct above script.

Thank you.

9 REPLIES 9

cesarista
World-Class Innovator
World-Class Innovator

thank you for the quick reply. I tried this one by deploying both surf & repo amps into 'amp' & 'amp share' folders. But nothing changed. Why is that?

Thank you Cesar, but it only allow for add several types. But i have aspects to add also. How can i achieve that?