Tagged Questions

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

learn more… | top users | synonyms

0
votes
1answer
210 views

Content Query Web Part on a multilingual SP site

I have a SP 2010 installation, installed in English. I have some sub sites that use publishing, for news and such. On my home page I have a CQWP that shows the news nicely formatted. The CQWP has the ...
3
votes
1answer
464 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 ...
0
votes
1answer
169 views

Convert site to a publishing site

I need to activate publishing features on certain sites without losing their site content (lists and libraries). The publishing feature is activated in site collection. When I try to activate the ...
0
votes
1answer
117 views

How to create SPWeb in object model?

I will create my web and subwebs hierarchy from code. In past, in powershell i was using new-SPWeb -url $trimmed -template "BLANKINTERNET#0" -language 1055 -useparenttopnav -name $name1 ...
2
votes
1answer
668 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 ...
1
vote
0answers
493 views

Remote PowerShell Script

I have server 1 (application that the script) (dax-sp) and server 2 (sharepoint) (sp-sp) Script on server 1 (ScriptStart.ps1) Set-Item WSMan:\localhost\Shell\MaxMemoryPerShellMB 2000 $pwd = ...
1
vote
1answer
629 views

Publishing site without workflow?

I want publishing sites without workflow. Let me explaint my requirement like this. In my publishing webs content authors only should approve/reject items for content authoring. No need for workflow ...
0
votes
1answer
98 views

Associate my custom feature to default publishing site template with FeatureSiteTemplateAssociation

I want to have an event receiver on site collection creation, but it is not available. So as an alternative way i think of writing a custom feature, and associating it with the default publishing site ...
0
votes
1answer
254 views

Enable-Feature powershell-command in object model

How to do Enable-SPFeature equievalent in object model. I want to enable some features (lists) in my publishing site in event receiver. For example: Enable-SPFeature announcementslist -url ...
0
votes
1answer
252 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
3answers
592 views

How to add menu items for publishing iste

I created on publishing site. Now I want to add menu bar over there. But publishing site doesn't contain menu bar by default. How to add this into publishing site. I tried to add from v4.master page ...
0
votes
1answer
818 views

Announcement list & web part in publishing site

I know that i should activate team collab. features to be able to use OOB announcement list & web part. I wonder if there is another way without activating the team collab. features?
2
votes
1answer
290 views

Navigation of sitecollection outside the current site collection context

I have an application which has multiple site collections. For the business requirements I need to show the navigation of a site collection outside the context of current site collection. for e.g. The ...
0
votes
2answers
530 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 ...
1
vote
1answer
97 views

Change page layout for multiple pages

Is there a quick way to change the page layout of many pages (à la datasheet view, or in SPD maybe)? Editing and republishing each one individually seems rather onerous.
0
votes
2answers
207 views

Sitemap: Expand only current site

I have a left nav with StaticDisplayLevels="3". I want to expand the navigation of only current sites. Expected result: > Inactive1 > Inactive2 > Current > Current's SubSite1 ...
0
votes
0answers
103 views

Problem setting default page on Exported/Imported Web

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

Alternative to “Create site template” for publishing sites?

As many of you know for a publishing site "save as template" is not supported by MS. Although there are hack to save the publishing site as template, it is not guaranteed to work properly. And here ...
0
votes
3answers
81 views

Making the default page of the site dynamic

Is it possible to set the default page of a publishing site, to the first page in Pages library?
1
vote
1answer
1k views

Folders in Pages Library or Sub-sites?

