Sorting inherited template fieldsSitecore SXA Search Result Sorting by dateSXA: When is configuration in web.config necessary vs only in templates?SXA Search SortingSort SXA search results by date without SXA sorting renderingSitecore SXA Access Template fields inside a Variant Nvelocity templateMissing or presenting body-tag placeholder in SXARendering cloning | item fields are not as per their templateHow to display page list based on query against a dynamic sxatag valueDisplay list of items with a dynamic query set by content editorsSXA autosuggest results sorting

Trying to write a shell script that keeps testing a server remotely, but it keeps falling in else statement when I logout

The cat ate your input again!

First amendment and employment: Can a police department terminate an officer for speech?

create a tuple from pairs

How does "Te vas a cansar" mean "You're going to get tired"?

Why is transplanting a specific intact brain impossible if it is generally possible?

What is the maximum number of PC-controlled undead?

Is it okay for a ticket seller to grab a tip in the USA?

Why isn’t SHA-3 in wider use?

Existence of weak limit of measures

Y2K... in 2019?

constant evaluation when using differential equations.

Are differences between uniformly distributed numbers uniformly distributed?

How can Radagast come across Gandalf and Thorin's company?

Write an interpreter for *

Email address etiquette - Which address should I use to contact professors?

(11 of 11: Meta) What is Pyramid Cult's All-Time Favorite?

CTCI Chapter 1 : Palindrome Permutation

Multirow in tabularx?

Adding CSV file with lat/long to map in different CRS in QGIS

Who are these characters/superheroes in the posters from Chris's room in Family Guy?

If "more guns less crime", how do gun advocates explain that the EU has less crime than the US?

Some concentration spells give you a special action. Does the War Caster feat let these be used instead of opportunity attacks?

Does a code snippet compile? Or does it get compiled?



Sorting inherited template fields


Sitecore SXA Search Result Sorting by dateSXA: When is configuration in web.config necessary vs only in templates?SXA Search SortingSort SXA search results by date without SXA sorting renderingSitecore SXA Access Template fields inside a Variant Nvelocity templateMissing or presenting body-tag placeholder in SXARendering cloning | item fields are not as per their templateHow to display page list based on query against a dynamic sxatag valueDisplay list of items with a dynamic query set by content editorsSXA autosuggest results sorting






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















I have a page template inheriting from base templates.



enter image description here



But when I go to edit those from Experience Accelerator, Page metadata, Other dialog, they are in a strange order. It seems like its grabbing the first item from each template, then the second item from each template and so on... but not in the displayed template order above.



enter image description here



I tried applying sort order but that only applies to the content editor tree - it has no impact on this dialog at all.



I want each block of fields below to remain as a block together, so it makes more sense when editing.



Using Sitecore 9.1 and SXA 1.8.










share|improve this question
























  • You need to use different section names. List, Pair and Links for instance, instead of Content.

    – Mark Cassidy
    Apr 15 at 5:24











  • @MarkCassidy Ah - great thanks :) Feel free to post as a proper answer so I can accept.

    – Jen
    Apr 15 at 5:26


















2















I have a page template inheriting from base templates.



enter image description here



But when I go to edit those from Experience Accelerator, Page metadata, Other dialog, they are in a strange order. It seems like its grabbing the first item from each template, then the second item from each template and so on... but not in the displayed template order above.



enter image description here



I tried applying sort order but that only applies to the content editor tree - it has no impact on this dialog at all.



I want each block of fields below to remain as a block together, so it makes more sense when editing.



Using Sitecore 9.1 and SXA 1.8.










share|improve this question
























  • You need to use different section names. List, Pair and Links for instance, instead of Content.

    – Mark Cassidy
    Apr 15 at 5:24











  • @MarkCassidy Ah - great thanks :) Feel free to post as a proper answer so I can accept.

    – Jen
    Apr 15 at 5:26














2












2








2








I have a page template inheriting from base templates.



enter image description here



