Re: Dynamic field

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Dynamic field

Nicolas Malin-2
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 ?
>
> *Best Regards,*
>
> Ahmad Rbab’ah
>
> Java Developer
>
>
>
> Description: Logo for Office-4
>
>
>
> Description: bi email-3-02
>
>
>
> P.O.Box 3516 Amman, 11821
>
> The Hashemite Kingdom of Jordan
>
>
>
> *Tel.*+962(6) 556 2620
>
> *Mob (Jordan).*  +962 79 5077915
>
>
>
> Description: bi email-3-04
>
> Description: bi email-3-05
>
>
>
> /biict
>
> @biict
>
>
>
>
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Dynamic field

Nicolas Malin-2

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.

 

 

 

 

Best Regards,

 

Ahmad Rbab’ah

Java Developer

 

Description: Logo for Office-4

 

Description: bi email-3-02

 

P.O.Box 3516 Amman, 11821

The Hashemite Kingdom of Jordan

Tel.                     +962 (6) 556 2620

Mob (Jordan).  +962 79 5077915

Description: bi email-3-04

Description: bi email-3-05

/biict

@biict







 

 

From: Nicolas Malin [[hidden email]]
Sent: Wednesday, February 8, 2017 10:45
To: [hidden email]; Ahmad Rabab’ah [hidden email]
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 ?

 

Best Regards,

 

Ahmad Rbab’ah

Java Developer

 

 

 

P.O.Box 3516 Amman, 11821

The Hashemite Kingdom of Jordan

Tel.                     +962 (6) 556 2620

Mob (Jordan).  +962 79 5077915

/biict

@biict







 

 

 


Reply | Threaded
Open this post in threaded view
|

Re: Dynamic field

Jacques Le Roux
Administrator
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:[hidden email]]
>> *Sent:* Wednesday, February 8, 2017 10:45
>> *To:* [hidden email]; Ahmad Rabab’ah <[hidden email]>
>> *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 ?
>>