.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Post New Web Links

Plan for massive update of publishing pages

Posted By:      Posted Date: October 28, 2010    Points: 0   Category :SharePoint


We have a subsite which is currently in production, but we are planning to make changes to a lot of pages that will only go live on a certain date. The thing is we have to start making the changes as it is impossilbe to make all the changes within one single day. I wonder what the best approach is while the current pages might change daily and we are going to replace a lot of the pages with the new content on a certain date.

Please advice. Thanks in advance

View Complete Post

More Related Resource Links

Maintenance Update Statistics plan

Hi, I've created a maintenance plan for many databases with these tasks (SQL 2005) 1- shrink Database 2- Update Statistics 3- Cleanup History 4- Backup Database (Full) 5- Maintenance Cleanup task The maintenance plan failed at task Update Statics.  Here the error message : Error number : -1073548784 Error message : Executing the query "UPDATE STATISTICS [dbo].[LOG_DETAILS] WITH FULLSCAN " failed with the following error: "Could not continue scan with NOLOCK due to data movement.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly. My question :How do I know which database is causing the problem and how can I fix the problem ? I don't know a dbo database? thanks,   Jasmin  

alternative to publishing pages that are editable in sharepoint designer?

when i create a publishing page, i can only edit the page in the browser.  it's not possible to edit publishing pages in sharepoint designer.  i want to be able to edit my pages in sharepoint designer.  so, i'm using web part pages.   now, i want to change the way the title of the page is generated for my pages.  the template i'm using has this:   <asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server"> <SharePoint:ListItemProperty Property="BaseName" maxlength="40" runat="server"/> </asp:Content>   i want to change that.  i can change it in each web part page individually in advanced mode.  i can also change the template so that new pages are generated with my customizations.  but i haven't found any way to automatically apply my customizations to all of my existing web part pages. the page layout feature of publishing pages would allow me to do this.  but then, i wouldn't be able to edit my pages in SD.  is there any way to be able to edit pages in SD, and still be able to apply customizations to all of my existing pages in one shot?

How to set create-only permissions to publishing pages library?

I have publishing site where users can add their own pages to some libraries. I have problem with permissions when user creates new page. Here's how I set permissions: all users are added to members group (by default they can view pages) members group has view permissions also for master pages library For site where users can add pages I set the following permissions on pages library users can add view pages users can add pages When user adds new page then he/she gets automatically edit permissions for this page. So users can edit only their own pages. I found out that add permission is not enough - when user creates page then he/she gets access denied error. The minun that doesn't cause problems is approver permission to pages library (of course, now users can do everything on pages library they ever want to do). Is there any way to avoid making users as approvers?  They only need view and add permissions for page library and view and edit permissions for pages they added. They cannot do anything more. Approving and denying of pages is administrators job. With best regards, Gunnar Peipman   Also visit my ASP.NET and SharePoint blog!

sharepoint publishing pages permissions not copying while using variations



I have multilingual publishing site build on sharepoint 2010.We have break the permissions of the publishing pages  on the source language and assuming the same permissions will apply on the target site publishing pages also. But target site publishing pages still inheriting the permission from the site. Just want to assure, is this the default behavior of the sharepoint or something is wrong in environment setup. 


Sourabh K

Project publishing as a compiled package (DLL+aspx). Can I revert to aspx and editable pages?


First time 4.0, the project is a complied DLL - is there any way to revert to just normal aspx and editable cs?



HTML Editor not working in publishing pages - SharePoint


Hello All,

I am developing a SharePoint publishing portal wherein I make use of HTML Editor(third party control) in my page layout for editing the contents.

When I try to edit the page using the publishing console, the HTML Editor which I have added in my page doesn't appear at all. I monitored the design at run time using firebug and it showed no content. Where could I be wrong?




Store Publishing Pages in a library besides "Pages"


Hi everybody,

I'm trying to see if there's a way to store publishing pages in other libraries and keep their functionality.  For example, I want to make a library called "Things" and move a publishing page from "Pages" into "Things".  This is in order to have the URL's of pages in the site be something like example.org/info/faq.aspx instead of example.org/pages/info/faq.aspx.

I have already tried doing this, enabling the Page and Article Page content types, but I get some weird problems:  The edit button isn't always available, when I try to create a new item in the library it doesn't take me to the page creation page (even though I have pages as the default content type), and moving pages from one library to another breaks the top navigation link.

How could you customize the URL's of your pages without using a redirect or any other hokey solution?



SQL Server Maintenance Plan - Update Statistics fails if schema contains special chars


We have a database schema with a period in it's name.  This is valid as per http://msdn.microsoft.com/en-us/library/aa224033(SQL.80).aspx. When we create a maintenance plan to update statistics it will succeed if the object property is set to 'Tables and Views'. If this is set to 'Table' it will fail.

