Alfresco Standalone Scripts

Document created by alfresco Employee on Jun 21, 2018Last modified by alfresco Employee on Jun 21, 2018
Version 2Show Document
  • View in full screen mode

These are commonly used scripts which can be executed from java command line. There are services which can be consumed by any external application if needed. These scripts uses OOTB Alfresco REST APIs to get the information and performs the operations according to the need.

 

###Currently available scripts:

1- Delete sites by excluding a list of site (sites which you don't want to delete)
com.github.abhinavmishra14.site.service.test.DeleteSites
2- Generate User report along with user groups. OOTB Alfresco doesn't have direct API to do get all users along with their groups at once. Though you can get user profile of a particular user along with group. This report also includes information of all the sites which the user has access. See the sample report here: samples/userReports.json
com.github.abhinavmishra14.reports.test.GenerateUserReport
3- Cleanup trash can
com.github.abhinavmishra14.trashcan.service.test.ClearTrashcan

 

OwnerAbhinav Mishra  
Versions

Enterprise 5.0.x

Enterprise 5.1.x

Enterprise 5.2.x

License TypeApache
Project PageGitHub - abhinavmishra14/alfresco-scripts: These are commonly used scripts which can be executed from java command line.… 
Download PageGitHub - abhinavmishra14/alfresco-scripts: These are commonly used scripts which can be executed from java command line.… 
Tagsalfresco scripts, standalone scripts, trashcan cleaner, user reports, site reports, delete sites in bulk
Component TypeExternal Utility 
Extension PointsPublic API,Web Script
InstallationScript
ProductsRepository 

Attachments

    Outcomes