Skip to content

Instantly share code, notes, and snippets.

@rupzme
Last active October 22, 2020 08:03
Show Gist options
  • Save rupzme/873e40111e078e0ce63c to your computer and use it in GitHub Desktop.
Save rupzme/873e40111e078e0ce63c to your computer and use it in GitHub Desktop.
Hybris IMPEX Snippets
Exporting:
insert_update ServicePlan; code[unique=true]; subscriptionTerm(id);supercategories[code]
"#% impex.exportItems( ""ServicePlan"" , true );"
insert_update ServicePlan; code[unique=true]; subscriptionTerm(id);supercategories[code]
"#% impex.exportItemsFlexibleSearch(""select {pk} from {ServicePlan} where {catalog}=8796093088344"");"
Remove all items of a type:
REMOVE CMSNavigationNode [batchmode=true];itemType(code)[unique=true];
;CMSNavigationNode;
REMOVE CMSLinkComponent [batchmode=true];itemType(code)[unique=true];
;CMSLinkComponent;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment