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
2
votes
1 answer

de.hybris.platform.impex.jalo.ImpExException[HY--1] Exception in Hybris ImpEx

I am getting de.hybris.platform.impex.jalo.ImpExException[HY--1] Exception when I try and run this ImpEx code below. I have specified the atomictype property as java.time.LocalDate in my items.xml file. INSERT_UPDATE…
Himanshu Jain
  • 334
  • 2
  • 12
2
votes
1 answer

How to add Hybris Solr By for Boolean value

I have a Solr indexed property called isNewProduct (boolean) and I want to create a new Solr By option for this attribute. (the products with isNewProduct==true must appear first). Any hint about how can I achieve this ?
Nexussim Lements
  • 535
  • 1
  • 15
  • 47
2
votes
1 answer

Import API to execute an Update IMPEX programmatically

Is it possible to use the Import API to execute an Update Impex programmatically? Currently I must log into HAC and execute an update Impex using the web interface which is tedious.
2
votes
1 answer

Hybris : How to import media which is in the zip file in impex?

I know we can import images which are not zipped like this $siteResource=jar:com.project.initialdata.constants.ProjectInitialDataConstants&/projectinitialdata/import/sampledata/images/brand INSERT_UPDATE Media ; code[unique=true] ;…
Junaid
  • 664
  • 5
  • 18
  • 35
2
votes
3 answers

Combine Hybris Impex Remove with Flexible Search

I would like to remove some items from a table using Impex. The following example throws no errors, but nothing is removed. REMOVE ProductReference;pk[unique=true] "#% impex.exportItemsFlexibleSearch(""select {pk} from {ProductReference as pr} where…
NaN
  • 7,441
  • 6
  • 32
  • 51
2
votes
1 answer

How to configure customer specific pricing in SAP Hybris through impex?

I want to show the different price for a product to different customer groups in the Hybris. How to achieve this through Impex?
Karishma
  • 67
  • 1
  • 9
2
votes
2 answers

How to pass space or empty string to ImpEx?

I'm working with Hybris and I have to write an ImpEx and pass empty string and space there. I would like to do something like this: INSERT_UPDATE attr1[unique=true]; attr2 "someString1" ; "" "someString2" ; "…
Roman P
  • 51
  • 7
2
votes
1 answer

Change logo on Hybris through addon

I am new to Hybris and i want to change the logo of Hybris OOTB (PowerTools). But this i wanna do it through my new created addon. I discover that in this impex file (cm-content_en.impex) i have this # Site Logo Component UPDATE…
tinti
  • 1,455
  • 8
  • 23
  • 39
2
votes
2 answers

In Hybris , How we can import product from database and store the product attribute value in csv file using Beanshell

I want to import product with attribute value Price , description and store in csv file using Beanshell script .
2
votes
1 answer

project data for custom extension is not getting imported during junit init in hybris

Trying to import data for unit+integration tests at once (during init) Running project update from HAC is working fine. But when I use command to init or update project data for my custom or even for OOTB extension, it is not getting imported. I…
ashish sabal
  • 61
  • 1
  • 4
2
votes
2 answers

Unable to insert/update the data in Media table through impex

I'm trying to make an entry of an image in the media for email template related customizations as given below:…
user964819
  • 343
  • 3
  • 6
  • 24
2
votes
1 answer

Is there anyway we can bypass [unique=true] while doing impex import? It says one unique key is must for an itemtype

Is there anyway we can bypass [unique=true] while doing impex import? It says one unique key is must for an itemtype. I need to store data in an itemtype like below but validating impex itself is throwing error and it says unique=true should be…
Jaggu
  • 67
  • 1
  • 3
  • 8
2
votes
3 answers

what is impex file?

could any body explain the fields macros, headers, data, and bean shell in .impex file? what are the symbols like #,$ meaning in .impex file? what is the difference between .impEx and .imPex?
Sanjay Derangula
  • 77
  • 1
  • 2
  • 9
2
votes
1 answer

Hybris - exporting a content page via in ImpEx script

Does anybody know if it is possible to export hybris content pages (created in CMS cockpit) using an ImpEx script? I've found some documentation (although not official) online here that describes creating a new page using something like the…
danw
  • 1,608
  • 4
  • 29
  • 48
2
votes
2 answers

Writing an impex to change the HMC Login attribute to enabled for all employees

I have the current problem that many of my employees in Hybris have the HMC login attribute set to inherit from group, which means that they can't log in to the HMC. This was due to that I used an impex script that set new users to this a while ago.…
user1319951
  • 495
  • 6
  • 16
1
2
3
8 9