cancel
Showing results for 
Search instead for 
Did you mean: 

Extending UsersController hybris commerce

0 Kudos

If i want to extend UsersController and change in it. I have 2 options

1. Extend yoccaddon

2. Extend ycommercewebservices

I read this link

https://answers.sap.com/questions/12757622/difference-between-extgen-ycommercewebservices-and.html

but i still do not understand which I should use.

When extending ycommercewebservices I automatically get the contollers so it easier to change.

Please tell me is this correct or I should've extended yoccaddon?

Accepted Solutions (1)

Accepted Solutions (1)

mhoumaid
Discoverer
0 Kudos

Hello,

yoccaddon, is a template, to create a web service extension.

ycommercewebservices, is a web service extension OOTB, and is created from yoccaddon, and it's contains already, many controllers OOTB.

so if I want a easy choice, ready to use, I will go with ycommercewebservices.


Thanks

0 Kudos

Thanks a lot

0 Kudos

when i did this i have to remove cmsocc from the local extensions as they are conflicting ... what can i do to have the pages?

knallapati
Explorer

You should use yoccaddon to create new custom addon and then create new controller in that addon. This is recommended as it would be easy to upgrade the commerce webservices to newer version easily. From version 2005, you should use commercewebservices extension rather than ycommercewebservices template extension for all occ services.

Answers (0)