1. elanto75
  2. RO CSVI
  3. Friday, 19 November 2021
  4.  Subscribe via email
how can i create an import rule that inserts me a progressive integer for each row?

CSVI 8.0.0-rc+1
Joomla 3.10.3
Accepted Answer Pending Moderation
Hello,

There is no default rule to insert an incremental integer. What do you want to use it for? If it is for your own table, you are better of to add an auto-increment field in your database table.

An alternative is, to add an incremental integer in your import file using a spreadsheet and then import the file.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. 2 weeks ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
I need it to define the ordering of child products in virtuemart in `virtuemart_products`. pordering`.
it might be for me to copy `virtuemart_product_id` but I can't find the right rule.
Alternatively, it could also be a function that inserts the line number (since the import is already in the correct order).
Do you have any suggestions for me, since it would be better not to modify the database?
Thanks
  1. 2 weeks ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello,
it might be for me to copy `virtuemart_product_id` but I can't find the right rule.

You can use RO CSVI Field copy rule to copy one field value to another.

Alternatively, it could also be a function that inserts the line number (since the import is already in the correct order).
Do you have any suggestions for me, since it would be better not to modify the database?

You have to write that function as custom code to insert the line number as current RO CSVI rules do not support it. Check Write a rule plugin document to know to create custom rules.
Kind regards,

Tharuna

=========================
If you use CSVI, please post a rating and a review at the Joomla! Extension Directory
  1. one week ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
I am not able to create a custom rule that inserts the line number in a field, could you do it for me? You will of course be rewarded.
Thanks
  1. one week ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
Hello,
Yes, writing a custom rule will be a custom job and is a paid service. You can email Roland at support@rolandd.com on the job and he can send you a quote.
Kind regards,

Tharuna

=========================
If you use CSVI, please post a rating and a review at the Joomla! Extension Directory
  1. one week ago
  2. RO CSVI
  3. # 5
Accepted Answer Pending Moderation
Thanks
  1. one week ago
  2. RO CSVI
  3. # 6
  • Page :
  • 1


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