We have a number of unused relations that were created in Servoy 4.x and we are now using Servoy 5 RC 2. Does anyone know of a good way to locate relations that are not being used? Analyzer did a good job of this in classic Servoy, but it is not available for 4.x/5.x.
Gary
TMA
You could try to use the CTRL-h search to find all occurrences of the relation name, it will find both in methods and in forms, it’s not error proof but it’s a good starting point. Too late to figure out more ![Smile :)]()
I ened up searching on ‘to’ which was a consistent pattern in all relationship names across both .frm and .js files. That gave me all occurrences of use on tabs and in functions. Had to parese out a bunch of junk, but afterwards just sorted and eliminated the dupes gave me a list of all usage of relations. Now I just have to compare to all of them that were created in one module. The diff will give me the ones to remove.
Thanks,
Gary