Skip to content

Non working example about adding initial localized data #2482

@johannes85

Description

@johannes85

On the page https://cap.cloud.sap/docs/guides/uis/localized-data#declaring-localized-data under "Adding Initial Data" there is an example about how to add localized initial data:

Books_texts.csv

ID,locale,title,descr
201,de,Sturmhöhe,Sturmhöhe (Originaltitel: Wuthering Heights) ist der einzige Roman...
201,fr,Les Hauts de Hurlevent,Les Hauts de Hurlevent (titre original : Wuthering Heights)...
207,de,Jane Eyre,Jane Eyre. Eine Autobiographie (Originaltitel: Jane Eyre. An Autobiography)...
252,de,Eleonora,Eleonora ist eine Erzählung von Edgar Allan Poe. Sie wurde 1841...
...

This is working when using SQLite but produces an error in a HANA environment since the primary key of this table will be null. I had to add the ID_texts; column to the CSV file and fill it with ids for it to deploy to a HANA server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions