Hi there,
so i got a problem with an DXL-Stream i liked to import. I wnat to set some database properties like ‘isadvancedtemplate’ and so on.
so i coded this :
Set stream = session.CreateStream
stream.WriteText {<database
xmlns='http://www.lotus.com/dxl'
version='6'
advancedtemplate = "} + Cstr(currentDoc.GetItemValue("isAdvancedTemplate")(0)) + {"
copyprofiledocswithdesign = "} + Cstr(currentDoc.GetItemValue("copyProfileDocuments")(0)) + {"
singlecopytemplate = "} + Cstr(currentDoc.GetItemValue("singleCopyTemplate")(0)) + {"
title = '} + newTitle + {'
templatename='} + newTemplateName + {'
fromtemplate=''>
</database>}
Set mp = session.CreateDXLImporter(stream, dbTemplate) ' Nun wird der Stream geschrieben
With mp
.ReplaceDbProperties = True
.Process
End With
the problem is that only the ‘isadvancedtemplate’- property is set