Category Export problem

Started by Germ, March 28, 2021, 12:46:37 PM

Previous topic - Next topic

Germ

Hi folks,

I have a little problem: when I drop @Keywords on the Category Export patch of Import en Export with Include child categories and include file assignments both checked, the output is an empty list like this:

<?xml version="1.0" encoding="UTF-8" ?>
<category_schema xmlns:ptrm='http://schemas.photools.com/category_schema.xsd' vendor='photools.com' version='1.0'>
   <categories>
   </categories>

   <folders>
   </folders>

   <files>
   </files>
</category_schema>

Can anyone confirm this?

Kind regards from Holland
Germ Wind
Regards from Holland


Germ

Mario

Data-driven category are only exported as a set of instructions for how to re-create the category from the database after import.

@Keyword is a special system category and always exists. It cannot be exported or imported.
IMatch automatically maintains it for every database, and the contents of @Keywords are automatically created from the keywords found in the files managed by the database.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Germ

hI mARIO,

Thanks for the quick reply. It makes sense that way!

Kind regards
Germ
Regards from Holland


Germ

Stevef48

I have the same problem.
I want to create a list of all of the files assigned to a particular keyword and its children.
Is there anyway to do this in iMatch?
Thanks in advance
Steve

Mario

I don't think that the category export would help you with that.
The resulting XMP file needs to be parsed by a script or program to produce the list of keywords and files. The category export exports only file ids, file names, and checksums. This is not a report.

A user-readable list of files and their keywords can easily be created via the Text Export module.
Probably you can also produce an output you can import into a spread sheet application and then do a simple pivot table to drill down on individual keywords.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook