Accesses and manipulates sites from a Content Services repository.

Class members

Methods

Details

You can use getSites to get a list of all sites in the repository. If you are only interested in a single site and you have its ID, you can use getSite to access it. Alternatively, you can use getSiteContent or getSiteMembers to extract just the contents and members properties of the site.

You can also delete a site using deleteSite. If the permanentFlag parameter is set to false then the site will be moved to the trash rather than being deleted immediately.

Both getSite and getSites have an opts parameter to supply extra options. See the Alfresco JS API docs about getSites and getSite for more information about the available options.

© 2023 Alfresco Software, Inc. All Rights Reserved.