SOLVED: Saving script did not work - Error?
PostPosted:Fri Feb 08, 2019 9:13 am
				
				Hello together
I started to use scripting.
After opening of Administration - scripting, there is still one line code:
Evaluation works fine
But when I try to click the buttons [save] or [load] then
the entered code get lost and
Version 6.3.4
What did I wrong?
 
thank you in advance
rgds Heinz
			I started to use scripting.
After opening of Administration - scripting, there is still one line code:
Code: Select all
I copied another code snipped in the scripting interface: 
print("Hola, mundo!");Code: Select all
just for testing purposes.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
 is still visible again.print("Hola, mundo!");Version 6.3.4
What did I wrong?
thank you in advance
rgds Heinz