Invalid references
Author: ndegoeij
Publication Date: 1/21/2014 10:27
In our system we see a lot of different kind of invalid references when searching for them. The list contains as well pictures, structures, templates and a couple of datasources. We can go through the displayed list and try to solve each item manually, howeven this is a very time consuming way of restoring these issues.
Is there a more structural and more automated way of trying to solve invalid references and for the future a second question how can such reference issues prevent from happening.
We are running currently FirstSpirit version 4.2.489.
-
Author: rednoss - 3/11/2014 9:15
Hello,
yes there is a way to find and to fix your invalid references via API. But it is a project-specific decission if it is wise to write a script or to delete the invalid references manually. Because your templates and their input components differ in structure and naming. So there is no generell solution for a script. As result of this you have to write for each template and input component specific code.
If you want to write a script you can use Project.getBrokenReferences() as a starting point.
Best regards
Rene
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
1 commentaire