cancel
Showing results for 
Search instead for 
Did you mean: 

Refresh the document TAB

hediacxio_
Champ on-the-rise
Champ on-the-rise

Hello I created a studio project,i use a button to add a facet to a document. When the document has the facet a tab that must appears , The problem that, when I clik on the button and I give my document a facet the tab is not displayed, I must go back (parent) and return to the document to see the new tab. in my chain associate with my button ,I just put a user interface > refresh but it does not work.

1 ACCEPTED ANSWER

Thierry_Martins
Star Collaborator
Star Collaborator

hello,

I think the UI Refresh operation could be improved to add the reset of document tabs. Now you have to add an operation in your chain to force this reset. Add a Run Script op with this code:

org.nuxeo.ecm.automation.jsf.OperationHelper.getWebActions().resetTabList();

Cheers, Thierry

View answer in original post

1 REPLY 1

Thierry_Martins
Star Collaborator
Star Collaborator

hello,

I think the UI Refresh operation could be improved to add the reset of document tabs. Now you have to add an operation in your chain to force this reset. Add a Run Script op with this code:

org.nuxeo.ecm.automation.jsf.OperationHelper.getWebActions().resetTabList();

Cheers, Thierry

Getting started

Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.