Questions tagged [impex]

IMPEX (Import/Export) scripts can be used to get data in and out of SAP Hybris Commerce.

The hybris Commerce Suite is shipped with a text-based import and export functionality called ImpEx. The ImpEx engine allows creating, updating, removing and exporting platform items such as customer, product or order data to and from comma-separated value (CSV) data files, both during run time and during the initialization or update process.

130 questions
0
votes
2 answers

Create multiple subcategories and assign them to supercategory in impex file

I'm trying to create multiple subcategories to a supercategory with one line in impex file. Something like this: INSERT_UPDATE Category;code[unique=true];categories(code, $productCV);$productCV ;001;001001,001002,001003 The code above is not…
0
votes
2 answers

Impex import export Error saving batch in bulk mode ambiguous unique keys

When I am exporting data from one environment and importing it to another, I am seeing an ambiguous unique keys error. I did check the ambiguity but did not find anything would cause this violation. I get the following error (there are several…
36f
  • 89
  • 1
  • 10
0
votes
2 answers

Can I implement impex from java in hybris

I want to create an impex from java in hybris, because my requirement is to add the featureproperty dynamically , instead of doing it from HMC. I have never done impex from code and I have seen no example on the internet for reference, If impex…
venkatReddi
  • 133
  • 5
  • 18
0
votes
2 answers

How to Assign Classification class to product In Hybris through impex

How To Assign Classification class to product In Hybris through impex
0
votes
1 answer

Typecasting an attribute in ImpEx export

Is it possible to typecast an attribute of an itemtype in ImpEx export script to be fired via Admin Console in Hybris.I wanted to do something like this: if(student instanceof UGStudent) UGStudent ugStudent = (UGStudent) ugstudent; so…
Rachit
  • 403
  • 10
  • 32
0
votes
1 answer

Importing collection type using ImpEX Import

I have a data structure as follows defined in my items.xml file: An itemtype of Country type having a attribute(name as collection type of another itemtype Region,which has an attribute(name=locality)of another itemtype say Locality. What would be…
Rachit
  • 403
  • 10
  • 32
0
votes
1 answer

Using ClassificationAttributeValueTranslator on impex

I'm trying to use the ClassificationAttributeValueTranslator on an impex. I have some examples with the class ClassificationAttributeTranslator working but can't make this work. $productCatalog = myCatalog $classificationCatalog =…
0
votes
1 answer

How to configure solr for fresh new website in Hybris?

What are the steps need to be followed in order to configure solr to newly created website in Hybris(v5.7) which will cover entire solr config like category search,text search,facet search,auto suggest,synonyms etc?
ashish
  • 161
  • 1
  • 6
  • 13
0
votes
1 answer

How to create Navigation Bar/Node in Hybris?

How to create Navigation Node in Hybris using Impex ? How to map categories to navigation nodes ? How to map category landing pages or PLP to navigation nodes ? How to establish relation between navigation bar and jsp page ?
ashish
  • 161
  • 1
  • 6
  • 13
0
votes
2 answers

Impex attribute modifier to check length of a value in Hybris

I am trying to import an impex file. Currently, there is no such condition on the attributes. So, it is working fine. However,I want to insert only those records for which the length of the value is not less than 10 characters but I haven't found…
AppleBud
  • 1,501
  • 8
  • 31
  • 47
0
votes
1 answer

AfterSaveListener typecode issue when importing impex

Hybris 6.3.0.2 I have created one AfterSaveListener which is performing some custom logic after saving items. *AfterSaveListener - @Override public void afterSave(final Collection events) { for (final AfterSaveEvent event :…
Free-Minded
  • 5,322
  • 6
  • 50
  • 93
0
votes
1 answer

Impex for creating base product and variant product in Hybris

Can any one share how to create impex for creating base products,variant products and mapping/remaltion between base product and variant product(Style and Size Variant) in Hybris ? Also how to create impex for creating Product Variant Types?
user18181818
  • 23
  • 2
  • 7
0
votes
2 answers

how to assign categories to classifying categories in hybris through impex

I don't know whether the below impex is correct for my requirement.please correct me if i am wrong.i want to assign categories to classification class. $classificationSystem=hpeClassification…
Jyoshna mr
  • 45
  • 3
  • 15
0
votes
1 answer

unable to insert values to the classAttributeAssignment in impex

$classificationSystem=hpeClassification $classificationCatalogVersion=catalogversion(catalog(id[default=$classificationSystem]),version[default='1.0'])[unique=true,default=$classificationSystem:1.0]…
Jyoshna mr
  • 45
  • 3
  • 15
0
votes
1 answer

Set a navigation node in the impex to have no anchor / be a heading

I am working on a navigation IMPEX for hybris (not really confident with it, sorry!), and would like to have some of the nodes be headings rather than a link. Setting them with no link reference means that go nowhere but they are still anchors and…
Nebbers
  • 11
1 2 3
8
9