Questions related to pages that have the publishing infrastruture activated. Mostly used in WCMS scenarios and internet-facing sites.

learn more… | top users | synonyms

10
votes
2answers
1k views

Best way to package publishing content types

I'm currently planning on how to package my Publishing content types in a WSP to make deployment in production easier. I came a cross the following choices 1- create a feature receiver and ...
9
votes
4answers
6k 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 ...
8
votes
5answers
10k views

Sharepoint 2013 add css in a page layout

I'm trying to add my custom CSS file in my sharepoint 2013 page layout. I add it with the link tag or with CSSRegistration and when the page is rendered, the css does not appear in the source. Also I ...
8
votes
3answers
5k views

Sharepoint 2007 Site Actions IE9 doesnt work

We have a public facing website which is custom branded. Up until viewing the website in IE9 all standard Sharepoint functionality worked such as Site Actions. All browsers work with it. Recently ...
7
votes
1answer
755 views

Variations: Propagate Lists Programmatically

I have defined variations with two Labels (source and target) I have selected "Publishing Sites and List with variations and all pages" in one of the settings. The pages are created in the target ...
6
votes
2answers
731 views

What's the difference between a Publishing Site and an Enterprise Wiki Site

I have an existing Enterprise Wiki Site and I would like to convert it to a Publishing Site. What's the difference between a Publishing Site and an Enterprise Wiki Site. It looks like both types have ...
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

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.
6
votes
2answers
4k views

SPItemEventReceiver ItemUpdating and BeforeProperties / AfterProperties

I've bound and ItemUpdating event to a document library of a MOSS publishing site, I’m then trying to compare the Before and After properties. When I amend the field in the UI I expect the two values ...
5
votes
3answers
767 views

List Template doesn't appear in gallery after wsp deployment

I have a list template (.stp file) inside a module that I am deploying to a Publishing Site (SP2010) via a wsp. The elements.xml has the correct mapping to the _catalogs/lt folder. When I deploy, my ...
4
votes
3answers
317 views

Publishing Site “Save site as template”

How to save site as template for a Publishing Site? I do not understand how this is done.
4
votes
1answer
308 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
6k views

How to get a web.config file in a sharepoint 2010 publishing site?

I am working on a sharepoint 2010 project and I noticed in the soultion their is no web.config. I asked one of my fellow co-workers and he mentioned something about we don't have access to to it as ...
4
votes
2answers
1k views

Difference between Publishing Master Page and Standard Master Page

In SharePoint Designer, you can create a new Master Page or a new Publishing Master Page from Content Type. So what is the difference between a Master Page with a Content type of "Publishing Master ...
4
votes
1answer
669 views

How to send automatic email/s to the approve/s of content on my enterprise wiki

I have created a publishing site which contain enterprise wiki and for some sites I define that I contents require approval before being published. Currently the new wiki article will not be published ...
4
votes
1answer
269 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); ...
4
votes
2answers
952 views

Publishing SPWeb.Properties missing…why, how?

Has anyone ever seen a Publishing site "lose" the properties relating to the publishing functionality. Properties like PagesListId, PublishingFeatureActivated etc which actually control whether the ...
3
votes
2answers
2k views

How to enable publishing feature using CSOM?

How to enable site collection publishing infrastructure and site publishing features using CSOM?
3
votes
3answers
440 views

Alternatives to Feature Stapling?

I'm trying to determine if there is any way to automatically deploy a few web parts on the creation of new My Sites pages, but in a manner that doesn't use feature stapling. I know how to feature ...
3
votes
3answers
1k 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
4answers
843 views

Which is Better a UserControl or WebPart?

What are the advantages of user controls over WebParts when dealing with SharePoint? Some I can think of are: familiarity, reusability, and development speed. I am planning to implement them in ...
3
votes
2answers
4k views

Problem with Sharepoint ContentTypeBinding and Lookup field

I have a problem with ContentTypeBinding when creating a new site. I have custom site template definition where I have referenced Publishing Server Feature, so list Pages is automatically created on ...
3
votes
2answers
4k views

Path to jQuery file for SharePointWebControls:ScriptLink

I'm working in SharePoint 2010 Designer to create a custom page layout. I've added a SharePointWebControls:ScriptLink control but am not sure what the path is to my jQuery library. It's uploaded to ...
3
votes
2answers
86 views

Training site editors to use SharePoint

We are rolling out about 30 departmental web sites on SharePoint 2010 for our intranet. They all use a common look-and-feel and have publishing pages. The users have capability to edit pages and ...
3
votes
3answers
2k views

Can not update Navigation programatically

