Sorting inherited template fields Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?SXA: Add custom slide template to CarouselSitecore SXA Search Result Sorting by dateSXA Search SortingSort SXA search results by date without SXA sorting renderingHow to configure SXA Search Box to search based on Fields of a certain template?Sitecore SXA Access Template fields inside a Variant Nvelocity templateSorting search results with multiple facetsMissing or presenting body-tag placeholder in SXARendering cloning | item fields are not as per their templateDisplay list of items with a dynamic query set by content editors

How to align enumerate environment inside description environment

Sally's older brother

My mentor says to set image to Fine instead of RAW — how is this different from JPG?

The test team as an enemy of development? And how can this be avoided?

Printing attributes of selection in ArcPy?

Found this skink in my tomato plant bucket. Is he trapped? Or could he leave if he wanted?

Simple Line in LaTeX Help!

What does it mean that physics no longer uses mechanical models to describe phenomena?

How were pictures turned from film to a big picture in a picture frame before digital scanning?

Delete free apps from library

I got rid of Mac OSX and replaced it with linux but now I can't change it back to OSX or windows

Resize vertical bars (absolute-value symbols)

Random body shuffle every night—can we still function?

What is the difference between a "ranged attack" and a "ranged weapon attack"?

What would you call this weird metallic apparatus that allows you to lift people?

What does 丫 mean? 丫是什么意思?

Is there public access to the Meteor Crater in Arizona?

Simple HTTP Server

How to change the tick of the color bar legend to black

Where is the Next Backup Size entry on iOS 12?

Why are vacuum tubes still used in amateur radios?

Nose gear failure in single prop aircraft: belly landing or nose-gear up landing?

Co-worker has annoying ringtone

Is multiple magic items in one inherently imbalanced?



Sorting inherited template fields



Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?SXA: Add custom slide template to CarouselSitecore SXA Search Result Sorting by dateSXA Search SortingSort SXA search results by date without SXA sorting renderingHow to configure SXA Search Box to search based on Fields of a certain template?Sitecore SXA Access Template fields inside a Variant Nvelocity templateSorting search results with multiple facetsMissing or presenting body-tag placeholder in SXARendering cloning | item fields are not as per their templateDisplay list of items with a dynamic query set by content editors










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

273112




273112












  • 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

        17.5k53782




        17.5k53782



























            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

            Club Baloncesto Breogán Índice Historia | Pavillón | Nome | O Breogán na cultura popular | Xogadores | Adestradores | Presidentes | Palmarés | Historial | Líderes | Notas | Véxase tamén | Menú de navegacióncbbreogan.galCadroGuía oficial da ACB 2009-10, páxina 201Guía oficial ACB 1992, páxina 183. Editorial DB.É de 6.500 espectadores sentados axeitándose á última normativa"Estudiantes Junior, entre as mellores canteiras"o orixinalHemeroteca El Mundo Deportivo, 16 setembro de 1970, páxina 12Historia do BreogánAlfredo Pérez, o último canoneiroHistoria C.B. BreogánHemeroteca de El Mundo DeportivoJimmy Wright, norteamericano do Breogán deixará Lugo por ameazas de morteResultados de Breogán en 1986-87Resultados de Breogán en 1990-91Ficha de Velimir Perasović en acb.comResultados de Breogán en 1994-95Breogán arrasa al Barça. "El Mundo Deportivo", 27 de setembro de 1999, páxina 58CB Breogán - FC BarcelonaA FEB invita a participar nunha nova Liga EuropeaCharlie Bell na prensa estatalMáximos anotadores 2005Tempada 2005-06 : Tódolos Xogadores da Xornada""Non quero pensar nunha man negra, mais pregúntome que está a pasar""o orixinalRaúl López, orgulloso dos xogadores, presume da boa saúde económica do BreogánJulio González confirma que cesa como presidente del BreogánHomenaxe a Lisardo GómezA tempada do rexurdimento celesteEntrevista a Lisardo GómezEl COB dinamita el Pazo para forzar el quinto (69-73)Cafés Candelas, patrocinador del CB Breogán"Suso Lázare, novo presidente do Breogán"o orixinalCafés Candelas Breogán firma el mayor triunfo de la historiaEl Breogán realizará 17 homenajes por su cincuenta aniversario"O Breogán honra ao seu fundador e primeiro presidente"o orixinalMiguel Giao recibiu a homenaxe do PazoHomenaxe aos primeiros gladiadores celestesO home que nos amosa como ver o Breo co corazónTita Franco será homenaxeada polos #50anosdeBreoJulio Vila recibirá unha homenaxe in memoriam polos #50anosdeBreo"O Breogán homenaxeará aos seus aboados máis veteráns"Pechada ovación a «Capi» Sanmartín e Ricardo «Corazón de González»Homenaxe por décadas de informaciónPaco García volve ao Pazo con motivo do 50 aniversario"Resultados y clasificaciones""O Cafés Candelas Breogán, campión da Copa Princesa""O Cafés Candelas Breogán, equipo ACB"C.B. Breogán"Proxecto social"o orixinal"Centros asociados"o orixinalFicha en imdb.comMario Camus trata la recuperación del amor en 'La vieja música', su última película"Páxina web oficial""Club Baloncesto Breogán""C. B. Breogán S.A.D."eehttp://www.fegaba.com

            Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070

            Cegueira Índice Epidemioloxía | Deficiencia visual | Tipos de cegueira | Principais causas de cegueira | Tratamento | Técnicas de adaptación e axudas | Vida dos cegos | Primeiros auxilios | Crenzas respecto das persoas cegas | Crenzas das persoas cegas | O neno deficiente visual | Aspectos psicolóxicos da cegueira | Notas | Véxase tamén | Menú de navegación54.054.154.436928256blindnessDicionario da Real Academia GalegaPortal das Palabras"International Standards: Visual Standards — Aspects and Ranges of Vision Loss with Emphasis on Population Surveys.""Visual impairment and blindness""Presentan un plan para previr a cegueira"o orixinalACCDV Associació Catalana de Cecs i Disminuïts Visuals - PMFTrachoma"Effect of gene therapy on visual function in Leber's congenital amaurosis"1844137110.1056/NEJMoa0802268Cans guía - os mellores amigos dos cegosArquivadoEscola de cans guía para cegos en Mortágua, PortugalArquivado"Tecnología para ciegos y deficientes visuales. Recopilación de recursos gratuitos en la Red""Colorino""‘COL.diesis’, escuchar los sonidos del color""COL.diesis: Transforming Colour into Melody and Implementing the Result in a Colour Sensor Device"o orixinal"Sistema de desarrollo de sinestesia color-sonido para invidentes utilizando un protocolo de audio""Enseñanza táctil - geometría y color. Juegos didácticos para niños ciegos y videntes""Sistema Constanz"L'ocupació laboral dels cecs a l'Estat espanyol està pràcticament equiparada a la de les persones amb visió, entrevista amb Pedro ZuritaONCE (Organización Nacional de Cegos de España)Prevención da cegueiraDescrición de deficiencias visuais (Disc@pnet)Braillín, un boneco atractivo para calquera neno, con ou sen discapacidade, que permite familiarizarse co sistema de escritura e lectura brailleAxudas Técnicas36838ID00897494007150-90057129528256DOID:1432HP:0000618D001766C10.597.751.941.162C97109C0155020