You are currently reviewing an older revision of this page.
There are several ways to name a Feature in Bentley Map - by Feature Name, Display Name, Collection Name, Table Name, Label, Category Name, Sub-Feature Name, etc. Defining a Display Name to these Features can provide flexibility to the administrator for organization and data interoperability.
Similarly, Property Names can have an alternate Display Name which makes it better suited, and more easily recognizable to the human eye that the original Property Name.
Compare the two summaries, before and after defining a Display Name:
Display Names provide a way to make the Feature Name more 'human-readable' so that we can easily distinguish one from another. This is especially apparent when reviewing Features using the Analyze Feature command in Bentley Map.
Compare the two Analyze Results, before and after defining and ordering by Display Name:
You can Sort By Display Name and get these results by modifying the "default.xslt" file that is delivered with Bentley Map, and adding the line:
<xsl:sort select="@displayName" />
The default.xslt file is located in the C:\Program Files (x86)\Bentley\MapEnterprise V8i 615\MapEnterprise\xml\xslt folder.
1. Copy and rename default.xslt so you will have a backup of the file.
2. Edit default.xslt to look like this:
<xsl:for-each select="*">
<table width="100%" CELLSPACING="0" CELLPADDING="0" BORDER="1">
<tr class="feature" style="display:block;">
<xsl:choose>
<xsl:when test="@displayName">
<td class="feature" colspan="2"><xsl:value-of select="@displayName"/></td>
</xsl:when>
<xsl:otherwise>
<td class="feature" colspan="2"><xsl:value-of select="name()"/></td>
</xsl:otherwise>
</xsl:choose>
</tr>
<tr class="head" style="display:block;">
<td>Property</td>
<td>Value</td>
<xsl:apply-templates select="*">
<xsl:with-param name="tag">exp<xsl:value-of select="generate-id()"/></xsl:with-param>
</xsl:apply-templates>
</table>
</xsl:for-each>
Now each time you use the Analyze Result command in Bentley Map, the list will be alphabetized and sorted by Display Name.
Additional Resources: