Page 1 of 1

How to refresh after changing folder name via scripting

PostPosted:Wed Aug 31, 2011 7:01 am
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

Re: How to refresh after changing folder name via scripting

PostPosted:Thu Sep 01, 2011 10:57 am
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.

Re: How to refresh after changing folder name via scripting

PostPosted:Wed Nov 23, 2011 7:29 am
by ngovinda
Thanks, not sure when I will have the time to do it, until then the few users will have to just click the refresh icon.

Govinda

Re: How to refresh after changing folder name via scripting

PostPosted:Wed Nov 23, 2011 7:31 pm
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 )