Pages not displayed in Alphabetical View.

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

This widget could not be displayed.

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!

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
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

571 views 7 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you