03-30-2022 09:04 AM
Hi Team;
Please refer the picture as below, when I running the AIO project, the Web Script has responded with a status of 404.
Could you please check the problem for me?
Thanks a lot.
The URL as follow;
"https://ecmarchitect.com/alfresco-developer-series-tutorials/webscripts/tutorial/tutorial.html"
04-01-2022 02:20 PM
Looks like you have not deployed the webscript.
You need to deploy the webscripts to any of the following locations:
- Data Dictionary > Web Scripts Extensions (/Company Home/Data Dictionary/Web Scripts Extensions)
- Data Dictionary > Web Scripts (/Company Home/Data Dictionary/Web Scripts)
This is clearly mentioned in the tutorial. https://ecmarchitect.com/alfresco-developer-series-tutorials/webscripts/tutorial/tutorial.html#hello...
If webscripts are in folder structure e.g. com\someco\whitepapers, then upload the "com" folder all together to the any of the above folders. Your uploaded webscript path would be like: Data Dictionary > Web Scripts Extensions > com > someco > whitepapers
Once you are done with upload, refresh the webscripts so they get loaded. Use the following url:
http://127.0.0.1:8080/alfresco/s/index
Click on "Refresh Web Scripts" button after you logged in.
Refer this doc for in detail info: https://docs.alfresco.com/content-services/5.2/tutorial/platform/web-scripts/
Explore our Alfresco products with the links below. Use labels to filter content by product module.