Link to home
Start Free TrialLog in
Avatar of koray_uygun
koray_uygun

asked on

While db.CreateCopy in R6, does not copy the image resources

Hi,
I have created a script to create db's but it does not copy the image Shared Ressources. Do you know how I can get these resources and copy them to the new db with script?

Thanks,
Koray.
Avatar of HemanthaKumar
HemanthaKumar

What do you do in the script.. copy design element by element ??

Don't you use CreateCopy method of the database ?

~Hemanth
Avatar of koray_uygun

ASKER

Set templateDB = New notesDatabase ( doc.txtTempDBServer(0) , doc.txtTempDBPath(0))
Print "Creating New DB : " + doc.txtDBName(0)
Set targetDB =  templateDB.CreateCopy( dbServer , dbPath)
dbName = doc.txtDBName(0)
ASKER CERTIFIED SOLUTION
Avatar of p_partha
p_partha

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I like to create replica and change the replica ID.
Thanks!