I guess Nicolas refers to the Extensibility Pattern
https://cwiki.apache.org/confluence/display/OFBIZ/General+Entity+Overview#GeneralEntityOverview-ExtensibilityPattern
Examples in the existing data model are a good way to understand this pattern...
HTH
Jacques
Le 08/02/2017 à 17:37, Nicolas Malin a écrit :
On most Entity you have a linked EntityAttr to manage specific data. Feel free
to use it to record any value.
After you can use as you wish on your screen or service
Nicolas
Le 08/02/2017 à 17:10, Ahmad Rabab’ah a écrit :
Hi Nic,
Thank you for the details.
What I have is based on a business requirement that was received by the customer. The requirement is to allow the customer to add a dummy field
(informative) that will allow the user to add a piece of data related to a certain entity.
I know that “Ofbiz is stronger than us” so we are studying the available
options to implement this.
Do you have any possible workaround to have this implemented without altering
the way ofbiz works.
*From:*Nicolas Malin [mailto:[email protected]]
*Sent:* Wednesday, February 8, 2017 10:45
*To:* [email protected]; Ahmad Rabab’ah <[email protected]>
*Subject:* Re: Dynamic field
Hi,
Like Jacques said, this ask found a better place on user mailing list, so I
redirect it.
Adding dynamically a field to an entity haven't real logical. OFBiz is an automation system and to do that with performance, it need to load,
control, optimize the data model and integrate it with all other components.
Generally we want realize this operation by lazy to understand what do you want with the data and lazy to understand if OFBiz already managed it by
a different way. In my society we finished to say "OFBiz is stronger than YOU" because on most of time, all we need already exist.
Finally change the data model on the fly don't make sens
Nicolas
Le 07/02/2017 à 14:04, Ahmad Rabab’ah a écrit :
Hello Dear,
I can adding dynamic field to my entityDef.xml from browser ?
I want to add column in my entity dynamic not manual , I can do that ?