You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Rajesh Mallah <ma...@gmail.com> on 2018/03/20 07:05:19 UTC

perceived lack of exportable services

Hi ,

Although there is a huge collection of services that can be utilized
for integrating OFBiz into other applications still some services
seems to be missing.

eg: a service to get Person/PartyGroup entity details using partyId  ,
or to get list of Products related to a Party in ProductRole entity

The question is what is the general process of enriching the catalog
of exportable services ? is there is a wishlist where such perceived
omissions are listed?

Rite now i am resorting to directly querying the entity datasources to
fill the gap.


regds
mallah.

Re: perceived lack of exportable services

Posted by Rajesh Mallah <ma...@gmail.com>.
Yep it (performFind) sounds quite powerful ,  didn't knew this existed.
-- thanks

On Tue, Mar 20, 2018 at 3:15 PM, Taher Alkhateeb <slidingfilaments@gmail.com
> wrote:

> Hi Rajesh. Your question is a bit too broad / general, but to take the
> example of products related to a party, then a combination between a
> view entity and a "performFind" service would be probably sufficient
> for your needs. You can also find other search services that are
> generic in that sense.
>
> On Tue, Mar 20, 2018 at 10:05 AM, Rajesh Mallah <ma...@gmail.com>
> wrote:
> > Hi ,
> >
> > Although there is a huge collection of services that can be utilized
> > for integrating OFBiz into other applications still some services
> > seems to be missing.
> >
> > eg: a service to get Person/PartyGroup entity details using partyId  ,
> > or to get list of Products related to a Party in ProductRole entity
> >
> > The question is what is the general process of enriching the catalog
> > of exportable services ? is there is a wishlist where such perceived
> > omissions are listed?
> >
> > Rite now i am resorting to directly querying the entity datasources to
> > fill the gap.
> >
> >
> > regds
> > mallah.
>

Re: perceived lack of exportable services

Posted by Rajesh Mallah <ma...@gmail.com>.
I am mostly not sending ids and expecting system to generate
it . Only in certain web services its being asked for.

At this moment  i am generating a pseudo random sequence
consisting for some  decorative prefix (based on entityname)
and 10 random alphanumeric chars. this is being checked for
existence before being used. So far i am happy but i feel its only
a temp solution.

regds
mallah.


On Tue, Mar 20, 2018 at 9:45 PM, Taher Alkhateeb <slidingfilaments@gmail.com
> wrote:

> I'm not sure, but you can surely look at the SequenceValueItem entity
> and the services around it. You need to get a bit more familiar with
> how sequence banks work.
>
> On Tue, Mar 20, 2018 at 6:30 PM, Rajesh Mallah <ma...@gmail.com>
> wrote:
> > Hello List / Taher ,
> >
> > Is there any service that can get the next suitable ID
> > to be used for creating Items of an particular entity type.
> >
> > eg; duplicateProductCategory (
> > /webtools/control/ServiceList?sel_service_name=duplicateProductCategory
> )
> > expects us to send a productCategoryId along with oldProductCategoryId  ,
> > i want to generate the new unique  productCategoryId without risk of
> > collision.
> >
> > does createSequenceValueItem help ? not sure if its fit for current
> problem.
> >
> > regds
> > mallah
> >
> >
> >
> >
> > regds
> > mallah.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On Tue, Mar 20, 2018 at 3:15 PM, Taher Alkhateeb <
> slidingfilaments@gmail.com
> >> wrote:
> >
> >> Hi Rajesh. Your question is a bit too broad / general, but to take the
> >> example of products related to a party, then a combination between a
> >> view entity and a "performFind" service would be probably sufficient
> >> for your needs. You can also find other search services that are
> >> generic in that sense.
> >>
> >> On Tue, Mar 20, 2018 at 10:05 AM, Rajesh Mallah <
> mallah.rajesh@gmail.com>
> >> wrote:
> >> > Hi ,
> >> >
> >> > Although there is a huge collection of services that can be utilized
> >> > for integrating OFBiz into other applications still some services
> >> > seems to be missing.
> >> >
> >> > eg: a service to get Person/PartyGroup entity details using partyId  ,
> >> > or to get list of Products related to a Party in ProductRole entity
> >> >
> >> > The question is what is the general process of enriching the catalog
> >> > of exportable services ? is there is a wishlist where such perceived
> >> > omissions are listed?
> >> >
> >> > Rite now i am resorting to directly querying the entity datasources to
> >> > fill the gap.
> >> >
> >> >
> >> > regds
> >> > mallah.
> >>
>

Re: perceived lack of exportable services

