09-23-04 02:18 PM
Hi Chandy,
did you do incremental site deployment with a start channel?
Then this will not work if you deleted the channel from SiteManager as
delete in site manager is actually a move operation to the deleted items
folder.
Without a given start channel this should not happen.
You would have to run the following script to deploy deleted channel
explicitly:
Dim pCmsDeployExport
Dim shell
Dim pExportOptions
Set pCmsDeployExport = CreateObject("CmsDeployServer.CmsDeployExport.1")
pCmsDeployExport.AuthenticateAsCurrentUser
Set pExportOptions = pCmsDeployExport.Options
Dim strPackageFileName
Dim strReportUrl
' Specify where you want the export package to be placed.
strPackageFileName = "d:\export\export.sdo"
' Perform the export.
strReportUrl = pCmsDeployExport.Export(strPackageFileName, 0,
"{E4D1911E-9DD3-11D1-B44E-006097071264}")
' Display the report in the Web browser.
Set shell = WScript.CreateObject("WScript.Shell")
shell.Run "http://localhost" & strReportUrl, 7
WScript.Echo "Export complete."
Cheers,
Stefan.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
MCMS FAQ:
http://download.microsoft.com/downl...>
MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...nagement+Server
MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------
<chandy@totalise.co.uk> wrote in message
news:1095931802.675294.286950@k26g2000oda.googlegroups.com...
> Hi all,
>
> There has been much talk of problems with replicating the deletion of
> objcts using the SDAPI but it seems no concensus.
>
> I have an incremental deployment that can deploy a new channel fine but
> if I delete the channel again it does not replicate that change (and BG
> processing has not run between times). The Export report does not
> contain the deleted channel (or contain it marked for deletion).
>
> So my question is, does incremental deployment with the SDAPI replicate
> channel deletions or not? If yes, under what circumstances? If no,
> well, why not and what is the recommended approach?
>
> Thanks,
>
> Chandy
>
[ Post a follow-up to this message ]
|