Steps to Reproduce

  • Create a new schema in a user database with a period in it's name, ie
    CREATE SCHEMA [Windows.EventLog] AUTHORIZATION [dbo]
  • Create a table with owner using schema created in #1, ie
    CREATE TABLE [Windows.EventLog].[Computer](
    	[ComputerId] [smallint] IDENTITY(1,1) NOT NULL,
    	[ComputerName] [varchar](255) NOT NULL,
    ) ON [PRIMARY]
  • Create a new maintenance plan, drag 'Update Statistics Task' to designer surface, edit properites, choose the user database, View T-SQL and test execution: it will work
  • Edit maintenance plan and modify 'Update Statistics Task', change Object to Table, change selection to all, execute task and it will fail. Also, if you now try to click 'View T-SQL' or change it back to 'Tables and Views', a error dialog with title 'Microsoft.SqlServer.MaintenancePlanTasksUI' shows will message 'Object

Publishing Site - Task update was not accepted error



In a Publishing Site, I am trying to create a Site (Site Actions -> Create Site).  While Approving the newly created Site, I get a Error Page which says "Task update was not accepted".  I don't see any additional information in the logs?

I am using SharePoint 2007 Enterprise.  Anyone faced this problem? Please advice.

Thanks & Regards,
Kamlesh | Blog | Twitter | Posting is provided "AS IS" with no warranties, and confers no rights.

Variation site: publishing pages

Hopefully some one will have solution. I have a source publishing site A. where I have bunch of webparts, contents, documents. Now once I publish, all the content propagates with few exception like: 1) items in document library 2) images 3) Note board to name a few. any work around.... and the other thing, how the partial page updates works? as propagate only those items have changed in source page. bcz people dont want to customize target sites each time when they publish from source right?

SharePoint 2010 : Publishing Pages by Administrator



We have a requirement where administrator/approver should be able to directly publish the pages of a library where publishing approval workflow is enabled.

But, the Publish button on the ribbon is greyed out even for administrator and approver.

Any ideas on how to get this working?




Update statistics and cache plan invalidation



I assumed that whenever we run update statistics on the database tables it would invalidate all the plans in cache involving those tables and SQL Server would generate a new execution plan for queries involving those tables but this is not a behavior we are getting on test system.

Let me know if this assumption is not true and we need to clear cache after running update statistics to make sure SQL Server generates optimal plan with new statistics.

Following is the sample code I tried on SQL Server 2005sp3:

drop table test_stats
create table test_stats(id int not null primary key, id1 int, id2 int, id3 char(1000))
create index idx_dd1 on test_stats(id1)
--The following statement would generate execution plan with full scan on test_stats
select * from test_stats where id1 = 100
set nocount on
declare @i int
set @i = 1
while (@i < 10000)
insert into test_stats values(@i,@i,@i,@i)
set @i = @i+1
update statistics test_stats with fullscan
--The following statement still generates execution plan with full scan on test_stats even after updating statistics
select * from test_stats where id1 = 100
dbcc freeproccache
--The following statement generates execution plan with index seek after clearing cache
select * from test_st

How to hidde Web part group from ribbon in a publishing and wiki pages?



I want to hide Webpart group for users with special permmision.

I have created this custom action

<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
   Location="CommandUI.Ribbon" Rights="ManageWeb">
          Location="Ribbon.EditingTools.CPInsert.WebParts" />


But when I do edit page->insert I still have this group.

Can you help me?



publishing site & master pages



I have a publishing site for which I am creating a master page. I created a couple of test pages so I could see what my master page looks like.  I created a page layout and some new pages to use for a test. I can view my pages with the master applied in SP Designer 2007, but when I look at it on the web, it's not picking it up.  I approved the master page  and the page layout, but I didn't publish them. ( I get the warning that the local and remote sites are the same- not sure what this means).

I am assuming I don't have to publish the master page to see it on the website. Is this true?

Also, when I look at the pages(aspx) in the MasterPage Gallery folder in SP Designer, I can see that the master pages custom & default options are selected. Also, the page layout's "set as default master page" ( it's an aspx file) is also selected.  Does this sound right?  

Does anybody know what I am missing? 


thanks much.


Issue with publishing pages in bilingual site?


Hi All,

We have developed a bilingual portal (English/Arabic). In variations I have set option to "Recreate a new target page when the source page is republished". But it is not working as per my expectations; I deleted the page in Arabic site (target site) and again published the page in English site but it is not creating a page in Arabic site. Please guide me on this issue. I appreciate your suggestions.


Rahul Babar

Dot Net, Sharepoint, Infopath Developer

Publishing portal : Getting error when publishing or approving pages .

When I am trying to publish or approve pages from form list . I am getting error and site stops working in that session for browser "Unable to use SQL Server because ASP.NET version 2.0 Session State is not installed on the SQL server. Please install ASP.NET Session State SQL Server version 2.0 or above. "

Creating your SharePoint Governance Plan

One of the most common questions that I get from prospects as I'm talking to them about the creation of a governance plan and process is what does it look like. In other words, there are materials available which describe what should be in a governance plan but there isn't a ton of guidance on what the process of creating a governance plan and process are.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend