cancel
Showing results for 
Search instead for 
Did you mean: 

Adding a tab to tablayout in the datahub

Former Member
0 Kudos

Hi,

I would like to add a tab to the tab layout already existing in the datahub (see picture). 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" />
     </widget-extension>

(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?

Accepted Solutions (1)

Accepted Solutions (1)

cieslo
Active Participant
0 Kudos

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.

Former Member
0 Kudos

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?

Answers (0)