Exporting Objects - doesn't catch deletions
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > Exporting Objects - doesn't catch deletions




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Exporting Objects - doesn't catch deletions  
LCC Admin


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-02-07 06: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






[ Post a follow-up to this message ]



    RE: Exporting Objects - doesn't catch deletions  
LCC Admin


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-02-07 06: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






[ Post a follow-up to this message ]



    Re: Exporting Objects - doesn't catch deletions  
Stefan Goßner [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-03-07 12:18 PM

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
>







[ Post a follow-up to this message ]



    Re: Exporting Objects - doesn't catch deletions  
LCC Admin


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-03-07 06: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






[ Post a follow-up to this message ]



    Re: Exporting Objects - doesn't catch deletions  
Stefan Goßner [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-03-07 06: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
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:41 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register