Automation - select tab associated to user action

I have a custom user action defined in MAIN_TABS section which navigate to a given folder. The action does fine but the tab selection is not updated in consequence. (let's say I'am in my home, i click on custom tab 'internal documentation', navigate to the documentation but home tab is still selected)

How can i force the selection on the tab in the automation chain?

0 votes

1 answers

1600 views

ANSWER



Hi,

Not sure if i understand your use case, you may be running into a bug about main tab selection. The “change tab” operation might help but that's not controlling the main tab on top of the page…

0 votes



Gab
Indeed i've tried it but it has no effect. Might be a bug
12/17/2013

Gab
My UC is very simple : custom user action "navigate to XX documentation" which triggers below automation chain :

Fetch > Document (by document path)

User Interface > Navigate to Document

The "navigate to" works fine but does not select the tab in MAIN_TABS associated to the user action

12/17/2013

Gab
Associated warning in logs: [org.nuxeo.ecm.platform.ui.web.api.TabActionsSelection] Cannot set current tab with id 'documents': action is not enabled

Note than i disabled 'document management' link, might be linked according to above log message

12/23/2013