Ticket Q480333
Visible to All Users

Clone Object Module

created 12 years ago

Are there any samples fr the clone object model? I can't find anything less than a few years old, and it seems to have changed. I used to be able to simply add the module, and a "IsClonable" custom attribute, but that doesn't work anymore.

I've tried everything mentioned in the documentation, it says that dropping the module in and setting the base classes "IsClonable" property to "true" will do it. The base class doesn't seem to have an "IsClonable" property, unless I inherit the IModelClassCloneable interface and create it myself, but that doesn't make the clone action show up either.

Answers approved by DevExpress Support

created 12 years ago (modified 12 years ago)

Hello Scott,
It is not required to extend the Application Model to see the IsClonable property. It is sufficient to add the Clone Objects module via the Module Designer or Application Designer, recompile the application and open the module to which the Clone Objects module is added. It is possible to open the higher-level module. For example, if you add the Clone Objects module to the platform-independent module (<AppName>.Module), the IsClonable property will appear in all models. I have attached a video demonstrating this. I hope you will find it helpful.

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.