def _root_folder_loaded(): page_url = self.root_folder.serverRelativeUrl + "/" + page_name wiki_props = WikiPageCreationInformation(page_url, page_content) Utility.create_wiki_page_in_context_web(self.context, wiki_props, return_type)
def _list_loaded(): page_url = self.root_folder.serverRelativeUrl + "/" + page_name wiki_props = WikiPageCreationInformation(page_url, page_content) result.value = Utility.create_wiki_page_in_context_web( self.context, wiki_props)