Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
is there any way to change the sort order of documenttype compositions?
In my case I have 3 document types with different properties. I will use this 3 document types as compositions in one another document type. Can I choose which documenttype composition I will see at first, second and third?
Did you find a solution to this?
I have only found a workaround for this: Every Document Type has his own tab and this tab has an own sort order. If you use document type compositions the sort order of the tabs is used. But this is not very good. I have not found a solution to change the sort order of properties from different document types in the same tab.
Sören is right. Looking at the database, the sortorder of the composition tabs is used and then it is looking at the sortorder column on the properties itself.
In my case the tabs have sortorder 0 and the properties within also have sortorder 0. In this case it looks like Umbraco is stacking then on order of contenttypeNodeId, which means it is not changable in Umbraco itself.
You could change the sortorder in the database manually, but it is not a very stable way of doing this.
There is an issue on the issue tracker that talks about some workarounds to this here:
and also you'll see a new pull request at the bottom that exposes the underlying ids to allow you to fudge the order between compositions with properties sharing the same tab.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted