Set of features used in publishing sites and pages.

learn more… | top users | synonyms

1
vote
2answers
1k views

Delete a PageLayout programatically

In a publishing site, I want to delete a specific page layout. This code snippet is within a FeatureDeactivating event. layout.Folder is returning null, but I need the folder to delete the PageLayout. ...
5
votes
1answer
1k views

SharePoint output page cache always re-created / Rendered using cache profile debugging info " Time always changes

This issue has been isolated to "old" content that was published prior to activating the output cache profile. New content (post cache activation) is not suffering from this. I have a SharePoint 2010 ...
5
votes
1answer
617 views

How can I tell if a document is 'being published'?

I need to use the relevant event receiver to tell if a document is being published, is this possible? I will settle for has 'just been published' - i.e. I have no preference between itemupdating and ...
2
votes
3answers
962 views

OnPublish and OnUnpublish equivalent events?

I have an aggregated display of Publishing Pages based on an expensive query which includes permissions, page location, page content type and publishing state, which means I'm caching the results of ...
4
votes
3answers
1k views

Do updates to page layouts reflect on current pages?

I am working on a 2010 Publishing site. We have a bunch of pages tha are based off of a layout that controls news stories. We have made the change in the layout which is just adding some additional ...
1
vote
1answer
180 views

Entire site times out after page is approved. Looks like it's caused by the NavNodes table in content database

We've got a SharePoint site that recently started giving errors randomly when approving pages. The only changes we made was to update the site to CU August 2012, and turn on UPS, but I'm not sure if ...
7
votes
2answers
434 views

How do I make a custom publish botton for a page and make it do the same as the ribbon publish botton?

How do I make a custom publish botton for a page and make it do the same as the ribbon publish botton? We have a request from the customer to make a simple page that should have a custom publish ...
3
votes
3answers
3k views

Activating Publishing Feature breaks because of custom Master?

This issue is related to this post. I get an error message when the publishing feature is activated on sites of certain types. This means that I also get an error message when I create certain sites ...
0
votes
1answer
9 views

Is it possible to list the usages of an item from ReusableContent

Actually this is two questions... When looking at Page-Content (content of a publishing Page) in edit-mode: Is there a way to determine if a block of content is a Reusable Content? And which one? ...
2
votes
0answers
73 views

GetPublishingPages using the DefaultView?

I'm pulling a list of pages from a PublishingWeb like so ... PublishingWeb pubWeb = PublishingWeb.GetPublishingWeb(elevatedWeb); foreach (PublishingPage page in pubWeb.GetPublishingPages()) { ...
0
votes
1answer
97 views

Problem with setting default page on exported web

