Pages not displayed in Alphabetical View.

NK March 7, 2013

hi,

I am creating Spaces and Pages programatically using the api.

Spaces and Pages are getting created.

I am able to view the pages in Tree structure.

However when i try to view the pages in alphabetical view , I get a message

' There are no pages starting with ''. '

Can anybody point out where am i going wrong ?

Thanks in advance.

1 answer

1 accepted

0 votes
Answer accepted
Jeison
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 7, 2013

Nikhil,

I think you've hit a bug -> https://jira.atlassian.com/browse/CONF-23269

Check space permissions, it might work if you grant "view" permission to your user or group on that space.

Hope it helps!

NK March 10, 2013

Hi Jeison,

Thanks a lot for the timely response.

Yes, your suggestions helped me a lot. I realized that the spaces created programatically didnt have any permissions set and hence the pages were not displayed in the Alphabetical View.

While creating spaces progrmatically, I added the following line.

Space targetDeliverySpace = new Space();
// Setting the space permissions
SpacePermission sp = new SpacePermission(SpacePermission.VIEWSPACE_PERMISSION);
sp.setSpace(targetDeliverySpace);
targetDeliverySpace.addPermission(sp);

and after saving the space using SpaceManager , it worked ! :D

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events