Publishing pages are available only in publishing sites. In publishing sites, authors and approvers use the publishing feature to create content and then make it available for site visitors. Usually, a publishing site has an approval workflow enabled, so content is reviewed and approved prior to ...

learn more… | top users | synonyms

34
votes
6answers
22k views

How to update custom master page and page layout, which is already deployed

I have a feature which deploying custom page layout. It's done by this code: <Module Name="MasterPageModule" Url ="_catalogs/masterpage"> <File Path="MasterPageModule\defaultTemplate.aspx" ...
10
votes
5answers
2k views

RichHTMLField value is not rendered in page

I have a custom page layout created, in which "PublishingWebControls:RichHtmlField" control is added with some default HTML value. When any page is created using the custom page layout created, page ...
9
votes
4answers
7k views

Replace the Default Page in a SharePoint WebSite

I have been asked to programmatically do the following in a SharePoint 2007 team site collection: Create a website using the OOTB blank site template. (Please note, for project specific reasons, we ...
6
votes
3answers
7k views

Difference beween wiki page, application page, web part page and publishing page

There are lots places in msdn sharepoint forums and blogs where these terms are used and I am confused between them. Can anybody clarify?
6
votes
5answers
25k views

Immediate Redirect page in sharepoint

I want to redirect a sites homepage to a subsites homepage. I can create a page from redirect page layout BUT, i want no waiting for a couple of seconds, i want immediate redirect. How can i achieve ...
6
votes
2answers
1k views

Adding a Back to Top web part

Is it possible to create a web part that publishing page editors can insert and all it contains is an anchor tag to take the user "Back to Top" of the page? I've added this to the top of the pages' ...
6
votes
4answers
3k views

Using PublishingWebControls:RichHtmlField in application page

I'm trying to use a PublishingWebControls:RichHtmlField control in a custom application page inside SharePoint to use the built in SharePoint WYSIWYG editor. It's almost working but SharePoint has ...
6
votes
4answers
4k views

What is publishing Site or Page and why do we need it?

Article found on this but not in plain English. Anyone else wants to give it a shot with plain (non-lawyer version) English.
5
votes
3answers
3k views

How to get last major published version?

I am trying find exact CAML query, or other possible way in code to find out "The last major published version" (not necessarily the latest)?
4
votes
3answers
2k views

how to determine if a page is checked out? Client side, using javascript?

I need a way to determine if a publishing page is checked out by the current user; I need this because I'd like to put a redirect, if the page is not checked out. Any ideas?
4
votes
1answer
329 views

Making global changes to a group of publishing pages

Is it possible to change a property on a group of publishing pages on SharePoint 2010? We have a custom page field called "IntranetContactEmail" that we need to update across one web site. How do you ...
4
votes
3answers
4k views

Provisioning Publishing Page Content using a Feature

I'm provisioning a bunch of Publishing pages using a feature, using the template redirection technique. <Module Name="Page-Not-Found" Url="$Resources:cmscore,List_Pages_UrlName;"> <File ...
4
votes
5answers
6k views

Copy and paste for images in SharePoint

It seems that whether it's a content editor web part or publishing page, copying and pasting images is a poor user experience in SharePoint. The user needs to upload the image somewhere first, then ...
4
votes
1answer
328 views

Take a Publishing Page “Offline”

Is there a way to take a Published Publishing Page offline such that it isn't accessible to anonymous users of a WCM website? If you un-publish, the page's most recent version will still be ...
4
votes
3answers
2k views

How to rename a publishing page in code

I'm trying to do a bulk page rename (NB. the file name e.g. default.aspx, not the displayed title) foreach (PublishingPage page in pweb.GetPublishingPages()) { Console.WriteLine(page.Name); ...
3
votes
3answers
2k views

Page layouts vs. Master pages

When do you create a custom page layout vs. a custom master page for a site? Is it good practice to create custom page layouts only for limited branding of SharePoint 2010? I'm thinking the page ...
3
votes
1answer
147 views

Pretty url in SharePoint

The url's on our intranet are pretty, i.e. http://intranet/test, but we want to show full path of the page, like this http://intranet/test/default.aspx I don't know why we get pretty url and have ...
3
votes
1answer
774 views

How can I update a publishing page's page layout via PowerShell?

I have a few publishing pages that need a page layout change. The layout includes a Content Editor Web Part pointed to an html file in the site assets folder. The layout changes but the Web Part ...
3
votes
2answers
142 views

Reducing amount of clicks to create Publishing Page in SharePoint 2007

I have a customer who is using the MOSS 2007 WCM Publishing Site. To create a page in this environment you need to: Select Site Settings | Create Page Fill in: Title page url select a ...
3
votes
2answers
29 views

List all pages used a particular “reusable content” item

Our user actively use the OOB "reusable content" function to dynamic update their pages. Each "reusable content" item is applying to 10-20 pages. Let's say one day user is going to remove one of ...
3
votes
1answer
430 views

Diffferent methods of retreving site column values

I'm wondering if there are any differences between retrieving value of a site column (RichHtmlField) via PublishingWebControls:RichHtmlField vs getting its value via Container.DataItem? ...
3
votes
1answer
322 views

SharePoint : Better Large Pages Library Approach

I'm working on project migration from SharePoint 2007 to SharePoint 2010. The application build on SharePoint 2007 platform was years back and it contains a lots of data (approximately 100GB in ...
3
votes
1answer
523 views

SharePoint Bug? Conflict Error when saving a Page with a “Required” DateTime field in the page layout

I've just recently encountered a weird error / bug in SharePoint. Here is the scenario: I have a custom column "Test Date" that is of DateTime field type. The field is configured as required. It is ...
3
votes
0answers
280 views

Default Webparts not rendering in a RichHtmlField on a custom page layout built in Visual Studio

I have a bit of a conundrum.I've built a Visual Studio solution for SharePoint 2010. It comprises of a custom master page and a bunch of page layout templates. I'veAssembled a master pageAssembled a ...
3
votes
1answer
93 views

Sharepoint 2010 Auto update twitter status

We have a SharePoint 2010 installation branded for use as our corporate website. I am creating a "News" section using SharePoint Publishing features and I have been requested by the powers that be to ...
3
votes
2answers
696 views

Give anonymous access to explicit page in document library

I have the following situation (SharePoint 2010): A document library contains publishing pages. Anonymous access is enabled. The publishing pages are separeted in folders. Now i have the situation ...
3
votes
0answers
236 views

Alternative to hook into RTE javascript [closed]

I'm looking to add some logic when a HTML element (input, button, .. but no regular text) is clicked inside the RTE control on a publishing page. One of the solutions I've been thinking about is ...
2
votes
3answers
661 views

Best Approach for using folders in Pages in Publishing site SharePoint 2013

What I'm looking for is an approach to organizing content pages on a Publishing site whose main contributor will be someone unfamiliar with Sharepoint (let alone SP2013). The Publishing site allows ...
2
votes
5answers
2k views

Change default welcome page without “publishing web”

I would like to change my default welcome page on my web, but I would like to avoid activation of feature "Publishing web" on my web just for that small requirement (with that approach I'm familiar). ...
2
votes
2answers
996 views

Is it possible to make a page's publishing schedule mandatory?

As opposed to a page just being published as soon as it's approved - I need to make the schedule (the setting of the start and expiry date) of the publishing mandatory. Can it be done?
2
votes
3answers
651 views

Alert to warn site owner when content is outof date

Any idea how I can set an alert to warn site owner if content is out of date?
2
votes
1answer
549 views

Bug in SharePoint 2013 : adding a enterprise wiki page

When I view my site content and go to the pages library ( Enterprise wiki template ) I can add a new Enterprise wiki page from the ribbon ( select new than enterprise wiki page ). It redirect me to a ...
2
votes
2answers
3k views

Can I edit a publishing page using Powershell?

I have a bunch (technical term) of publishing pages within a single subsite of my site collection that contain a broken link. I'm wonder if it's at all possible to use Powershell to perform a 'global' ...
2
votes
2answers
915 views

Application pages and master pages

We plan to use SharePoint 2010 application pages and wondered about our current setup, which has the default master page (v4.master) with no changes but a heavily customized page layout for the ...
2
votes
1answer
5k views

Iterate over Pages library and get each item's properties

I need to use C# to iterate over the publishing Pages library items on SharePoint 2010 and get their properties. For example, I need to get the item's filename (if it's a file) and detect if it's a ...
2
votes
3answers
1k views

Powershell creating Page fails with “No parameterless constructor defined for this object.”

I wrote a Powershell script that creates SharePoint sites and pages based on an XML file to generate about 200 sites and more pages to build a specific structure. The basic steps it does repeatedly ...
2
votes
1answer
200 views

SharePoint 2013: JavaScript Object Model - Create an enterprise wiki page

I have spent a couple of days trying to fix this problem. Goal: - Click a button on an existing page that creates an enterprise wiki page in the pages library and adopts the default custom layout. ...
2
votes
2answers
628 views

Custom Content Type always results in ArgumentException

I created a custom content type and provisioned it as a solution for SharePoint 2013 (PU March). When I create a new page in a list, bam yellow page of death. To rule out an error I created a custom ...
2
votes
1answer
210 views

Making Publishing Image in Page Layout Required

How can I make the publishing Image in PageLayout Required?
2
votes
1answer
210 views

Possible to add more than one Page Content area on a publishing page layout?

I'm building a new page layout in SPD10, and I've run into a question. Is it possible to have more than one page content area on a publishing page? I've tried adding more than one and it doesn't ...
2
votes
1answer
283 views

Add Publishing Pages to specfic subsites programmatically in FeatureReceiver

Currently, I have created subsites programmatically in FeatureReceiver method and have a way to create publishing pages, but they are being created on the root site. Is there a way to target a ...
2
votes
1answer
381 views

GetAvailablePageLayouts complains of parent site

UPDATED: This occurs sometimes, so not only just once after web app recycle. I'm getting publishing page layouts with the code below, before creating publishing pages to site ...
2
votes
1answer
349 views

Creating pages dynamically through code?

First thing is first, I'm doing this in Sharepoint 2013. I'm not exactly sure what the best approach is to be, so I'm explaining my problem and hopefully people can throw around some terms or ideas ...
2
votes
1answer
281 views

Adding PublishingPageLayout to file via REST-api

I am adding a file with the REST-API: http://hostname/sites/site/news/_api/Web/GetFolderByServerRelativeUrl('/sites/site/news/Pages')/Files/add(url='new.aspx',overwrite=true) How can I additionally ...
2
votes
1answer
109 views

Full control user can add Page Layout to top level site but not the sublevel site

Has anyone seen the problem that we can add page layout to the top level site but not the sublevel site? I've got the following behaviors: In the "Site Settings" the "Master pages and page ...
2
votes
1answer
3k views

Site owner permissions are not allowing user to view unpublished pages

I'm running into somewhat of an odd issue. All of my site collections have been created as Blank Sites, and I've enabled features as required. One of the features that's been enabled on every site ...
2
votes
1answer
563 views

Can I edit a custom page Layout to add 3 new zones

I have a custom branding solution which was written before I started at my current client. Now they want their custom page layout modified, by adding 3 adjacent zones next to eachother. This page ...
2
votes
1answer
484 views

Enterprise Keywords required in Publishing page

I have added the enterprise keyword column to my custom content type that is tied to a publishing page. It works fine editing and publish pages based on this layout unless I set the keyword column to ...
2
votes
1answer
760 views

InfoPath 2010 as Internet facing form

I have seen a lot of examples of infoPath forms being built and deployed to a team site or some other internal structure but I haven't seen any examples of forms being deployed to anonymous users as ...
2
votes
2answers
637 views

Override Ribbon Save Button functionality for a specific page layout?

Is there a way to override Ribbon Save Button functionality in publishing page of specific page layout? My intention is not to override it for all publishing pages but to limit it to specific page ...