Questions tagged [hybris-data-hub]

SAP Hybris Data Hub is a powerful data integration and staging platform. It facilitates the loading of large amounts of data from one or more sources. Then it processes the data and prepares it for delivery to any number of target systems.

95 questions
1
vote
2 answers

Is that possible to retrieve products without passing catalogType?

I have a requirement to get products by code without knowing catalogType. Is that possible to retrieve products without passing catalogType? Below is the code snippet I've tried: @Resource private ProductDao productDao; @Resource private…
john
  • 15
  • 8
1
vote
0 answers

Hybris ModelService remove not removing

I'm trying to remove all the Stock from query products in a cronjob: List products = flexibleSearchService.search(GET_SPECIAL_PRODUCTS_QUERY); for (ProductModel product : products.getResult()) { …
Nexussim Lements
  • 535
  • 1
  • 15
  • 47
1
vote
1 answer

How to resolve java.lang.IllegalStateException when I'm localizing an enumtype in Hybris?

I have defined a ServiceType enumtype and Service itemtype in trainingcore-items.xml.
user15948501
  • 87
  • 14
1
vote
2 answers

Hybris custom Category itemtype not syncing

I've created my own Itemtype extending Category:
Nexussim Lements
  • 535
  • 1
  • 15
  • 47
1
vote
1 answer

Junit test case to mock convertor

I am trying to mock convertors method using 'when---thenReturn' In my serviceTest file but still its throwing null pointer exception. Is there any good way to mock convertor? Thanks in advance.
1
vote
1 answer

How to populate data in OrderEntryData

I added one attribute in AbstractOrderEntryModel, but I want to populate this attribute in OrderEntryData. I added just a new property in OrderEntryData but it's not working. So to get this in OrderEnryData do we have to write separate populator for…
1
vote
1 answer

How can I hide an editorArea:section in Hybris Backoffice for a specific Base Store using a Java handler?

I added a new editorArea:section in backoffice-config.xml in Hybris like this: I would like to hide this in Backoffice for some…
Razvan N
  • 554
  • 3
  • 9
  • 29
1
vote
3 answers

SAP Hybris6.2 Database Tables Structure in Oracle11g

I have just connected the Hybris 6.2 to Oracle 11g Db. In the Sql developor i can see all the tables, however due to large number of table its been hard to find things. I found a table called CMSComponent but unable to find…
sagar
  • 175
  • 1
  • 16
1
vote
2 answers

How to edit/modify Hybris backoffice form?

I'm trying to find a way to edit some of the forms that are presented while using Hybris Backoffice. Is there a way to remove fields from some of these default pop up forms? For example see below form to "Create New Title". Is there a way to remove…
tony
  • 267
  • 2
  • 11
  • 23
0
votes
1 answer

how to get values of attributedescriptor in sap hybris?

kinda new to the hybris environment and still learning. Hoping to ask I have a list of values being extracted from hyrbis.. basically I have an order type that contains order number, name of customer, and other order related values, but under it…
buencamino
  • 91
  • 1
  • 10
0
votes
2 answers

How to render sitemap.xml in SAP Commerce Spartacus site?

I was wondering if anyone knows how to get the sitemap.xml functionality working in Spartacus site like how it was working in yacceleratorstorefront/sitemap.xml. Looks like SAP Commerce Support team is still having this functionality in their…
0
votes
0 answers

When a lead is created send Salesforce Lead and Account Data to SAP Hybris from rest API callout

When a lead is created in salesforce I want to send all lead details and its account details to SAP hybris from rest API callout. Can anyone suggest any source code related to how to send salesforce data to an external systems like…
0
votes
1 answer

After installing the cx recipe in SAP Commerce, execution error unable to install/path/npm/where

After installing the cx recipe in SAP Commerce, I tried to execute ant clean all but getting following error: Error: Unable to install package: Error: Unable to determine the path to the NPM tool: Error: Command failed: where npm 'where' is not…
0
votes
0 answers

How to update few columns in an itemtype with an ImpEx based on a condition?

Hybris:I want to update few attributes in an itemtype based on a condition. Example: If isCreated attribute is false in some records, I want to set it true. Can anyone please help me with this? How to achieve this scenario with impex?
0
votes
0 answers

How to validate the classification attributes in Hybris?

No error message is returned when saving more characters than the max length on the text filed for the classification attributes in Backoffice. How to do validation for classification attribute in Hybris ?