BentleyMap V8i XFM-Hyperlink

Is it possible to have a feature property set to hyperlink in BentleyMap V8i XFM project?

I can only see simple text, rich text and combo box types.

Or should I use the Engineering links tool, which I would like to avoid, as I wish to link images to point elements via hyperlink text column and display it in the XFM property box that appears when the Analyze tool is used.

Any ideas?




Parents Reply
  • Here is a sample of an xslt file for use with hyperlinks....

     If the value LINK is there, it reads the link value....for instance and creates a link out of that property in the property viewer...

    The code below would have to fit into the file called default.xslt, which you can find in your Bentley Map installation Directory, under C:/Program Files/Bentley

     <!-- Template for elements with element children -->
    <xsl:template match="*">
        <xsl:param name="tag"/>
           <xsl:element name="tr">
           <xsl:attribute name="{$tag}">yes</xsl:attribute>
           <xsl:attribute name="class">r<xsl:value-of select="position() mod 2"/></xsl:attribute>
           <xsl:attribute name="style">display:block;</xsl:attribute>
              <xsl:when test="name()='LINK'">
               <td><xsl:value-of select="name()"/></td>
               <td><a target="_blank"><xsl:attribute name="href"><xsl:value-of select="."/></xsl:attribute><xsl:value-of select="."/></a></td>
              <td><xsl:value-of select="name()"/></td>
              <td><xsl:value-of select="."/></td>


No Data