Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to edit the pages created from template

neetubhatt September 2, 2021

HI ,

I am creating multiple pages from templates of another space . Once the page tree is created in current space when I am trying to edit any of the pages from page tree I am getting navigated to empty page .Any idea why I am getting this issue or any fix needed for this .

 Page pageRetro = new Page();
pageRetro.setTitle(wikiManager.getPageTemplate("Retrospectives").getTitle());
String templateRetro = wikiManager.getPageTemplate("Retrospectives").getContent();
pageRetro.setBodyAsString(templateRetro);
wikiManager.addPage(pageRetro, pageTW, space.getKey());

pageManager.saveContentEntity(TWHomePage, null);

Above is the sample code of how i am creating pages from template. I am using confluence 7.4.6 version .

1 answer

0 votes
Kishan Sharma
Community Champion
September 6, 2021

Hi @neetubhatt Do you mean after the page is created using the template, the resulting page is empty ?

neetubhatt September 6, 2021

HI @Kishan Sharma : The resulting page is displaying correct result from template, I am having issue on Edit  ..The page response is empty and  i am not able to the result page  .. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events