New answers tagged

0

After much research I have found below details with which we can create a custom wiki page template. If we dive into the Wiki content type (I used sharepoint inspector to easily see the properties), you will see that when you create a new page, the "CreateWebPage.aspx" page is called on the layouts directory. So whenever you create a new item (wiki page) ...


0

Try this: Go into Site Settings. Under Site Collection Administration, select SharePoint Desginer Settings. Make sure "Enable Customizing Master Pages and Page Layouts" is selected. Then open SharePoint Designer and select All Files on the left menu. Choose "_catalogs" and then "masterpage." Copy one of the master page's HTML and Master page file (for ...


0

When creating links between Wiki pages, you can use link format [[MyNewPage|My New Page]], which will use the spaced string as the title. I understand this is only 10% answer to your question, but better that than nothing.


0

you have to use JSOM to recursively call folders and pages in the folders. JSOM Common operations


0

I see I forgot to add the subsite prefix when adding the file: So SPFile wikiPage = rootFolder.Files.Add(String.Format("/{0}/{1}", rootFolder, "newpage.aspx"), SPTemplateFileType.WikiPage); should be: SPFile wikiPage = rootFolder.Files.Add(String.Format("/mysubsite/{0}/{1}", rootFolder, "newpage.aspx"), SPTemplateFileType.WikiPage);



Top 50 recent answers are included