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.
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
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG