how to customize Picture Document

Hello,

I have a problem, i want to customize the Picture Document (for removing some tabs) but I can't find how. Picture isn't in the default document's list in the studio, how i can extend it? I try to modify it with a XML extension but i don't find the extension point for removing tabs for in a document.

Can you help me?

Thanks

0 votes

1 answers

1798 views

ANSWER



HI, If you want to remove Relation tab for Picture Doc type, then write extension point

`<extension target="org.nuxeo.ecm.platform.actions.ActionService" point="actions">`

<action id="TAB_RELATIONS">
            <filter id="workspace.deny.tab_relations">
                <rule grant="false">
                    <type>Picture</type>
                </rule>
            </filter>
</extension>

Similarly based on the Tab you want to remove, you can write actions for that.

0 votes