Problems creating WebScript
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2009 10:14 AM
Hi All,
I´m following this tutorial : http://www.benh.co.uk/alfresco/surf-part-3-alfresco-wcm-content/
and I have problems testing the webscripts…
this is the error : freemarker.core.InvalidReferenceException - Expression folder is undefined
Does anyone knows about this error?
Thanks For All.
I´m following this tutorial : http://www.benh.co.uk/alfresco/surf-part-3-alfresco-wcm-content/
and I have problems testing the webscripts…
this is the error : freemarker.core.InvalidReferenceException - Expression folder is undefined
Does anyone knows about this error?
Thanks For All.
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2009 06:59 AM
Hi,
Is the Products web script installed and working correctly on your Alfresco repo? You can check by browsing to the Web Scripts Home i,e, http://localhost:8080/alfresco/service/, select “Browse by web script package”, scroll down and select “/products”. You can then click on the GET link i.e. GET / alfresco/service/products/get and this will run the web script. If it is working it will return a JSON response listing some example products. If it fails to return any products, check your AVM dir structure. It loads the products from the /content/products/source dir.
Other things to check:
1) is your repo running at http://localhost:8080 as I mentioned within the prerequisites?
2) Is the username/pass admin/admin? If not edit in the web-framework-config-custom.xml.
Ben.
Is the Products web script installed and working correctly on your Alfresco repo? You can check by browsing to the Web Scripts Home i,e, http://localhost:8080/alfresco/service/, select “Browse by web script package”, scroll down and select “/products”. You can then click on the GET link i.e. GET / alfresco/service/products/get and this will run the web script. If it is working it will return a JSON response listing some example products. If it fails to return any products, check your AVM dir structure. It loads the products from the /content/products/source dir.
Other things to check:
1) is your repo running at http://localhost:8080 as I mentioned within the prerequisites?
2) Is the username/pass admin/admin? If not edit in the web-framework-config-custom.xml.
Ben.
