ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Use category id during import data by csvgrab

June 21, 2010 6:49am

Subscribe [1]
  • #1 / Jun 21, 2010 6:49am

    Orest Viruta

    1 posts

    Here is the situation.

    Before import of data, I’ve entered all categories.
    This is my csv-file:

    “The title of article”;”Jouh dou”;“2,12,4”
    (These numbers are id of corresponding categories which I entered.)

    My template:

    {exp:csvgrab url="http://localhost/import/articles.csv"
        delimiter=";"
        encloser="QUOTE"
        weblog="5"
        category_group="2"
        title="2"
        category_delimiter=“,”
        category_field="3"
        use="1|2"
        fields="title|authors"
    }

    When I tried to start it, the numbers were been added from csv-file as addititional categories.

    Question:
    Is it possible to use id of category in the csv-file for import?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases