cancel
Showing results for 
Search instead for 
Did you mean: 

Categorizing sites in Share

cybertoast
Champ in-the-making
Champ in-the-making
Reading through the forums it seems that the Categories feature which is available in /alfresco is not visible/accessible in /share. I've got a problem where I need to be able to display the My Sites dashlet with categories, or some form of grouping. The reason is that my sites belong to different corporate divisions, and I need to show the Division -> Site hierarchy to all users. A user may belong to multiple Divisions and have access to Sites across these Divisions.

Is there a way I can tag/categorize or group Sites in such a way that I can access this grouping identifier through a remote call so that I can create a dashlet as described above?

Thanks
3 REPLIES 3

mikeh
Star Contributor
Star Contributor
If you look in the Sites space using Explorer, you'll see the various site top-level containers. It should be pretty easy to add categories to each of these how you'd like and then create a web script to send those categories back as a JSON response given a site name (or array or site names).

Mike

cybertoast
Champ in-the-making
Champ in-the-making
The
create a web script to send those categories back as a JSON response given a site name
is where the problem is for me. Is there an example I can start from to get a sense of how things like category can be accessed? I'm new to this, so any pointers would be greatly appreciated.

mikeh
Star Contributor
Star Contributor
Categories are queried in the "pickerchildren" webscript, used by the category picker in the Forms runtime (used when you "Edit Metadata" on a Share asset that has the cm:classifiable aspect)

The webscript URI is
/api/forms/picker/{type}/{store_type}/{store_id}/{id}/children

Thanks,
Mike