You can use following to publish a particular list/web/site/web app

http://stsadm.blogspot.com/2007/10/publish-items.html


C:\>stsadm -help gl-publishitems

stsadm -o gl-publishitems

Publishes all items at a given scope.  Use -test to verify what will
be published before executing.

Parameters:
        [-url <url to publish>]

        -scope <Farm | WebApplication | Site | Web | List>
        [-quiet]
        [-test]
        [-logfile <log file>]





On Tue, Aug 18, 2009 at 10:51 AM, Paul Noone <
[email protected]> wrote:

>  Anyone found or written a nice simple code solution to publish (major)
> all items in a doc library?
>
>
>
> I need to remove an old content type and have already changed the CT. Now I
> need to publish a major version in order to remove it. Tried disabling
> versioning but it doesn’t do the trick.
>
>
>
> Regards,
>
> Paul
>
> Online Developer, ICT
> CEO Sydney
>
>
>   ------------------------------
> Support procedure: https://www.codify.com/lists/support
> List address: [email protected]
> Subscribe: [email protected]
> Unsubscribe: [email protected]
> List FAQ: http://www.codify.com/lists/ozmoss
> Other lists you might want to join: http://www.codify.com/lists
>
--------------------------------------------------------------------------------
Support procedure: http://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Reply via email to