I need a 5-6 level deep structure (hierarchy) in a publishing portal. Which way to choose is best practice. Creating publishing sites and sub-sites for each level? (Disadvantage of this: There are ...
0
votes
2answers
317 views

Building the level (menu) hierarchy by creating sites and subsites deeper

I am working on a portal project that was a custom asp.net wcm/ecm portal and i will develop it in sharepoint from scratch. In that custom portal there is a 5 level menu hierarchy. And only some ...
1
vote
0answers
79 views

Custom page layout html editor borders?

I have a PublishingWebControls:RichHtmlField on my page layout. When editing the page. The html editor has no borders, so it is hard to realise. How can i have borders around the html editor. Thanks
0
votes
1answer
2k views

How to set different start page for each user group?

I have two different user groups in my Sharepoint 2010 site and start page is default.aspx. I want to show nothing or another page for only one user group as start page. How can I solve this? Is it ...
0
votes
1answer
107 views

Can only create site (from custom defintion) when in central admin

As title says. I've created the bare basics of a custom site definition (no features etc.). It, at least appears, to deploy and activate fine judging by VS 2010 output. If in central admin, I can ...
0
votes
2answers
1k views

SharePoint Customization - Order of CSS

I'm branding a SharePoint 2010 publishing site. I'm deploying a custom master page and CSS style sheet using a Feature. I'm applying CSS as an alternate style sheet using the UI: Site Actions -> Site ...
1
vote
2answers
345 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
1answer
2k views

Provisioning did not success : Publishing Template

I have a rather strange scenario. I upgraded from SharePoint 2007 to SharePoint 2010 and assumed my permissions will pull through correct, note that I am on AD, which didn't quite work the way I ...
0
votes
1answer
47 views

Publishing workflow always discards page

I have a publishing web with unique permissions. I have tried changing the default approvers group through code by doing the follwing: Locate Pages list Locate workflow association by ...
0
votes
0answers
63 views

Incremental Deployment and Rename Site URL

We have a staging and production environment setup. Incremental deployment is configured from Stage to Production. We have one sitecollection / Inside that we have several subsites. One of the ...
1
vote
1answer
786 views

SPFile.OpenBinary - Encoding Issues

I am copying some SharePoint pages from one site collection to another and I noticed that certain special characters get mangled up in the destination file. Here is an example: Source Text: Nous ...
6
votes
2answers
727 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 ...
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
4answers
836 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 ...
0
votes
1answer
438 views

IE8 browser settings in company group policy SCCM

Which of the following IE8 configuration settings might cause an issue for SharePoint (2007 or 2010). 1) Tools -> Compatibility View Settings, Uncheck "Display iIntranet sites in Compatibility ...
1
vote
2answers
314 views

Sharepoint Site to create new project

I want to create a Sharepoint site so that I may automate the creation of new site from within my site. For example, a firm has several projects. A Project Manager tries to create a new site from the ...
2
votes
3answers
601 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?
1
vote
2answers
358 views

How to display last major version to authors

We have a unique requirement where customer wants their authors to browse the publishing site as-if they are read-only users. Additional Notes: We do NOT have separate STAGING and PRODUCTION farms. ...
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 ...
0
votes
1answer
307 views

Publishing site: Why are my pages blank but having webparts and controls in editing mode?

Started to look into Publishing site pages. I have a few pages of a publisihing site filled with web parts and controls in editor that I fail to see. They are saved, checked in and published (few ...
1
vote
3answers
235 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
4answers
1k views

Getting rid of the summary links box

I have a publishing site, but want to get rid of that "summary links" box that comes up on the homepage. How can I do this (preferably without sharepoint designer, as I am developer/infrastructure ...
1
vote
1answer
392 views

How to create a WSP file without using wspbuilder for Site Definition

I have a folder with following structure, I wonder how can I create a wsp file for it, and it deploy the site definition for me, structure - XML - -> ONET.xml - default.aspx - ...
1
vote
1answer
32 views

What things/attributes need to be changes while renaming a Site Defination?

I have a site definition folder with following structure, XML default.aspx MasterPage.master masterpageajax.master In XML folder I have "ONET.XML" and I looked into this file, and realized that ...
0
votes
1answer
3k views

Page Title not showing up in the breadcrumb - SharePoint 2010

I am trying to include current page title after site name on a sharepoint 2010 publishing site. The master page that I have created contains the necessary control to render the page title as attached ...
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 ...
1
vote
2answers
644 views

Remove “Pages” from the Url

I'm building a public facing SharePoint 2010 site and my client (and i) doesn't like the "/Pages/" part within the Urls that SharePoint generates. Is there a way to take this part out of the Url?
2
votes
1answer
696 views

Extend SharePoint Calendar

Context: We are trying to do Event Management module to be part of SharePoint multilingual publishing website by capitalizing on the capabilities of SharePoint calendar. The event as a business ...
1
vote
1answer
780 views

How do I enable anonymous access for only subsites of publishing sites?

How do I enable anonymous access for only subsites of publishing sites?
0
votes
1answer
418 views

input validation inside page layout

I have field called "program email" and this field is an email and part of page layout. what is the recommended way to validate that field to make sure that it is a valid email format and disable ...
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? ...