70001747 Change CustomObject Name Space name

Article 70001747
Type Wish
Product Engine
Version 8004
Date Added 4/29/2020
Fixed 8.8005.0.3 (4/29/2020)
Submitted by Yannis Makarounis

Summary

Chage CustomObject Name Space name and support open custom objects previous saved with an older namespace name

Solution

Supported in new version 8005.0.3
//After your vdDocument first initialized and before call any open
//call the folowing foreach custom object type.

document.Activator.AddType(typeof(YourNewNamespace.YourCustomObjectName));
document.ProxyClasses.Add(typeof(YourNewNamespace.YourCustomObjectName));

//NOTE YourCustomObjectName must always be the same in all of your file versions.

Send comments on this topic.