Hi all!I have a problem that could be solved previously but I didn't found any solution. If there is a solution please forward it to me.I've created database table with fields (attributes) in particular order. Same attribute with same order I've created in GSA. When I register database features in GSA they change my original order and offers me to sort by attribure name or display name. Both are not good for me.My question: Is there a chance to register features without changing my original sort order or how to manually change order after I register features?
Main problem is display order in Analyze form. Place and edit forms with attributes are ok.Many thanks in advance.Mladen
Map-GSA V8iSS4, db: SQL Server
FYI, you can manually reorder feature properties in Schema XML and it works in Analyze form.
Need to reorder xml blocks (tag <property> ... </property>) of each property inside one feature class.
HTH
Mladen
Mladen Kolarek said:All I can do then is to sort by properies name or display name and that doesn't work for me.
As I wrote above, the sorting has nothing to do with the project configuration. It's only how properties are displayed in GSA GUI.
Mladen Kolarek said:I can't think of a single way to avoid that.
I think you are right. Unfortunately, GSA is really old piece of software (> 15 years?), not being updated nor modernized for long time. It's true that flexibility and overall UX looks a bit like disaster when compared with modern GIS software.
But, at the end, an ability to access XML directly offers a workaround in many situations ;-)
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Thanks Dan,
I'll try to manually edit Schema XML file.
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 for the first step it should take the order from GSA.
Regards,
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:
1. Sort Properties by Display Name
2. Change Property Order
Thanks Jan,
I agree that column order doesn'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't work for me. I can't think of a single way to avoid that.
As You suggest I'll try to find and change order of properties directly in GSA workspace XML file.
Final product, alphabetically sorted