Skip to Content
author's profile photo Former Member
Former Member

Adding a tab to tablayout in the datahub


I would like to add a tab to the tab layout already existing in the datahub (see picture). alt text Unfortunatly I am unable to even access elements inside of it, e.g. the following code doesn't remove the layout:

 <widget-extension widgetId="datahubBackofficePerspective">
         <remove widgetId="datahubContentArea" />

(After adding a tab I would also like to display something I can fill with java-generated values, like clicking a button invokes a method which displays a pie chart, if you got any hints for that I would be grateful).

Do you have an ideas for this?

4687-here.png (70.8 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jan 14, 2016 at 11:51 AM

    Hi Peter,

    If you look at the datahubbackoffice-backoffice-widgets.xml you can see that this configuration file uses "import resource" element. Imported resources are loaded at the end (after all inline configurations). In order to be able to overwrite settings of datahubbackoffice extension you need to create a file in your extension resource folder (for example import-config.xml) and in yourextension-backoffice-*.xml import this file using <import resource="import-config.xml"/>. All your modifications should go to external xml files and should be imported. This will ensure the correct order of creating configuration.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thank you, it's working now. Any hints for the connection between the explorer tree I already merged by module in the extension-config.xml? So that I click on a navigation node and it opens? Do I need to define new sockets for that?

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.