To instantiate a new DataObject use the following:
Dim newTestObject As New TestObject(Me.ProcessAppMgr, CType(NextGen.Framework.Managers.AssemblyMgr.NxAssemblyMgr.GetObjectSchema("TestObject"), Schema.ISchema))
This is the way to create new data objects on the fly without having to load them from archetypes.
No comments:
Post a Comment