Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E4E88200C15 for ; Wed, 8 Feb 2017 20:11:03 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E0A12160B5A; Wed, 8 Feb 2017 19:11:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 360AE160B49 for ; Wed, 8 Feb 2017 20:11:03 +0100 (CET) Received: (qmail 91705 invoked by uid 500); 8 Feb 2017 19:11:02 -0000 Mailing-List: contact user-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ofbiz.apache.org Delivered-To: mailing list user@ofbiz.apache.org Received: (qmail 91694 invoked by uid 99); 8 Feb 2017 19:11:01 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2017 19:11:01 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 6B56C182242 for ; Wed, 8 Feb 2017 19:11:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.29 X-Spam-Level: ** X-Spam-Status: No, score=2.29 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_KAM_HTML_FONT_INVALID=0.01] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id mfoquvBHbao3 for ; Wed, 8 Feb 2017 19:10:59 +0000 (UTC) Received: from smtp26.services.sfr.fr (smtp26.services.sfr.fr [93.17.128.1]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id D35F55F473 for ; Wed, 8 Feb 2017 19:10:58 +0000 (UTC) Received: from [192.168.1.2] (33.223.130.77.rev.sfr.net [77.130.223.33]) by msfrf2615.sfr.fr (SMTP Server) with ESMTP id 7E74E1C0D5407 for ; Wed, 8 Feb 2017 20:09:58 +0100 (CET) Received: from [192.168.1.2] (33.223.130.77.rev.sfr.net [77.130.223.33]) (Authenticated sender: jacques.leroux60@sfr.fr) by msfrf2615.sfr.fr (SMTP Server) with ESMTPA for ; Wed, 8 Feb 2017 20:09:58 +0100 (CET) Authentication-Results: sfr.fr; auth=pass (PLAIN) smtp.auth=jacques.leroux60@sfr.fr Subject: Re: Dynamic field To: user@ofbiz.apache.org References: From: Jacques Le Roux Organization: Les Arts Informatiques Message-ID: <51e03752-a6d8-2ac2-3213-f63c843556ae@les7arts.com> Date: Wed, 8 Feb 2017 20:10:00 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: X-sfr-mailing: LEGIT Content-Type: multipart/alternative; boundary=------------20DF4D97491ABBE7F9AB9E77 archived-at: Wed, 08 Feb 2017 19:11:04 -0000 --------------20DF4D97491ABBE7F9AB9E77 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit 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 Rababah 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:nicolas.malin@nereide.fr] >> *Sent:* Wednesday, February 8, 2017 10:45 >> *To:* user@ofbiz.apache.org; Ahmad Rababah >> *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 Rababah 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 ? >> --------------20DF4D97491ABBE7F9AB9E77--