Microsoft Content Management Server - SOS- Export/Import Missed a few documents in resource gallery

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > March 2004 > SOS- Export/Import Missed a few documents in resource gallery





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 SOS- Export/Import Missed a few documents in resource gallery
Patrick

2004-03-01, 7:36 am

Export using
Set objCmsDeployExport = CreateObject("CmsDeployServer.CmsDeployExport.1")
'.....
Set cmsExportOptions = objCmsDeployExport.Options
cmsExportOptions.IncludeCreatedBy = CMS_EXPORT_INCLUDE_CREATED_BY_USER
cmsExportOptions.IncludeRightsGroups =
CMS_EXPORT_RIGHTS_GROUP_WITHOUT_MEMBERS
'.....
strReportUrl = objCmsDeployExport.Export(strExportFilePath & ".sdo" _
, 99999999, "")

'Unfortunately, I don't have strReportUrl anymore, as it was not logged!

Import using
Set objCmsDeployImport = CreateObject("CmsDeployServer.CmsDeployImport.1")

'Set import options
Set objCmsImportOptions = objCmsDeployImport.Options
objCmsImportOptions.IncludeCreatedBy =
CMS_IMPORT_CREATED_BY_USE_PACKAGE
objCmsImportOptions.IncludeRightsGroups =
CMS_IMPORT_RIGHTS_GROUP_WITHOUT_MEMBERS
objCmsImportOptions.RightsOnAdd =
CMS_IMPORT_RIGHTS_ON_ADD_USE_PACKAGE
objCmsImportOptions.RightsOnReplace =
CMS_IMPORT_RIGHTS_ON_REPLACE_USE_PACKAGE


strReportUrl = objCmsDeployImport.Import(strPackageFilePath)

A lot of documents which were "Last Modified" in 2003 did not get imported
(in fact not listed in the import report). How could this be possible
(99999999 minutes=190 years!)? How could I resolve, just export resource
gallery and import that?? Would that overwrite ok?


Stefan [MSFT]

2004-03-01, 8:36 am

Hi Patrick,

only postings and channels and associated resources are exported (e.g.
resources that are in a placeholder).
Resources stored in the resource gallery but not used will not be exported.

See also here:
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm#71069E19-E78B-4BA6-A078-92EBC450CCAB

Cheers,
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights.


"Patrick" <patl@reply.newsgroup.msn.com> wrote in message
news:uX21wM4$DHA.4060@TK2MSFTNGP10.phx.gbl...
> Export using
> Set objCmsDeployExport = CreateObject("CmsDeployServer.CmsDeployExport.1")
> '.....
> Set cmsExportOptions = objCmsDeployExport.Options
> cmsExportOptions.IncludeCreatedBy = CMS_EXPORT_INCLUDE_CREATED_BY_USER
> cmsExportOptions.IncludeRightsGroups =
> CMS_EXPORT_RIGHTS_GROUP_WITHOUT_MEMBERS
> '.....
> strReportUrl = objCmsDeployExport.Export(strExportFilePath & ".sdo" _
> , 99999999, "")
>
> 'Unfortunately, I don't have strReportUrl anymore, as it was not logged!
>
> Import using
> Set objCmsDeployImport =

CreateObject("CmsDeployServer.CmsDeployImport.1")
>
> 'Set import options
> Set objCmsImportOptions = objCmsDeployImport.Options
> objCmsImportOptions.IncludeCreatedBy =
> CMS_IMPORT_CREATED_BY_USE_PACKAGE
> objCmsImportOptions.IncludeRightsGroups =
> CMS_IMPORT_RIGHTS_GROUP_WITHOUT_MEMBERS
> objCmsImportOptions.RightsOnAdd =
> CMS_IMPORT_RIGHTS_ON_ADD_USE_PACKAGE
> objCmsImportOptions.RightsOnReplace =
> CMS_IMPORT_RIGHTS_ON_REPLACE_USE_PACKAGE

>
> strReportUrl = objCmsDeployImport.Import(strPackageFilePath)
>
> A lot of documents which were "Last Modified" in 2003 did not get imported
> (in fact not listed in the import report). How could this be possible
> (99999999 minutes=190 years!)? How could I resolve, just export resource
> gallery and import that?? Would that overwrite ok?
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com