I have following code var subWeb = newWeb.Webs.Add(subsite.Url, subsite.Title, subsite.Title, 1033, PublishTemplate, false, false); subWeb.AllowUnsafeUpdates = true; subWeb.Update(); PublishingWeb ...
3
votes
2answers
2k views

remove *.debug.js from master page

When I view my SharePoint site I see a lot of .debug.js files being added by SharePoint. Is there a way to stop this happening. cui.debug.js core.debug.js sp.debug.js sp.ribbon.debug.js ...
3
votes
2answers
226 views

New Document on Pages Library prompts to upload

I have restricted a website to 2 custom page layouts created by me. But since I did this, the new document button on the Pages Library is not directing me to the create page dialog, where I can ...
3
votes
3answers
414 views

Folders in Pages Library?

In a publishsing site, there is a library called Pages. The web interface does not allow to create directories underneath. However, it's possible to create directories via SharePoint designer. This ...
3
votes
3answers
339 views

Rules of thumb for when to use a site, a subsite, or a site collection?

I am developing a company website/portal in SharePoint, and am trying to figure out the best way to organise it into site collections, sites and subsites -- I'm confused by the terminology I think. ...
3
votes
1answer
465 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
141 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
1answer
748 views

Site output cache with Forms authentication in a sub site

I have a Sharepoint 2007 puiblishing site. The top level site is purely anonymous and one of the children is using Forms authentication using Custom membership provider. The Admin site is using ...
3
votes
4answers
10k views

Redirect a user after submitting an InfoPath form

I made a custom list in SharePoint and then created an InfoPath form based on that list. I created a new page in my SharePoint publishing site and added an InfoPath Form Web Part that looked at my ...
3
votes
1answer
304 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
3answers
3k views

List does not exist - My Alerts on this Site->Add Alerts

When I try to access the URL - http://sample.url.com/sites/SiteColl/SPE/_layouts/SubChoos.aspx, it throws the below error however it is working for the other subsites 12/06/2011 16:08:45.59 ...
3
votes
1answer
185 views

Can you use Content By Query to retrieve items from it's parents?

I know you can use the Content By Query component to retrieve items under the current site, however, I want to do the opposite. I'd like to look for items in the parent sites of the current site. I ...
3
votes
1answer
89 views

How do I see the complete page content of an old version of a page?

I have a page library in a publishing site that has major and minor versions. I can click on a page's context menu and select View History and it gives me a list of all the major and minor version ...
3
votes
2answers
2k views

Problem using SharePoint 2013 Search to filter by managed property

In my SharePoint application, I have a managed metadata site column called Taxonomia and a custom content type inherited from Welcome Page that uses this column. I also have a custom page layout for ...
3
votes
1answer
86 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
1answer
187 views

Sharepoint 2007 Publishing sites and integrating the blog site template

Has anyone had any experience of using the MOSS blog template for publishing sites? It seems you have to turn off the ‘ViewFormPagesLockDown’ feature to stop authentication prompts when clicking the ...
2
votes
3answers
3k views

Get list of all publishing pages checked out

For a specific SharePoint 2010 web site, is there a way to get a list of all publishing pages (Pages library) items that are checked out regardless of how many subfolders deep they are located? ...
2
votes
3answers
511 views

Remove broken resource relationships between pages and page layouts

We have a page layout that we want to delete from a site collection but according to moss it is still referenced by some publishing pages. The pages that are apparently using the page layout are no ...
2
votes
3answers
11k views

how to get current URL in SharePoint?

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise, and I am using publishing portal template. I am developing using VSTS 2008 + C# + .Net 3.5. I am using left navigation ...
2
votes
2answers
7k views

SharePoint publishing portal v.s. collaboration portal

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I want to develop a portal application with login function (logged-in user could have more function to use on the ...
2
votes
3answers
15k views

How to add picture to a SharePoint list?

I am using SharePoint 2007 Enterprise + Publishing portal template + Windows Server 2008. I want to add a list with two columns, one column displays picture, and the other column displayes rich text. ...
2
votes
3answers
604 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
373 views

Creating a site definition

We have some 30+ departmental sites that need to be created for our intranet on SharePoint 2010 and are looking for ways to accelerate this process. One method suggested has been to use a standardized ...
2
votes
4answers
744 views

Problem applying content type bindings to an es-ES site definition

I'm building a publishing site which will support the following cultures: de-DE (1031) en-US (1033) es-ES (3082) fr-FR (1036) it-IT (1040) ja-JP (1041) ru-RU (1049) zh-CHS (2052) I can create an ...
2
votes
1answer
490 views

Dynamic Master Pages

Has anyone ever managed to implement dynamic master pages on a publishing site? Something along the lines of the master page switching automatically depending the referrer or some other passed ...