Custom search in Java Client 4.2
Author: mihaylov
Publication Date: 11/2/2012 11:38
Hello,
we are trying to tidy up our Media store and delete or move data which has no reference in CMS - meaning it's not linked in a CMS_INPUT_PICTURE for example.
I can, of course, directly go to a file and click show usage (ctr + u) but this will be simply too much work for our huge database. This made me thinking that there should be a way to search for this, since clearly the CMS differentiates between those two states.
I was wondering, is there a way to make a custom search (or use one of the existing solutions) to search explicitly for data which has not been referenced.
Thank you !
Tags: fs4.2, javaclient, search, search_results, suche
-
Author: jpee - 11/12/2012 16:36
Hello Veso,
with the UserService of the fs-acces api you can get the complete MediaStore. The UserService you can get from the script context Object.
For displaying the output you could use the class JOptionPane class and it's static Method showMessageDialogue of swing for example:
JOptionPane.showMessageDialog(null, "My output text here");
Docu you can find here: http://docs.oracle.com/javase/6/docs/api/javax/swing/JOptionPane.html#showMessageDialog%28java.awt.Component,%20java.lang.Object%29
Greetings
Johannes Perlet
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
1 commentaire