• How to refresh after changing folder name via scripting

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #12005  by ngovinda
 
I have added a script to automatically change the folder name by using a script on a certain folder.
The new name is seen only when I click on the refresh icon on the screen.

Is there a command that I can call in the script so that the screen gets refreshed?

-= Govinda
 #12018  by jllort
 
You must create a minimal UI extension handle FOLDER_CHANGED or similar and when it'll be fired then call the GeneralCommunicator.refresh(), from scripting is not possible doing it.
 #13014  by jllort
 
I've made some upgrade on svn that probably could help you on it. Now when you click on folder all data information about is refreshed ( it's a bug tha't I discovered last week ), before only refreshing childs. That could solve your problem, But I'm not totally sure because for what you're talking you rename after creating the folder no ? and I'm not totally sure that in this case I resfreshing the folder information too.

The upgrade is available at integration.openkm.com ( what will be 5.1.8 )

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.