Hi Sanjeev, Here is an updated example file that should work in the latest EDG 6.3.
Hope it helps, Pat On Wed, May 20, 2020 at 8:35 AM Sanjeev Devireddy < [email protected]> wrote: > Hi Holger, > Is this solution can work with the TopBraid Enterprise Data > Governance, Version: 6.3.0.v20191211-1757R? I tried importing the > mainMenuExample.ui.ttlx file to my composer(TopBraid Composer Maestro > Edition , Version: 6.3.0) but the classes view is not showing the expected > classes like teamwork:HomePageTab (please check the below screenshot). > > Actually we want add a new menu item in UI of TopBraid Enterprise Data > Governance, Version: 6.3.0. Could you please suggest me the best way do > that? > > > > > Thanks, > Sanjeev > > On Sunday, February 12, 2017 at 10:50:36 AM UTC+5:30, Holger Knublauch > wrote: > >> Hi Paul, >> >> EVN (and its sister product EDG) provide various extension mechanisms >> that can be used to customize the appearance without modifying the system >> files (such as teamwork.ui.ttlx). SPARQL Web Pages (SWP) is used in most >> places, and others are entirely model-driven and depend on RDF data in some >> files. >> >> For you specific scenario in 5.2, you have two options: >> >> 1) Apply a so-called override (http://uispin.org/ui.html#overrides) to >> the element that populates the menu: teamwork:MainMenu. To do that, create >> a new RDF/SWP file (ending with ui.ttlx), import teamwork.ui.ttlx and then >> create a subclass of teamwork:MainMenu that points at teamwork:MainMenu via >> ui:overrides. This mechanism would allow you to completely replace the main >> menu, e.g. you could start with the existing ui:prototype of >> teamwork:MainMenu and modify it. >> >> However, I think what you need is something simpler, namely a menu item >> that open something on the right hand side of the screen: >> >> 2) Define a teamwork:HomePageTab and tell the EVN product about it. EVN >> will populate a tab for each instance of HomePageTab that it can find in >> any ui.ttlx file. I have prepared this in the attache file. Place this into >> your workspace (or upload it to the EVN server) to see the extra menu item. >> >> >> >> The key triples of the example file are: >> >> rdf:type teamwork:HomePageTab ; >> ui:prototype """ >> <div>Hello World</div> >> """^^ui:Literal ; >> rdfs:label "My HomePage Tab" ; >> rdfs:subClassOf teamwork:HomePageTabs ; >> . >> >> to declare the home page tab, and >> >> evnproduct:EVN >> teamwork:homePageTab mainMenuExample:MyHomePageTab ; >> . >> >> to tell EVN about it. (Similar would be for EDG). >> >> HTH >> Holger >> >> >> On 10/02/2017 22:58, Paul Frunza wrote: >> >> Hello, >> >> I want to modify the default EVN menu in order to add another item which >> links to a custom page, in the manner show below: >> >> >> <https://lh3.googleusercontent.com/-m_32ntNzDBg/WJ24HGYakKI/AAAAAAAAAPw/IiWxvxkePw8MlEUBIWC5ugwm0KxSEe9nQCLcB/s1600/EVN%2BUI2.png> >> >> >> I've done text search through all of the local composer files and the >> only place found where the menu items are defined seems to be in the >> teamwork.topbraidlive.org/ui/teamwork.ui.ttlx file (shown in the >> screenshot below). However, this is quite a large file (~13k lines) and it >> seems to define the UI elements for other projects as well, such as EDG. I >> suspect that it might be a generated file due to its size. >> >> >> <https://lh3.googleusercontent.com/-Zms5KPwJnS4/WJ22MxDWWOI/AAAAAAAAAPc/legw_V5Un0ocOmAnJj4HqtJJIGDGqqj6gCLcB/s1600/EVN%2BUI.png> >> >> >> Is that the correct file where such modifications should be made? Is >> there a way to ensure that the changes appear only in EVN and not other >> places? >> >> Also, we have an EVN instance (without EDG) on a dedicated server which >> is running an older version (5.1.4). Would there be any compatibility >> issues when deploying to this server? >> >> Best regards, >> Paul >> -- >> You received this message because you are subscribed to the Google Group >> "TopBraid Suite Users", the topics of which include the TopBraid Suite >> family of products and its base technologies such as SPARQLMotion, SPARQL >> Web Pages and SPIN. >> To post to this group, send email to [email protected] >> --- >> You received this message because you are subscribed to the Google Groups >> "TopBraid Suite Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> >> >> -- > You received this message because you are subscribed to the Google Groups > "TopBraid Suite Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/topbraid-users/65698f0a-8fa8-4279-8508-fb97304bdedb%40googlegroups.com > <https://groups.google.com/d/msgid/topbraid-users/65698f0a-8fa8-4279-8508-fb97304bdedb%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/CA%2B5SJmG1GzxqF6O9E89sxMLGrBGOcacdmqZ_apmU8dB%2BixW1WA%40mail.gmail.com.
mainMenuExample.ui.ttlx
Description: Binary data
