XProtect Management Client : How refresh items tree by software ?

I have a “Reload” button to force reload of new material from my server. It works well, I reload them, I create new Items and then I call “saveItemConfiguration”: It works but the tree is not automatically refreshed. I need to do it by hand with right click and the “refresh”.

Is it possible do do it by software ?

Thanks

You can send the System.ApplicationRefreshTreeViewCommand message to achive this. As per the documentation the Kind of the items you want to refresh needs to be provided.