When creating publishing web, we use this method for setting default page: public void SetDefaultPage() { try { if (PublishingWeb.IsPublishingWeb(_courseWeb)) { ...
0
votes
1answer
766 views

Edit Page not disabled when a page is checked out

I have a bunch of publishing sites upgraded from SharePoint 2007 to 2010 and our users have noticed an interesting difference. Not sure if it's related to our environment or a bug in 2010. Basically ...
0
votes
1answer
230 views

Enabling publishing infrastructure feature by default in sharepoint 2010?

I saw this question posted on a site and I would like to know if there is an answer as I have the same issue. I know how to in the settings activate publishing feature on a site but is it possible to ...
0
votes
4answers
884 views

Google Analytics download tracking in SharePoint 2007 publishing sites

Has anyone got this to work without adding the specific java script to each and every link? I’ve tried both of these solutions ...
0
votes
2answers
204 views

Images do not show up on published pages

I created a new page layout from Publishing - Pages. From there I added an image report control on my page allowing users to upload a required picture for this particular kind of page. When the page ...
0
votes
2answers
446 views

SP 2010 Variations copy list

I have create a new Site Collection with Publishing Infrastructure Top Level Site. I create the variation root to be "/" I added a variation label "fr", Ran "Create Hierarchy", then created a new ...
2
votes
1answer
375 views

How to set Welcomepage using onet.xml

I need to set Welcome Page url only using onet.xml In this case OverView.aspx should be welcome page. This is what i found. But didnot work for me. <WebFeatures> <!-- Enable Publishing ...
2
votes
2answers
2k views

Hit Counter for List Item

I am working on custom solution that works like a blog. I have a list that contains articles, and I have publishing page that takes the list item id in the URL and query the list to display it. Now I ...
2
votes
1answer
287 views

Why is default ScheduledItem StartDate a 'weird' value?

If you create a new ScheduledItem object and look at the StartDate - it's 1/1/1990 - why? This has just caught me out when trying to evaluate whether the dates have been set or whether they're, what I ...
1
vote
2answers
385 views

What is the best way to create a splash page in SP 2010 that contains just a picture and a list of languages

Do I need to create a new master page? what should be included in this master page regarding that I don't what a menu, footer, logo, and nothing but my picture and a list of languages and flags. I'm ...
0
votes
1answer
34 views

Creating a page library with shared and unshared pages in Sharepoint

I wish to create a Page library that has some shared items that everyone can see, and some items that just some users can see. What might be the best way to implement this?
3
votes
2answers
185 views

Migrating changes from development site to staging site without doing a content database backup and restore

I wanted to find out the best practice to migrate changes from a development site to staging or production site. I think there should be a better way than backing up the content database on ...
0
votes
1answer
159 views

How can I get custom CSS to load into a publishing subsite?

I have a SharePoint 2010 farm that will have thousands of site collections in it. Each site collection will be a personal externally facing publishing site collection for individual employees. Each ...
1
vote
1answer
375 views

Automatically schedule a page on publish

When the user publishes a page, I need to automatically schedule it with a start date being as soon as possible, and the end date being a year from the start date. I've tried the event receiver ...
1
vote
2answers
291 views

Publishing Page - hide page layouts

We have requirement to leave only article layouts for publishing pages and hide others (Redirect, Blank Web Part Page, Table of Contents, Splash etc should be hidden). Any ideas how we could achieve ...
1
vote
0answers
206 views

can I access previous versions of publishing pages via '_vti_history/…'?

I'm not sure what I should be expecting when trying to access a version url of a publishing page. I can see that there is a Url property of SPListItemVersion for publishing items in the page library, ...
1
vote
2answers
814 views

How to add new list item with “Publishing Image” field in the list through list.asmx web service

I have a list called "post" which has the "publishing image" type column has one of the column on the list. Issue is need to add new item to list through [List.asmx] web service, need to know how to ...
0
votes
2answers
1k views

2010 Team Site with Publishing enabled: navigation issues

We're using SharePoint 2010 Standard and have a scenario in which there is a Team Site with Publishing Features enabled. We have a custom Masterpage (a slightly modified version of v4.master - with ...
2
votes
1answer
332 views

Changing PerformancePoint Dashboard page to be Publishing Page?

Is there any way to make the PerformancePoint Dashboard page (the page where you can see your charts, scorecards etc.) to a publishing page. Currently I believe its a web part page and my CSS is not ...
0
votes
1answer
435 views

Infopath publishing: “a device attached to the system…” error

I get this error when I try to publish my form (from Infopath designer) to a form library (created during publish) of a SharePoint 2010 instance: Infopath cannot save the following form: ...
2
votes
2answers
947 views

Can't activate Publishing Feature

On some sites I get the following error when trying to activate the publishing feature. Event log message was: 'Failed to initialize some site properties for Web at Url: 'http://intranet/social'. ...
1
vote
1answer
104 views

What's happending in the background when you Check-in/Publish

I can see a large file have been uploaded. Now I need to check-in/Publish. Why is it taking long time to check in since the file blob is already in the SP? Then it's finally times out. Any idea?
1
vote
1answer
907 views

How to set anchor tags href value using SharePointWebControls:FieldValue column?

I am trying to set the value for href attribute of an anchor tag in one of my SharePoint Publishing Site layout pages. I need to set the value to the value stored in one of the columns in page's ...
1
vote
3answers
219 views

Publishing Pages / WCM - Good resources for implementation?

Are there any good resources available for implementing web content management using publishing pages in SharePoint 2010? I know the bits and pieces, but am looking for example implementations. I'm ...
0
votes
1answer
67 views

How to Move Project Management site to production server from local

Right now I am learning Sharepoint 2010. I have developed simple project management site. Really I don't have any idea about how to move this site to production server(another server) from my local ...
0
votes
3answers
183 views

The AllItems view not applied when add list to page as 'WebPart'

Im sure its pretty easy, but I dont know why its not working I have a custom list with the default view AllItems, I have made some changes to this view (through SPD), every thing works fine in the ...
1
vote
2answers
672 views

How do I publish SharePoint 2007 wiki articles to single MS Word document?

I have a SharePoint wiki with several separate articles that I would like to consolidate into a single MS Word document. The articles are in a standard SharePoint 2007 wiki with no customizations. I ...
0
votes
1answer
555 views

Error on activating Publishing Feature SharePoint 2010

I am working with SharePoint 2010. I need to activate SharePoint Publishing Infrastructure Feature under Site Administration>Site Collection features. But when I try to activate this feature I get the ...
0
votes
1answer
230 views

SharePoint 2010, programmatic updates to PagesList not saving on PagesList.Update()

publishingWeb.PagesList.EnableModeration = false; publishingWeb.PagesList.EnableVersioning = true; publishingWeb.PagesList.MajorVersionLimit = 10; publishingWeb.PagesList.EnableMinorVersions = false; ...
2
votes
2answers
1k views

Controlling Metadata Search Refiners in Search Refinement Panel

I'm trying to figure out why not all of my Metadata terms appear as refiners in the Refinement Panel. I have the following content type structure: Lawyer Office News There are Metadata terms ...
1
vote
1answer
166 views

Sharepoint proxy page not accessible when not logged in

I created a proxy aspx page following this guide: http://www.sharepointjohn.com/sharepoint-2010-cross-domain-proxy-page-for-client-side-scripts/ I deployed the solution to the farm using the two ...
2
votes
1answer
1k views

Search Center Master Page issue

I am working with a SharePoint 2010 Publishing site and need some help on some issues I am having as it relates to Search. First, we are directing search results to a standard Sharepoint Search ...
-1
votes
1answer
34 views

Mandatory page reviewal process

For a publishing site and set of publishing subsites what would be the best way of setting up a page review process. Each page would have a person responsible (the page owner) who would have to ...
1
vote
3answers
808 views

Do I need to enable the publishing features to change a Team Site's master page?

When building a SharePoint 2010 site, we have a root Publishing site that has been branded up using a custom Master Page. We'd now like to add some Team Sites below the publishing site, and have our ...
0
votes
0answers
171 views

Workflows and publishing feature with e-mail notification sends mutliple e-mails

I have a requirement which states "When a document is being uploaded to the document library, an email should be sent for approval". I'm using a SharePoint Designer workflow for this. I also need to ...
1
vote
1answer
362 views

How to Find Selected Node PortalSiteMapDataSource

I am trying to Create Custom Navigation control which read Nodes from given PortalSiteMapDataSourceID and generate XML and then use XSLT to generate HTML out of it.How can i find selected node from ...
0
votes
1answer
1k views

How to dynamically set Module URL property in Elements.xml file

I have created a module that creates a site page inside a pages library. Is there a way we can dynamically set Url property of the Module node in the XML file? I would like to set the Url property ...
1
vote
4answers
609 views

HTML content from crawled properties in SP Site

I've been working on a step for F4SP 2010, where I had to get the HTML content from the Site crawled of Sharepoint, and get a div into it. My question is not how to do that. I have the main problem ...
0
votes
3answers
4k views

How to add SP2010 module elements with “published” state?

I use a feature to deploy a master page to a SharePoint 2010 publishing site. I use VS 2010 SharePoint projects. The feature deploys the .master , some CSS files and some images. Everything works OK ...
1
vote
1answer
2k views

Difference between wiki pages library and pages library?

I have the following scenario. We have a sharepoint 2010 web template to create sites in our organization.\ After the site is created there is a custom button that activates publishing features. The ...