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
You need to be logged in to view a user's profile.
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.
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
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
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
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
Accepted Answer
Pending Moderation
Hello,
You can use RO CSVI Field copy rule to copy one field value to another.
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.
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 our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
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
Thanks
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.
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 our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »