【问题标题】:SAP Hybris Update description of Front Tile ComponentSAP Hybris 更新 Front Tile 组件说明
【发布时间】:2017-12-06 13:41:15
【问题描述】:

我是 Hybris 的新手,但我仍然不知道 impex 是如何工作的。 我想知道如何制作一个 impex 脚本来更新前端瓷砖组件的描述。

谢谢。

【问题讨论】:

    标签: hybris impex


    【解决方案1】:

    你可以在这里找到 impex 文件的语法:

    https://help.hybris.com/6.3.0/hcd/1c8f5bebdc6e434782ff0cfdb0ca1847.html#loio1c8f5bebdc6e434782ff0cfdb0ca1847

    基本上它是一个具有特定结构/标题的 csv 文件(以分号分隔),

    mode type[modifier=value];attribute[modifier=value];attribute[modifier=value];attribute[modifier=value]
    
    • mode :要执行的操作 -> INSERT、UPDATE、INSERT_UPDATE、REMOVE。
    • type : 要处理的项目 -> Product, Category, Customer,...
    • attribute : 商品的属性 -> Product.name, category.description,...
    • 修饰符 : 处理属性的附加信息 -> unique, lang, ...

    例子:

    假设我们有以下物品类型:

    public class ProductModel {
    
        private String code;
    
        private String name;
    
    }
    

    导入产品的 impex 是这样的:

    INSERT Product  ;code[unique=true]  ; name[lang=en]         ;name[lang=fr]
                    ;123456;            ; This a product name   ;nom du produit
    

    要专门回答您的问题 -> 要更新前端 tile 组件的描述,impex 文件应该类似于:

    INSERT_UPDATE Name_of_the_Component ;code[unique=true]      ; description[lang=en]
                                        ;code of the component  ; The description to update 
    

    【讨论】:

    • 你好 Mouad,非常感谢。
    猜你喜欢
    • 2021-07-04
    • 2021-08-18
    • 1970-01-01
    • 2020-09-12
    • 1970-01-01
    • 2012-03-21
    • 2017-03-31
    • 2019-05-13
    • 2020-06-01
    相关资源
    最近更新 更多