<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: How to extend service class (OOTB) from backoffice? in CRM and CX Q&amp;A</title>
    <link>https://community.sap.com/t5/crm-and-cx-q-a/how-to-extend-service-class-ootb-from-backoffice/qaa-p/12037581#M398685</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;make sure to place your code under &lt;EM&gt;backoffice/src&lt;/EM&gt;. Otherwise it will not &lt;EM&gt;see&lt;/EM&gt; the cockpitng classes.&lt;/P&gt;
&lt;P&gt;Cheers,
Wojtek&lt;/P&gt;</description>
    <pubDate>Thu, 24 May 2018 13:55:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2018-05-24T13:55:36Z</dc:date>
    <item>
      <title>How to extend service class (OOTB) from backoffice?</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/how-to-extend-service-class-ootb-from-backoffice/qaq-p/12037577</link>
      <description>&lt;P&gt;I am trying to override an OOTB class provided by hybris from my custom extension. 
My extension works fine. I am just trying to extend a hybris provided class that is part of the standard 'backoffice' extension. In my custom class I am able to extend and import the class I'm to extend successfully. Also in the IDE (ee) there are no errors. But when I go to build the project with 'ant all' or 'ant clean all' I get compile error that: &lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt; The import com.hybris.backoffice.cockpitng cannot be resolved

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I have also included the required extension in the extensioninfo.xml of my own custom extension.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt; &amp;lt;requires-extension name="backoffice"/&amp;gt;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Am I missing something else?
&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2018 23:28:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/how-to-extend-service-class-ootb-from-backoffice/qaq-p/12037577</guid>
      <dc:creator>former_member632070</dc:creator>
      <dc:date>2018-05-23T23:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to extend service class (OOTB) from backoffice?</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/how-to-extend-service-class-ootb-from-backoffice/qaa-p/12037578#M398682</link>
      <description>&lt;P&gt;Hi TS,
what is the OOTB class you  are trying to override?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Venki
&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 06:37:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/how-to-extend-service-class-ootb-from-backoffice/qaa-p/12037578#M398682</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-05-24T06:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to extend service class (OOTB) from backoffice?</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/how-to-extend-service-class-ootb-from-backoffice/qaa-p/12037579#M398683</link>
      <description>&lt;P&gt;com.hybris.backoffice.cockpitng.user.&lt;STRONG&gt;BackofficeCockpitUserService&lt;/STRONG&gt;
&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 13:42:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/how-to-extend-service-class-ootb-from-backoffice/qaa-p/12037579#M398683</guid>
      <dc:creator>former_member632070</dc:creator>
      <dc:date>2018-05-24T13:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to extend service class (OOTB) from backoffice?</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/how-to-extend-service-class-ootb-from-backoffice/qaa-p/12037580#M398684</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I think that this documentation : &lt;A href="https://help.hybris.com/6.4.0/hcd/94ac56a0aa9f486490bbe1251d994457.html"&gt;https://help.hybris.com/6.4.0/hcd/94ac56a0aa9f486490bbe1251d994457.html&lt;/A&gt; will be helpful &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; You should use cng:extenders to this.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukasz
&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 13:55:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/how-to-extend-service-class-ootb-from-backoffice/qaa-p/12037580#M398684</guid>
      <dc:creator>former_member638520</dc:creator>
      <dc:date>2018-05-24T13:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to extend service class (OOTB) from backoffice?</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/how-to-extend-service-class-ootb-from-backoffice/qaa-p/12037581#M398685</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;make sure to place your code under &lt;EM&gt;backoffice/src&lt;/EM&gt;. Otherwise it will not &lt;EM&gt;see&lt;/EM&gt; the cockpitng classes.&lt;/P&gt;
&lt;P&gt;Cheers,
Wojtek&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 13:55:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/how-to-extend-service-class-ootb-from-backoffice/qaa-p/12037581#M398685</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-05-24T13:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to extend service class (OOTB) from backoffice?</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/how-to-extend-service-class-ootb-from-backoffice/qaa-p/12037582#M398686</link>
      <description>&lt;P&gt;Hi TS,&lt;/P&gt;
&lt;P&gt;Bean declaration for &lt;STRONG&gt;com.hybris.backoffice.cockpitng.user.BackofficeCockpitUserService&lt;/STRONG&gt; is available in &lt;STRONG&gt;backoffice-web-spring.xml&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;So you need to add your bean configuration in &lt;STRONG&gt;your-ext-web-spring.xml&lt;/STRONG&gt; in addition to  above steps.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Venki
&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 15:41:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/how-to-extend-service-class-ootb-from-backoffice/qaa-p/12037582#M398686</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-05-24T15:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to extend service class (OOTB) from backoffice?</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/how-to-extend-service-class-ootb-from-backoffice/qaa-p/12037583#M398687</link>
      <description>&lt;P&gt;I am trying to do something similar(version 6.5.0.2). I want to override one of the method of the bean 'platformObjectFacadeStrategy' declared in 'backoffice-web-spring.xml'.
    
    &lt;/P&gt;
&lt;P&gt;I get the below issue during server startup.:
Error initializing global application context!
o.s.b.f.BeanDefinitionStoreException: Invalid bean definition with name 'myPlatformObjectFacadeStrategy' defined in class path resource [mybackoffice-spring.xml]: Could not resolve parent bean definition 'defaultPlatformObjectFacadeStrategy'; 
No bean named 'defaultPlatformObjectFacadeStrategy' is defined.&lt;/P&gt;</description>
      <pubDate>Fri, 25 May 2018 11:38:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/how-to-extend-service-class-ootb-from-backoffice/qaa-p/12037583#M398687</guid>
      <dc:creator>former_member624637</dc:creator>
      <dc:date>2018-05-25T11:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to extend service class (OOTB) from backoffice?</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/how-to-extend-service-class-ootb-from-backoffice/qaa-p/12037584#M398688</link>
      <description>&lt;P&gt;Yes. Thanks for the details. I also did this and I was able to include my own implementation for given bean. I was able to resolve the issue. I also had to include my class in project specific src folder (backoffice/src) that was setup in the project.
&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 00:50:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/how-to-extend-service-class-ootb-from-backoffice/qaa-p/12037584#M398688</guid>
      <dc:creator>former_member632070</dc:creator>
      <dc:date>2018-05-30T00:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to extend service class (OOTB) from backoffice?</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/how-to-extend-service-class-ootb-from-backoffice/qaa-p/12037585#M398689</link>
      <description>&lt;P&gt;Hi Wojtek,&lt;/P&gt;&lt;P&gt;Yes you are right but what if i want to use this outside backoffice/src. Is there any way to do so?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2022 10:25:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/how-to-extend-service-class-ootb-from-backoffice/qaa-p/12037585#M398689</guid>
      <dc:creator>former_member688789</dc:creator>
      <dc:date>2022-06-24T10:25:13Z</dc:date>
    </item>
  </channel>
</rss>

