I was reading the docs for Custom Fields and noticed they are now in maintenance mode, with the recommendation to use Objects instead.
But Objects currently support only entities like Users, Organizations, Accounts, Commerce, etc.
What about entities like:
- Pages
- Navigation Menus
- Roles
- Question widget
These still rely on Custom Fields/Expando and are not available in Objects.
So what is the recommended long-term approach for adding custom data to these entities? Should we continue using Custom Fields for them, or is another replacement planned?
1 Answer
1
Hello @Ajay_Choudhary
For entities with no Objects equivalent, I think Custom Fields/Expando remains the supported and only mechanism. I’d note that “maintenance mode” isn’t the same as “deprecated” or “removed” — the feature continues to function and, as far as I can tell, is still the correct tool for these resources. I’m not aware of any breaking-change timeline forcing migration off of them. My take is that you should continue using Custom Fields for Pages, Navigation Menus, Roles, and similar portal-internal entities until (and unless) Liferay extends the Objects framework to cover them.
Thanks
Priyank Gajera