Hi,
In Studio, how can we change the action id in the "additional configuration tabs."
Currently, you can change the label and order but not the id.
I would replace "CVTAB@Workspace_1" with "TAB_FILESHARE" for example.
To make a request via a web address like this:
/nuxeo/nxpath/default/default-domain/UserWorkspaces/jdupont@view_documents?tabIds=%3ATAB_FILESHARE
instead of
/nuxeo/nxpath/default/default-domain/UserWorkspaces/jdupont@view_documents?tabIds=%3ACVTAB%40Workspace_1
Example of code generated by Studio in the bundle:
<action> id="CVTAB@Workspace_1" link="/studio_content_view_tabs/studio_cvtab_Workspace_1.xhtml" order="2000" label="Mes fichiers partagés">
<category>VIEW_ACTION_LIST</ category>
<filter id="filter@CVTAB@Workspace_1">
<rule grant="true">
<permission> ReadWrite </ permission>
<type> Workspace </ type>
</ rule>
<rule grant="false">
<condition> document.isImmutable () | | document.isProxy () </ Condition>
</ rule>
<rule grant="false">
<condition>! document.getPathAsString (). startsWith ("/ default-domain/UserWorkspaces /") </ Condition>
</ rule>
</ filter>
</ action>
