Learning Center

Learning Center

Learn Menu


Anchoring an entity or a class property is a way to make it exist in a specific engine. Such item would become anchored and a little anchor icon would appear.

Anchor an entity

You can anchor an entity by simply creating it in one of your engines, instead of the design module. Such entity will only exist in the given engine. Anchoring an entity is a great way of extending your models only for one relevant engine. For example, you may want to create a Payment class only for your backend engine written in Python.

If you were to create a colliding entity in design module, the OneGen app would notify you there's an existing anchored entity that you should rename first.

Anchor a property

You may just create an anchored class property. For example, your backend engine may need a loginToken property in your User class, but no other engine would use that.

Note: Anchored entities & properties are completely disconnected from the design module and live only in a specific engine.

We use cookies to track activity using Google Analytics & reCAPTCHA. It helps us understand what our visitors like about our product and how they interact with our website. For more information, check out our Privacy Policy.