Currently, I am working on a new plugin which has page generation feature. Instead of I am reindexing each page just after the creating them with ConfluenceIndexer, my pages are not appearing on my Confluence page.
Page page = new Page();
page.setTitle(title);
page.setSpace(space);
page.setParentPage(parentPage);
page.setBodyContent(BodyContent);
page.setVersion(1);
page.setCreator(user);
pageManager.saveContentEntity(page, new DefaultSaveContext(false, false, false));
confluenceIndexer.reIndex(page);
Is there anything that I miss? Should I refresh the cache? These are the questions that I could not figure them out.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.