Wednesday, November 24, 2010

The Heading “Libraries” automatically added through content import

Problem

When exporting and importing a single Document Library using the Import-SPWeb command, the Heading "Libraries" is automatically added to the site navigation if it is not there. Exporting then re importing to the same site or another site always adds the heading. Seems to be no option to stop this behaviour.

clip_image001

Solution

As I don’t want the heading Libraries to be added I guess I can either delete them manually or build a PowerShell script that moves through all the SPWebs and deletes them.  Not a great solution and this really should be controlled via parameters on Import-SPWeb.  Hey Microsoft, can you sort that for me please?  Thanks.

1 comments:

  1. discount oakley sunglasses is a sport and lifestyle brand, driven to ignite the imagination through the fusion of art and science. The essence of the brand is communicated through hundreds of professional and amateur athletes who depend on oakley sunglasses outlet products to provide them with the very best while they redefine what is physically possible.The oakley sunglasses within our Era category represent the most recent technology and freshest new looks to fit your way of life.Since the 1940s sunglasses have been popular as a fashion accessory, especially on the beach.Oakley Active Sunglasses that change colours with the ease of a chameleon could become the hottest fashion accessory.

    Oakley Sunglasses 2012 has now been recognized as one of the most coveted brands in performance technology and fashion.Oakley Lifestyle Sunglasses are famous for exceptional top quality technologies and a innovative range of Oakley Sport Sunglasses. But referring to the original one, the price is very high, some of us can not afford it, so Oakley Multi Lens Sunglasses are you the best choice. We have been in wholesale Oakley sunglasses for 6 years, we always offer excellent quality and cheapest Oakley Polarized Sunglasses.

    ReplyDelete