Content Services (ECM)
Process Services (BPM)
Application Development Framework
Digital Business Platform
Announcements & Opportunities
Alfresco Ambassador Program
Alfresco Content Services (ECM)
to create and rate content, and to follow, bookmark, and share content with other members. Not a member?
Copy and refresh web scripts command
Question asked by
on May 17, 2013
on May 17, 2013 by jpotts
Show 0 Likes
How can the webscripts be copied and refreshed through command line in alfresco 2.2.
No one else has this question
Mark as assumed answered
This content has been marked as final.
Show 1 comment
(Required, will not be published)
May 17, 2013 11:39 PM
A web script exists on the file system as a normal set of files or in the repository as content (or in a JAR, but I assume we're talking about one of the first two cases here).
So the copy part is just a copy. Use either cp on the file system or the copy action in the Alfresco user interface.
Web scripts are refreshed using the Web Script console (
) but you are asking how to do it from the command line. There are a few ways to do it, which essentially involve remotely hitting the same URL that would be hit if you were to click the refresh button. Here's one way to do it that leverages Ant:
Show 0 Likes
Retrieving data ...
Indexing images with text in Alfresco with Tesseract-ocr
Alfresco Community Edition 201804 EA
Dudas al intentar de cambiar el tipo de un documento (ya asignado a otro tipo)
Creating your first application with ADF
Existing users Dashboard customization