Webscript as AMP
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2014 07:18 AM
Hello Community,
I've created a "Hello-World" webscript and packaged it as an AMP . I've applied MMT to deploy the AMP ,and restarted Alfresco. In this folder "WEB-INF\classes\alfresco\module " I found these 2 files: module.properties and modifications.install .But when I get to "http://localhost:8080/share/page/modules/deploy" , The module doesn't appear there.
Do You have any idea why I can't find the new module in the list ??
Regards,
Sofia.
I've created a "Hello-World" webscript and packaged it as an AMP . I've applied MMT to deploy the AMP ,and restarted Alfresco. In this folder "WEB-INF\classes\alfresco\module " I found these 2 files: module.properties and modifications.install .But when I get to "http://localhost:8080/share/page/modules/deploy" , The module doesn't appear there.
Do You have any idea why I can't find the new module in the list ??
Regards,
Sofia.
Labels:
- Labels:
-
Archive
7 REPLIES 7
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2014 11:01 AM
http://localhost:8080/share/page/modules/deploy is used to deploy Share Extensibility Modules ,and the module you develop is AMP module. They are different,so of course the amp dose not appear.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2014 11:46 AM
Thank you for answering, But please how can I access them ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2014 10:03 PM
You can visit
You can use MMT(Module Management Tool) list commant to list all the currently installed modules
http://localhost:8080/alfresco/service/index/all
and in this page search your webscript to check whether your webscript is deployed successfully.You can use MMT(Module Management Tool) list commant to list all the currently installed modules
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2014 04:51 AM
Thank You. I have already listed the modules , and I made sure that mine is installed . But when I get to :" http://localhost:8080/share/service/index/all " , I don't find my webscript there
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2014 03:36 AM
If the webscript you developed is alfresco webscript ,you should goto <strong>http://localhost:8080/alfresco/service/index/all<strong> instead of<strong>http://localhost:8080/share/service/index/all</strong>
And make sure your webscripts are placed under following path pattern
And make sure your webscripts are placed under following path pattern
classpath:webscriptsclasspath:alfresco/webscriptsclasspath:alfresco/templates/webscriptsclaspath:alfresco/extension/templates/webscripts
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2014 05:52 AM
Hello,
Sorry, actually the structure of my AMP was wrong , that's why the new webscripts don't appear.
Regards,
Sofia.
Sorry, actually the structure of my AMP was wrong , that's why the new webscripts don't appear.
Regards,
Sofia.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2014 11:50 AM
Ok good luck