Microsoft Content Management Server - Exporting Objects - doesn't catch deletions

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > May 2007 > Exporting Objects - doesn't catch deletions





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Exporting Objects - doesn't catch deletions
LCC Admin

2007-05-02, 1:23 pm

HI All,

When performing a 'command line' export from a staging server to a live
server using VBS script which contains lines like:
---:start of code
' 7 days
url = myDeployObject.Export(strPackageFilename, 10080, "")
---:end of code

It exports the SDO just fine, but doesn't seem to export the posting objects
deleted in the 'Site Manager' GUI, only postings deleted directly from the
CMS web interface.

Anyone have any ideas?

Dave

LCC Admin

2007-05-02, 1:23 pm


[Follow-up]

I tested the SDO package that I exported and found the following:

If I use the GUI import in 'Site Manager' on the live server, it also does
not get rid of deleted postings I removed in the GUI on the staging server.
However, if I choose the 'Delete all existing container contents when
replacing a container', it builds the channels in a 'fresh' state and the
deleted objects are gone (which makes sense).

If this ends up being my only option, is there a switch in the 'command
line' VBS for importing that would allow me to designate this type of
behaviour?

For example, I have the following flags set:
----------
myImportOptions.IncludeCreatedBy = 1
myImportOptions.RightsOnAdd = 2
myImportOptions.RightsOnReplace = 1
myImportOptions.IncludeRightsGroups = 1
----------

However, I can not find flags to set the 'Delete Replaced Container...'
option.

Advice?

Dave

Stefan Goßner [MSFT]

2007-05-03, 7:18 am

Hi Dave,

did you clear the deleted items folder?
As long as the items are in the deleted items folder they will not be
deployed.

Cheers,
Stefan


"LCC Admin" <LCCAdmin@discussions.microsoft.com> wrote in message
news:10D83C6A-7B04-42D9-B6B6-17A07BA4B7DE@microsoft.com...
> HI All,
>
> When performing a 'command line' export from a staging server to a live
> server using VBS script which contains lines like:
> ---:start of code
> ' 7 days
> url = myDeployObject.Export(strPackageFilename, 10080, "")
> ---:end of code
>
> It exports the SDO just fine, but doesn't seem to export the posting
> objects
> deleted in the 'Site Manager' GUI, only postings deleted directly from the
> CMS web interface.
>
> Anyone have any ideas?
>
> Dave
>



LCC Admin

2007-05-03, 1:20 pm


No, I didn't, but, that isn't the issue. It isn't that I don't want
something deployed, it is that I want something removed from the live server
that was removed from the staging server.

For example, if I create posting ABC on the staging server on Monday, it
transfers to the live server on Tuesday, I delete from the staging server on
Wednesday, the live server never removes it, because it doesn't get included
in the SDO package as a 'remote me' item. However, if I do a full
export/import with the 'delete destination channels as they get replaced',
then they get removed as expected.

The goal is for the 'command line' VBS export, which only exports the last 7
days of changes to also instruct the live server to remove deleted items.

Any other ideas? (thank you)

Dave

Stefan Goßner [MSFT]

2007-05-03, 1:20 pm

Hi Dave,

it will be included if you are using a incremental deployment and if you
purged the deleted items folder.
And if you did not specify a start channel guid.

Cheers,
Stefan


"LCC Admin" <LCCAdmin@discussions.microsoft.com> wrote in message
news:FD03CBDB-930B-47E4-BE41-78E8E6B6B765@microsoft.com...
>
> No, I didn't, but, that isn't the issue. It isn't that I don't want
> something deployed, it is that I want something removed from the live
> server
> that was removed from the staging server.
>
> For example, if I create posting ABC on the staging server on Monday, it
> transfers to the live server on Tuesday, I delete from the staging server
> on
> Wednesday, the live server never removes it, because it doesn't get
> included
> in the SDO package as a 'remote me' item. However, if I do a full
> export/import with the 'delete destination channels as they get replaced',
> then they get removed as expected.
>
> The goal is for the 'command line' VBS export, which only exports the last
> 7
> days of changes to also instruct the live server to remove deleted items.
>
> Any other ideas? (thank you)
>
> Dave
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com