Hi All!
I am using a user macro I found in this community to get a list of all spaces.
This is done e.g. by using
#set($spaces = $spaceManager.getAllSpaces())
Now I would like filter only for the global spaces, ignoring the personal user spaces.
I thought this would do the trick:
#set($spaces = $spaceManager.getSpacesByType(global))
But it does not :-( The macro will not run like this...
Does anyone have an idea?
I'm on the server version 7.13.8
probably my fault...I found it here:
But it seems to be deprecated.
Instead one should use getSpaces(SpacesQuery query) but I don't get it working
Hello @C_ G_ , what happens when you try .getSpacesByType? I don;t see that method in the docs.
Do you get an array from .getAllSpaces() that you can then filter?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.