1. globaltech
  2. RO CSVI
  3. Wednesday, 06 December 2017
  4.  Subscribe via email
Hello to all.

We are having a Joomla 3.8.2 site and we are using K2 2.8.0.

We are using CSVI Pro (7.3.0) to import K2 items through an xml file (attached).
In the xml file there is a field called “Status” and we are using it to update the “Published” value of K2. The field can have values of 1, 2, 3, 4 and 5 that indicate different statuses of the items being imported. We only want to import the ones that have value of 1. So, at first, we created the rule “Status” that replaces 2, 3, 4 and 5 with 0 so those items will come unpublished and that works fine.

Then we created another rule “Status2” that skips the items with value 0

Both the above-mentioned rules are applied on the import field “published”
In the first photo you can see the preview of the import using only rule “Status” and all fields are replaced as should.
http://i.imgur.com/9f0I9nr.png
In the second photo you can see the preview of the import using both rules that shows only the two items with value 1 which is expected.
http://i.imgur.com/LrK1dLT.png

But when we run the import, as you can see from the attached log file, all items are being skipped.

I’m attaching a portion of the xml we used for the import (producer_small.xml), the exported template (csvi_templates_akinita-larisa.gr_20171206.xml) and the import’s log file (com_csvi.log.429.zip)

Any help or advise would be much appreciated.
Thank you in advance.
Accepted Answer Pending Moderation
Thank you very much.

It works like a charm.

Best regards.
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Hello,
Thank you so much for giving enough information of your import. Can you load the attached patch file and then run the import?

patch_csvi_2017_12_07.zip
Attachments (1)
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!