Abhilash
Abhilash

Reputation: 91

When making third party call from product cockpit while creating a new item

I am trying to make a third party call while creating product from productcockpit.I have overridden onCreateEvent method. I facing a problem while creating a product. There are two calls triggered when creating a product, I am unable to find difference between the calls.

Upvotes: 1

Views: 73

Answers (2)

Danny Gloudemans
Danny Gloudemans

Reputation: 2677

You should use the PrepareInterceptor, please see https://wiki.hybris.com/display/release5/Interceptors for more information.

Upvotes: 0

user3122271
user3122271

Reputation:

I would look at a PrepareInterceptor for this perhaps.

Upvotes: 1

Related Questions