Changing File Window to specific category

Started by Ger, June 06, 2025, 09:20:34 AM

Previous topic - Next topic

Ger

Maybe I'm overseeing something in the docs, but I don't seem to find it...

I have created an app that does its thing. The result is that a new category (with files) is created. At the end of the script, I want to do the following:
- change the file window to display the files in the new category
- disable filters that might be active

Is there an option to programmatically change the displayed category in the file window?

thanks

ger

Mario

I haven't worked with IMatch scripting for a long time. Did you check the docs?
Is the gotoCategory function in IMatchLib.js not working for you?

Please study and use this library to access features and functions not provided by IMWS but by IMatch itself. These are not documented in the IMWS documentation but neatly wrapped and documented in the IMatchLib.js helper library. You use it like

IMatch.gotoCategory(id);

where id is the id of the category to go to. You can find the id by querying information about the category using the /categories endpoint.

Ger

Yes, that's the one.

Thanks to the extended documentation library, named Mario :)