Posted by Taher Alkhateeb <sl...@gmail.com>.
I'm not sure, but you can surely look at the SequenceValueItem entity
and the services around it. You need to get a bit more familiar with
how sequence banks work.

On Tue, Mar 20, 2018 at 6:30 PM, Rajesh Mallah <ma...@gmail.com> wrote:
> Hello List / Taher ,
>
> Is there any service that can get the next suitable ID
> to be used for creating Items of an particular entity type.
>
> eg; duplicateProductCategory (
> /webtools/control/ServiceList?sel_service_name=duplicateProductCategory )
> expects us to send a productCategoryId along with oldProductCategoryId  ,
> i want to generate the new unique  productCategoryId without risk of
> collision.
>
> does createSequenceValueItem help ? not sure if its fit for current problem.
>
> regds
> mallah
>
>
>
>
> regds
> mallah.
>
>
>
>
>
>
>
>
>
>
> On Tue, Mar 20, 2018 at 3:15 PM, Taher Alkhateeb <slidingfilaments@gmail.com
>> wrote:
>
>> Hi Rajesh. Your question is a bit too broad / general, but to take the
>> example of products related to a party, then a combination between a
>> view entity and a "performFind" service would be probably sufficient
>> for your needs. You can also find other search services that are
>> generic in that sense.
>>
>> On Tue, Mar 20, 2018 at 10:05 AM, Rajesh Mallah <ma...@gmail.com>
>> wrote:
>> > Hi ,
>> >
>> > Although there is a huge collection of services that can be utilized
>> > for integrating OFBiz into other applications still some services
>> > seems to be missing.
>> >
>> > eg: a service to get Person/PartyGroup entity details using partyId  ,
>> > or to get list of Products related to a Party in ProductRole entity
>> >
>> > The question is what is the general process of enriching the catalog
>> > of exportable services ? is there is a wishlist where such perceived
>> > omissions are listed?
>> >
>> > Rite now i am resorting to directly querying the entity datasources to
>> > fill the gap.
>> >
>> >
>> > regds
>> > mallah.
>>

Re: perceived lack of exportable services

Posted by Rajesh Mallah <ma...@gmail.com>.
Hello List / Taher ,

Is there any service that can get the next suitable ID
to be used for creating Items of an particular entity type.

eg; duplicateProductCategory (
/webtools/control/ServiceList?sel_service_name=duplicateProductCategory )
expects us to send a productCategoryId along with oldProductCategoryId  ,
i want to generate the new unique  productCategoryId without risk of
collision.

does createSequenceValueItem help ? not sure if its fit for current problem.

regds
mallah




regds
mallah.










On Tue, Mar 20, 2018 at 3:15 PM, Taher Alkhateeb <slidingfilaments@gmail.com
> wrote:

> Hi Rajesh. Your question is a bit too broad / general, but to take the
> example of products related to a party, then a combination between a
> view entity and a "performFind" service would be probably sufficient
> for your needs. You can also find other search services that are
> generic in that sense.
>
> On Tue, Mar 20, 2018 at 10:05 AM, Rajesh Mallah <ma...@gmail.com>
> wrote:
> > Hi ,
> >
> > Although there is a huge collection of services that can be utilized
> > for integrating OFBiz into other applications still some services
> > seems to be missing.
> >
> > eg: a service to get Person/PartyGroup entity details using partyId  ,
> > or to get list of Products related to a Party in ProductRole entity
> >
> > The question is what is the general process of enriching the catalog
> > of exportable services ? is there is a wishlist where such perceived
> > omissions are listed?
> >
> > Rite now i am resorting to directly querying the entity datasources to
> > fill the gap.
> >
> >
> > regds
> > mallah.
>

Re: perceived lack of exportable services

Posted by Taher Alkhateeb <sl...@gmail.com>.
Hi Rajesh. Your question is a bit too broad / general, but to take the
example of products related to a party, then a combination between a
view entity and a "performFind" service would be probably sufficient
for your needs. You can also find other search services that are
generic in that sense.

On Tue, Mar 20, 2018 at 10:05 AM, Rajesh Mallah <ma...@gmail.com> wrote:
> Hi ,
>
> Although there is a huge collection of services that can be utilized
> for integrating OFBiz into other applications still some services
> seems to be missing.
>
> eg: a service to get Person/PartyGroup entity details using partyId  ,
> or to get list of Products related to a Party in ProductRole entity
>
> The question is what is the general process of enriching the catalog
> of exportable services ? is there is a wishlist where such perceived
> omissions are listed?
>
> Rite now i am resorting to directly querying the entity datasources to
> fill the gap.
>
>
> regds
> mallah.