But when I go to edit those from Experience Accelerator, Page metadata, Other dialog, they are in a strange order. It seems like its grabbing the first item from each template, then the second item from each template and so on... but not in the displayed template order above.



enter image description here



I tried applying sort order but that only applies to the content editor tree - it has no impact on this dialog at all.



I want each block of fields below to remain as a block together, so it makes more sense when editing.



Using Sitecore 9.1 and SXA 1.8.










share|improve this question














I have a page template inheriting from base templates.



enter image description here



But when I go to edit those from Experience Accelerator, Page metadata, Other dialog, they are in a strange order. It seems like its grabbing the first item from each template, then the second item from each template and so on... but not in the displayed template order above.



enter image description here



I tried applying sort order but that only applies to the content editor tree - it has no impact on this dialog at all.



I want each block of fields below to remain as a block together, so it makes more sense when editing.



Using Sitecore 9.1 and SXA 1.8.







sxa






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Apr 15 at 5:20









JenJen

4443 silver badges15 bronze badges




4443 silver badges15 bronze badges















  • You need to use different section names. List, Pair and Links for instance, instead of Content.

    – Mark Cassidy
    Apr 15 at 5:24











  • @MarkCassidy Ah - great thanks :) Feel free to post as a proper answer so I can accept.

    – Jen
    Apr 15 at 5:26


















  • You need to use different section names. List, Pair and Links for instance, instead of Content.

    – Mark Cassidy
    Apr 15 at 5:24











  • @MarkCassidy Ah - great thanks :) Feel free to post as a proper answer so I can accept.

    – Jen
    Apr 15 at 5:26

















You need to use different section names. List, Pair and Links for instance, instead of Content.

– Mark Cassidy
Apr 15 at 5:24





You need to use different section names. List, Pair and Links for instance, instead of Content.

– Mark Cassidy
Apr 15 at 5:24













@MarkCassidy Ah - great thanks :) Feel free to post as a proper answer so I can accept.

– Jen
Apr 15 at 5:26






@MarkCassidy Ah - great thanks :) Feel free to post as a proper answer so I can accept.

– Jen
Apr 15 at 5:26











1 Answer
1






active

oldest

votes


















3














This dialogue is not the most flexible of sorts. But what happens is, it shows an aggregate of your templates and their fields, with little way of controlling the order they appear in.



One thing you can do however, is organise the fields under different section names. You currently use Content for all of them, meaning all the fields will end up in the same grouping.



By organising the fields differently, e.g. use List, Pair, and Links, as section names - this dialogue will organise the fields more to your liking I believe.



And yes, you can use the __Sort order on the section items to control the order of how these sections appear in the dialogue as well.



Additional Reference: Field Ordering When Inheriting Sitecore Templates



Edited to add



I actually think you can sort all of the fields even if you remain in the same section name. But you would need to manipulate the __SortOrder of the fields directly. So on the fields under one template, you set their sort order to 10, 20, 30 and so on. In the next template, to 100, 200, 300 etc. And so on. Generally Sitecore would respect the overall sort order - this is why it's "interleaving" the fields to begin with.



That said, I think it's easier to just group by different section names. That's one of the only reason sections exist, after all.






