Publication Settings / Subentries / Alphabetical order - in bulk?

42 views
Skip to first unread message

SM

unread,
Nov 1, 2025, 9:52:58 AMNov 1
to FLEx list
I can see how to set the subentries of any one entry to be in alphabetical order, in the publication settings section, but is there a way to do this in bulk for all entries that have subentries? I would prefer not to tell the user that he has to do set the 'alphabetical order' setting for all 3000+ of these kinds of entries manually!

Thanks!

Ken Zook

unread,
Nov 5, 2025, 11:09:45 AMNov 5
to flex...@googlegroups.com

Hi Sara,

 

I assume these 3000+ entries were imported from a SFM file. During a SFM import we attempt to keep the subentry ordering identical to the order in the SFM file, which may or may not be alphabetical. To do this, we add VirtualOrdering objects for each main entry. In the subentries field if you right-click and choose ‘Alphabetical Order’, it deletes that VirtualOrdering object and FLEx automatically sorts the subentries alphabetically.

 

There isn’t a way in the FLEx UI to bulk edit this ordering, but there is a pretty easy way in fwdata to do it. These objects are not owned. Assuming there are not any virtual orderings you want to keep, you can delete all objects similar to this:

 

<rt class="VirtualOrdering" guid="ae1198b0-ec4f-48b4-b04b-f2b70e43f931">

<Field>

<Uni>Subentries</Uni>

</Field>

<Items>

<objsur guid="e93c9687-8815-4bbc-bd2c-8c40abd9a435" t="r" />

<objsur guid="6e79da09-d9e4-4d2e-846c-1947fcdecde0" t="r" />

</Items>

<Source>

<objsur guid="9db10f4c-01e5-4df5-acbb-5eaa2eb482f7" t="r" />

</Source>

</rt>

 

The Items element can have any number of objsur elements. You could delete these objects with regex, CC, FlexTools, etc.

 

Ken

--
"FLEx list" messages are public. Only members can post.
flex_d...@sil.org
http://groups.google.com/group/flex-list.
---
You received this message because you are subscribed to the Google Groups "FLEx list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flex-list+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/flex-list/9111c266-ce15-477f-835b-e97b24db16a1n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages