Hi Holger, thanks for your response.That was indeed something I tried (a custom URL class). However, in the data graph tabular view, clicking on the url field will display the URL instance in EDG, instead of opening the URL directly. This is not the behavior our users wanted here. Is there a way I can customize it?
[image: 2022-08-08 081252.png] On Mon, Aug 8, 2022 at 1:22 AM Holger Knublauch <[email protected]> wrote: > Hi Fan Li, > > (you are probably using Mac with auto-correction, which will replace > rdf:... with ref:... - I have switched off auto-correction as this was > biting me all the time). > > If you want to attach metadata and also customize the display text, why > not simply create proper instances of a class of your choice, e.g. ex:URL > which has rdfs:label as a declared property and any other metadata property > too? I.e. instead of using datatype properties just make them proper object > properties linking to an instance instead of a literal? > > Holger > > > On 5 Aug 2022, at 4:43 pm, Fan Li <[email protected]> wrote: > > In the following thread, Irene mentioned two approaches to display > clickable URL in EDG: xsd:anyURI or ref:HTML > > https://groups.google.com/g/topbraid-users/c/IX9XLMMchPw/m/wZeTOfUqAgAJ > > * if you want to see on a form a hyperlink to a document on a web, use > xsd:anyURI or, if values are text that includes links, use ref:HTML.* > > But I feel there are limitations in both. Using xsd:anyURI, I cannot > control the displayed text and the hover text in the HTML hyperlink tag > (e.g. <a href=".." text="Link to ABC">ABC</a>). Using ref:HTML, I can > customize both but the content can be any html with no semantic meaning. > > Is there a built-in URL class (or allow me to create one) and have it > rendered as a clickable link? It would also give me the ability to attach > additional metadata to each URL. > > Thanks! > > -- > 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/1342be77-43f6-45fc-a76c-3f0ee010b02fn%40googlegroups.com > <https://groups.google.com/d/msgid/topbraid-users/1342be77-43f6-45fc-a76c-3f0ee010b02fn%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/6D57EA84-E78C-4164-8D77-D89A185256AC%40topquadrant.com > <https://groups.google.com/d/msgid/topbraid-users/6D57EA84-E78C-4164-8D77-D89A185256AC%40topquadrant.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/CAC95LqUA0s9ouq%3DCeGihrH2g5O3pUg07zsJxgrLV9jZ6h0P5ag%40mail.gmail.com.
