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
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?
Whenever you use Form Processor to create content, Share side java script is responsible for redirect. You need to update method "_navigateForward" in "tomcat\webapps\share\components\create-content\create-content-mgr-min.js" file.