AnsweredAssumed Answered

redirect from formprocessor post webscript

Question asked by romschn on Sep 9, 2011
Latest reply on Sep 14, 2011 by shahsnehal
Hello All,

I want to navigate user to some specific page once the content is created from share.

I am using below code to redirect user from form.post.json.js.
This script is present at following location : \tomcat\webapps\alfresco\WEB-INF\classes\alfresco\templates\webscripts\org\alfresco\repository\forms

status.redirect = true;
status.code = 303;
status.location = "share/page/site/my-site/my-page";

But it is giving below error on console.
Exception from executeScript - redirecting to status template error: 08090009 Script url /api/type/cm_content/share/page/site/my-site/my-page does not map to a Web Script.

Basically, what I am trying to achieve is - redirect user to some share page from alfresco webscript.

Could anyone please help me on this at the earliest? What am I missing?

Thanks,

Outcomes