Tag Info

New answers tagged

0

Below Code Reads the SiteUrls from Text file called SiteUrls.txt, and add library called "Oct Invoicing 2014" to the Wikipage called "Billing_Req.aspx" Here we are taking variable i to check for the library already present on the page, if present we are incrementing i to 1 and else its default value =0 If i=0 means webpart is not present on the page and it ...


1

The content is stored in the content database. You can access them as if you were accessing list item columns (try the 'PublishingPageContent' column) or, in the case of inserted Web Parts, you can use the SPLimitedWebPartManager class You do this with the SPListItem object and not the SPFile object.


1

There is a reason for this process. When you use an Enterprise content editor such as the Wiki portion of SharePoint (or Article pages for publishing sites) it is supposed to become a repository of all the items, text and multimedia and thus making it reusable. By placing it and coding it in an asset library (or image library) you are de facto making it ...


1

How to create Wiki page using SharePoint CSOM The example below demonstrates how to create wiki page via CSOM (VB.NET version): Sub CreateWikiPage(context As ClientContext, pageName As String, pageContent As String) Const templateRedirectionPageMarkup As String = "<%@ Page ...


1

Take a look at this article: Creating a Page layouts content types. It describes everything you need to know. Just make sure you select parent content type from as Publishing Content Types and Parent Content Type as Page. After that you just need to add this content type to the library where you want to add it. Page layout html can be anything you want to ...


0

You could create a page layout and use that as the default or choose it in the ribbon for specific pages. I did something where I created a table of contents with html on a page layout and used that as my default.



Top 50 recent answers are included