You need to be logged in to view a user's profile.
  1. davidmdavis
  2. RO CSVI
  3. Sunday, 17 February 2019
  4.  Subscribe via email
When I import records is there any easy way to get them to be last in order when imported? I don't care about the order of the records being imported. I just want them to be after any records that are already there. This is pertaining to the ordering column of k2 items but probably relates to any plugin with ordering.
Accepted Answer Pending Moderation
Hello,
When you import new items they are always inserted at the end of records which are already available in database. But if you have a id field or the fields title, alias, category_path and introtext which are matching to the already available record in database, that specific record gets updated. You did not post your import debug log or your import file to see what is happening with your import.
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. # 1
Accepted Answer Pending Moderation
Hello,
I guess you are specifically talking about ordering field which needs to be auto incremented on every import from the last number. Can you please post your import debug log and import file to check?
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
Accepted Answer Pending Moderation
Here is the import log. I dont have a field for ordering in the import file I was asking more how do you use it? I was hoping there was a way to just have it import after all current items that are ordered. It doesn't seem to do that natively. As we use this for more inventory control it has become the biggest time besides adding images.
Attachments (2)
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
Hello,
We did not have any code in K2 item import for adding ordering field automatically from the last value in the database unless you have it in your import file. I have added code to find the last ordering value and increment it for the next records imported. Load the patch file attached and run your import again. Let me know how it goes.

patch_k2_2019_02_19.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. # 4
  • Page :
  • 1


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