photools.com Community

IMatch Discussion Boards => General Discussion and Questions => Topic started by: Germ on March 28, 2021, 12:46:37 PM

Title: Category Export problem
Post by: Germ on March 28, 2021, 12:46:37 PM
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
Title: Re: Category Export problem
Post by: Mario on March 28, 2021, 12:57:45 PM
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.
Title: Re: Category Export problem
Post by: Germ on March 28, 2021, 01:14:14 PM
hI mARIO,

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

Kind regards
Germ
Title: Re: Category Export problem
Post by: Stevef48 on April 02, 2021, 11:41:16 AM
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
Title: Re: Category Export problem
Post by: Mario on April 02, 2021, 12:54:47 PM
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.