cancel
Showing results for 
Search instead for 
Did you mean: 

List of Sites: Short name

parkea07
Champ in-the-making
Champ in-the-making
I was able to export a text file with a list of all the Sites, displayed by their Title. is it possible to display the sites by their short name.
3 REPLIES 3

kaynezhang
World-Class Innovator
World-Class Innovator
The 'short' name of a site is just the  cm:name property of the site node.

If you are using search service to find all nodes with type (http://www.alfresco.org/model/site/1.0}site ,cm:name is it's short name;
If you are using SiteService to list all nodes ,then SiteInfo already has getShortName method.
If You are using webscript api ,then returned json also has "shortName" property.

parkea07
Champ in-the-making
Champ in-the-making
Hello,

I am using the javascript api. is there still a method to get all the nodes with the cm parameter. Or is this only obtained using the webscripts methods

parkea07
Champ in-the-making
Champ in-the-making
Listsites has a property called shortName. Just what i was looking for.