share|improve this answer





























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "664"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsitecore.stackexchange.com%2fquestions%2f18113%2fsorting-inherited-template-fields%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3














    This dialogue is not the most flexible of sorts. But what happens is, it shows an aggregate of your templates and their fields, with little way of controlling the order they appear in.



    One thing you can do however, is organise the fields under different section names. You currently use Content for all of them, meaning all the fields will end up in the same grouping.



    By organising the fields differently, e.g. use List, Pair, and Links, as section names - this dialogue will organise the fields more to your liking I believe.



    And yes, you can use the __Sort order on the section items to control the order of how these sections appear in the dialogue as well.



    Additional Reference: Field Ordering When Inheriting Sitecore Templates



    Edited to add



    I actually think you can sort all of the fields even if you remain in the same section name. But you would need to manipulate the __SortOrder of the fields directly. So on the fields under one template, you set their sort order to 10, 20, 30 and so on. In the next template, to 100, 200, 300 etc. And so on. Generally Sitecore would respect the overall sort order - this is why it's "interleaving" the fields to begin with.



    That said, I think it's easier to just group by different section names. That's one of the only reason sections exist, after all.






    share|improve this answer































      3














      This dialogue is not the most flexible of sorts. But what happens is, it shows an aggregate of your templates and their fields, with little way of controlling the order they appear in.



      One thing you can do however, is organise the fields under different section names. You currently use Content for all of them, meaning all the fields will end up in the same grouping.



      By organising the fields differently, e.g. use List, Pair, and Links, as section names - this dialogue will organise the fields more to your liking I believe.



      And yes, you can use the __Sort order on the section items to control the order of how these sections appear in the dialogue as well.



      Additional Reference: Field Ordering When Inheriting Sitecore Templates



      Edited to add



      I actually think you can sort all of the fields even if you remain in the same section name. But you would need to manipulate the __SortOrder of the fields directly. So on the fields under one template, you set their sort order to 10, 20, 30 and so on. In the next template, to 100, 200, 300 etc. And so on. Generally Sitecore would respect the overall sort order - this is why it's "interleaving" the fields to begin with.



      That said, I think it's easier to just group by different section names. That's one of the only reason sections exist, after all.






      share|improve this answer





























        3












        3








        3







        This dialogue is not the most flexible of sorts. But what happens is, it shows an aggregate of your templates and their fields, with little way of controlling the order they appear in.



        One thing you can do however, is organise the fields under different section names. You currently use Content for all of them, meaning all the fields will end up in the same grouping.



        By organising the fields differently, e.g. use List, Pair, and Links, as section names - this dialogue will organise the fields more to your liking I believe.



        And yes, you can use the __Sort order on the section items to control the order of how these sections appear in the dialogue as well.



        Additional Reference: Field Ordering When Inheriting Sitecore Templates



        Edited to add



        I actually think you can sort all of the fields even if you remain in the same section name. But you would need to manipulate the __SortOrder of the fields directly. So on the fields under one template, you set their sort order to 10, 20, 30 and so on. In the next template, to 100, 200, 300 etc. And so on. Generally Sitecore would respect the overall sort order - this is why it's "interleaving" the fields to begin with.



        That said, I think it's easier to just group by different section names. That's one of the only reason sections exist, after all.






        share|improve this answer















        This dialogue is not the most flexible of sorts. But what happens is, it shows an aggregate of your templates and their fields, with little way of controlling the order they appear in.



        One thing you can do however, is organise the fields under different section names. You currently use Content for all of them, meaning all the fields will end up in the same grouping.



        By organising the fields differently, e.g. use List, Pair, and Links, as section names - this dialogue will organise the fields more to your liking I believe.



        And yes, you can use the __Sort order on the section items to control the order of how these sections appear in the dialogue as well.



        Additional Reference: Field Ordering When Inheriting Sitecore Templates



        Edited to add



        I actually think you can sort all of the fields even if you remain in the same section name. But you would need to manipulate the __SortOrder of the fields directly. So on the fields under one template, you set their sort order to 10, 20, 30 and so on. In the next template, to 100, 200, 300 etc. And so on. Generally Sitecore would respect the overall sort order - this is why it's "interleaving" the fields to begin with.



        That said, I think it's easier to just group by different section names. That's one of the only reason sections exist, after all.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Apr 15 at 13:36

























        answered Apr 15 at 5:32









        Mark CassidyMark Cassidy

        18.7k5 gold badges41 silver badges87 bronze badges




        18.7k5 gold badges41 silver badges87 bronze badges






























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Sitecore Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsitecore.stackexchange.com%2fquestions%2f18113%2fsorting-inherited-template-fields%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Tamil (spriik) Luke uk diar | Nawigatjuun

            Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

            Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?