|
Hi,
I continue my analysis to use EmailTemplateSetting with Content. My idea is to use a service to retrieve information needed to merge with template content before sending the email. The system already use Content entity, great ! But to manage template, the field Content.serviceName isn't really useful for user's screen. Do a reason exist to use serviceName instead of a relation with CustomMethod entity ? Historical ? With the CustomMethod and CustomMethodType, it's easier to show available services to advanced user. Any suggest ? Nicolas -- Nicolas MALIN Consultant Tél : 06.17.66.40.06 Site projet : http://www.neogia.org/ ------- Société LibrenBerry Tél : 02.48.02.56.12 Site : http://www.librenberry.net/ |
|
No opinion ?
Le 07/10/2011 18:18, Nicolas Malin a écrit : > Hi, > > I continue my analysis to use EmailTemplateSetting with Content. My > idea is to use a service to retrieve information needed to merge with > template content before sending the email. The system already use > Content entity, great ! But to manage template, the field > Content.serviceName isn't really useful for user's screen. > > Do a reason exist to use serviceName instead of a relation with > CustomMethod entity ? Historical ? > > With the CustomMethod and CustomMethodType, it's easier to show > available services to advanced user. > Any suggest ? > > Nicolas > -- Nicolas MALIN Consultant Tél : 06.17.66.40.06 Site projet : http://www.neogia.org/ ------- Société LibrenBerry Tél : 02.48.02.56.12 Site : http://www.librenberry.net/ |
|
Administrator
|
I'd say, go as you think it's better, then submit a patch and we will see
Jacques Nicolas Malin wrote: > No opinion ? > > Le 07/10/2011 18:18, Nicolas Malin a écrit : >> Hi, >> >> I continue my analysis to use EmailTemplateSetting with Content. My >> idea is to use a service to retrieve information needed to merge with >> template content before sending the email. The system already use >> Content entity, great ! But to manage template, the field >> Content.serviceName isn't really useful for user's screen. >> >> Do a reason exist to use serviceName instead of a relation with >> CustomMethod entity ? Historical ? >> >> With the CustomMethod and CustomMethodType, it's easier to show >> available services to advanced user. >> Any suggest ? >> >> Nicolas |
|
run nico, run ! :)
No problem jacques, I will work on it asap. After update my lasts jira issues ;) Nicolas Le 13/10/2011 17:53, Jacques Le Roux a écrit : > I'd say, go as you think it's better, then submit a patch and we will see > > Jacques > > Nicolas Malin wrote: >> No opinion ? >> >> Le 07/10/2011 18:18, Nicolas Malin a écrit : >>> Hi, >>> >>> I continue my analysis to use EmailTemplateSetting with Content. My >>> idea is to use a service to retrieve information needed to merge with >>> template content before sending the email. The system already use >>> Content entity, great ! But to manage template, the field >>> Content.serviceName isn't really useful for user's screen. >>> >>> Do a reason exist to use serviceName instead of a relation with >>> CustomMethod entity ? Historical ? >>> >>> With the CustomMethod and CustomMethodType, it's easier to show >>> available services to advanced user. >>> Any suggest ? >>> >>> Nicolas -- Nicolas MALIN Consultant Tél : 06.17.66.40.06 Site projet : http://www.neogia.org/ ------- Société LibrenBerry Tél : 02.48.02.56.12 Site : http://www.librenberry.net/ |
|
In reply to this post by Malin Nicolas
the modeling for CustomMethod has been like a Hook in C lanquage.
this allows future addition and selection to performs an operation, to achieve a particular outcome. so if you want to have multiple services available for a Template, then use CustomMethod, otherwise specify the service. Nicolas Malin sent the following on 10/12/2011 12:42 PM: > No opinion ? > > Le 07/10/2011 18:18, Nicolas Malin a écrit : >> Hi, >> >> I continue my analysis to use EmailTemplateSetting with Content. My >> idea is to use a service to retrieve information needed to merge with >> template content before sending the email. The system already use >> Content entity, great ! But to manage template, the field >> Content.serviceName isn't really useful for user's screen. >> >> Do a reason exist to use serviceName instead of a relation with >> CustomMethod entity ? Historical ? >> >> With the CustomMethod and CustomMethodType, it's easier to show >> available services to advanced user. >> Any suggest ? >> >> Nicolas >> > > |
|
In reply to this post by Jacques Le Roux
Done, I open the issue https://issues.apache.org/jira/browse/OFBIZ-5020
Nicolas Le 13/10/2011 17:53, Jacques Le Roux a écrit : > I'd say, go as you think it's better, then submit a patch and we will see > > Jacques > > Nicolas Malin wrote: >> No opinion ? >> >> Le 07/10/2011 18:18, Nicolas Malin a écrit : >>> Hi, >>> >>> I continue my analysis to use EmailTemplateSetting with Content. My >>> idea is to use a service to retrieve information needed to merge with >>> template content before sending the email. The system already use >>> Content entity, great ! But to manage template, the field >>> Content.serviceName isn't really useful for user's screen. >>> >>> Do a reason exist to use serviceName instead of a relation with >>> CustomMethod entity ? Historical ? >>> >>> With the CustomMethod and CustomMethodType, it's easier to show >>> available services to advanced user. >>> Any suggest ? >>> >>> Nicolas -- Nicolas MALIN Consultant Tél : 06.17.66.40.06 Site projet : http://www.neogia.org/ ------- Société LibrenBerry Tél : 02.48.02.56.12 Site : http://www.librenberry.net/ |
| Free forum by Nabble | Edit this page |
