I started to use scripting.
After opening of Administration - scripting, there is still one line code:
Code: Select all
print("Hola, mundo!");
Code: Select all
import com.openkm.bean.*;
import com.openkm.util.*;
import com.openkm.api.*;
ContentInfo ci = OKMFolder.getInstance().getContentInfo(null, "/okm:root");
print("Folders: " + ci.getFolders() + "<br/>");
print("Documents: " + ci.getDocuments() + "<br/>");
print("Size: " + FormatUtil.formatSize(ci.getSize()) + "<br/>");
Evaluation works fine
But when I try to click the buttons [save] or [load] then
the entered code get lost and
Code: Select all
print("Hola, mundo!");
Version 6.3.4
What did I wrong?

thank you in advance
rgds Heinz