Support is online

Replace rule - empty rows in csv file #7247

Open gnsbud opened this topic Sunday, 22 March 2015 · 1 reply
Author

Hi,

example: I have export template with only one field which has replace rule assigned, let's say field value is "test", and I'm replacing "test" to nothing (empty).
Normally my file would look like this:

"field_name"
"test"
"test"
"some other value"
"test"
"test"

but with my replace rule applied it looks like:

"field_name"
""
""
"some other value"
""
""

quite similar situation is with xml or html export (empty tags as empty rows in csv).

question: is there any chance to remove whole row if all values in row are empty? Above example is the simple one, but if I would have other fields even with different replace rules for each one, still it's possible to have whole row empty in file, so it's not needed at all.

Best regards,
Chris

Support

Hello Chris,

question: is there any chance to remove whole row if all values in row are empty?

I have made a change in the upcoming beta 4 that should have this result. Empty values are no longer exported as long as all exported fields are empty.

Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Log in to reply to this topic.