<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Attribute sort order when I register database features</title><link>https://communities.bentley.com/products/geospatial/desktop/f/bentley-map-forum/216002/attribute-sort-order-when-i-register-database-features</link><description>Hi all! I have a problem that could be solved previously but I didn&amp;#39;t found any solution. If there is a solution please forward it to me. I&amp;#39;ve created database table with fields (attributes) in particular order. Same attribute with same order I&amp;#39;ve created</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Attribute sort order when I register database features</title><link>https://communities.bentley.com/thread/658219?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 17:04:01 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:79d7f393-4804-4ae1-af59-885d60343e30</guid><dc:creator>Mladen Kolarek</dc:creator><description>&lt;p&gt;FYI, you can manually reorder feature properties in Schema XML and it works in Analyze form.&lt;/p&gt;
&lt;p&gt;Need to reorder xml blocks (tag &amp;lt;property&amp;gt; ... &amp;lt;/property&amp;gt;) of each property inside one feature class.&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/5924/pastedimage1625072463605v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;HTH&lt;/p&gt;
&lt;p&gt;Mladen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Attribute sort order when I register database features</title><link>https://communities.bentley.com/thread/658173?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 13:54:26 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:e0b59761-8fcd-4ff3-90aa-3bf5c461586c</guid><dc:creator>Jan Šlegr</dc:creator><description>[quote userid="1031677" url="~/products/geospatial/desktop/f/bentley-map-forum/216002/attribute-sort-order-when-i-register-database-features/658143"]All I can do then is to sort by properies name or display name and that doesn&amp;#39;t work for me.[/quote]
&lt;p&gt;As I wrote above, the sorting has nothing to do with the project configuration. It&amp;#39;s only how properties are displayed in GSA GUI.&lt;/p&gt;
[quote userid="1031677" url="~/products/geospatial/desktop/f/bentley-map-forum/216002/attribute-sort-order-when-i-register-database-features/658143"]I can&amp;#39;t think of a single way to avoid that.[/quote]
&lt;p&gt;I think you are right. Unfortunately, GSA is really old piece of software (&amp;gt; 15 years?), not being updated nor modernized for long time. It&amp;#39;s true that flexibility and overall UX looks a bit like disaster when compared with modern GIS software.&lt;/p&gt;
&lt;p&gt;But, at the end, an ability to access XML directly offers a workaround in many situations ;-)&lt;/p&gt;
&lt;p&gt;With regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Attribute sort order when I register database features</title><link>https://communities.bentley.com/thread/658160?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 13:15:04 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:d6d889dd-4eff-4f4c-95fb-fd15b460bbbd</guid><dc:creator>Mladen Kolarek</dc:creator><description>&lt;p&gt;Thanks Dan,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll try to manually edit Schema XML file.&lt;/p&gt;
&lt;p&gt;If I think a little about that, problem is in register feature procedure because procedure automatically change properties order previuosly defined in GSA. I agree that shuold be a funcionallity to sort them if I want to, but &lt;span class="VIiyi" lang="en"&gt;&lt;span class="JLqJ4b ChMk0b"&gt;&lt;span&gt;for the first step it should take the order from GSA.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Mladen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Attribute sort order when I register database features</title><link>https://communities.bentley.com/thread/658156?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 13:04:53 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:973feb5d-c552-4efe-b760-ad139bb9f46c</guid><dc:creator>Dan Weston</dc:creator><description>&lt;p&gt;There are two articles in this Community that may help. One requires that you modify the Default.xslt file, the other edits the Schema .xml file as Jan mentioned:&lt;/p&gt;
&lt;p&gt;1. &lt;a href="/products/geospatial/desktop/w/geospatial_desktop__wiki/25392/--sort-properties-by-display-name" rel="noopener noreferrer" target="_blank"&gt;Sort Properties by Display Name&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2. &lt;a href="/products/geospatial/desktop/w/geospatial_desktop__wiki/41845/--change-property-order-using-text-editor" rel="noopener noreferrer" target="_blank"&gt;Change Property Order&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Attribute sort order when I register database features</title><link>https://communities.bentley.com/thread/658143?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 12:31:10 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:8b4e6d53-3ae3-4a41-a011-445e8554ee59</guid><dc:creator>Mladen Kolarek</dc:creator><description>&lt;p&gt;Thanks Jan,&lt;/p&gt;
&lt;p&gt;I agree that column order doesn&amp;#39;t exist in database table but feature properties order exist in GSA. That order is displayed in Analyze form. After I register database features order in GSA is changing. All I can do then is to sort by properies name or display name and that doesn&amp;#39;t work for me. I can&amp;#39;t think of a single way to avoid that.&lt;/p&gt;
&lt;p&gt;As You suggest I&amp;#39;ll try to find and change order of properties directly in GSA workspace XML file.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Mladen&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/5924/pastedimage1625058534334v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;Final product, &lt;span class="VIiyi" lang="en"&gt;&lt;span class="JLqJ4b ChMk0b"&gt;&lt;span&gt;alphabetically&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; sorted&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/5924/pastedimage1625058767275v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Attribute sort order when I register database features</title><link>https://communities.bentley.com/thread/658103?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 09:33:25 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:47edc29e-6695-4638-9aa8-48b8794d0932</guid><dc:creator>Jan Šlegr</dc:creator><description>&lt;p&gt;Hi Mladen,&lt;/p&gt;
&lt;p&gt;I have no running spatial project running on my computer now (and it&amp;#39;s long time ago I configured such project ;-), so just a few notes (that may not be right):&lt;/p&gt;
[quote userid="1031677" url="~/products/geospatial/desktop/f/bentley-map-forum/216002/attribute-sort-order-when-i-register-database-features"]I&amp;#39;ve created database table with fields (attributes) in particular order.[/quote]
&lt;p&gt;When columns are created in a table (I think the field is not proper term in this context, even when used often ;-), nothing like &amp;quot;order&amp;quot; exists. What column was created first and what last is not important.&lt;/p&gt;
&lt;p&gt;In general, in SQL world, &amp;quot;order&amp;quot; is not defined for nearly anything, and depends on implementation of a particular database. I think the only situation, when you can trust a response from database is ordered, is when SQL query requires results, ordered by specific field.&lt;/p&gt;
[quote userid="1031677" url="~/products/geospatial/desktop/f/bentley-map-forum/216002/attribute-sort-order-when-i-register-database-features"]and offers me to sort by attribure name or display name.[/quote]
&lt;p&gt;It&amp;#39;s only visual tool, not related anyhow to the project configuration.&lt;/p&gt;
[quote userid="1031677" url="~/products/geospatial/desktop/f/bentley-map-forum/216002/attribute-sort-order-when-i-register-database-features"]Main problem is display order in Analyze form.[/quote]
&lt;p&gt;What I remember from classic mslink based projects (no spatial feature is stored in daabase), properties order in Analyze dialog is defined by the order of properties in GSA. Probably (but I am not sure) it&amp;#39;s the same.&lt;/p&gt;
[quote userid="1031677" url="~/products/geospatial/desktop/f/bentley-map-forum/216002/attribute-sort-order-when-i-register-database-features"]or how to manually change order after I register features?[/quote]
&lt;p&gt;What you can try is to identify the feature definition in xml file and to check how properties are defined. Change the properties order there (non intrusive simple modification) and reload the project in GSA, changes should be visible.&lt;/p&gt;
[quote userid="1031677" url="~/products/geospatial/desktop/f/bentley-map-forum/216002/attribute-sort-order-when-i-register-database-features"]Place and edit forms with attributes are ok.[/quote]
&lt;p&gt;It&amp;#39;s because the forms are defined separately.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>