How to edit the insert options for existing content using that template?












2















I'm VERY new to Sitecore so forgive me, if this question doesn't make any sense.



I've added an insert option to the __StandardValues of a template. I expect the content using this template to have the this new insert option but it doesn't.



Is there another step to this?



or do changes to templates not affect those content that have already been created using the template...










share|improve this question

























  • You cannot see templates in insert options as admin or regular content editors?

    – Peter Procházka
    Nov 26 '18 at 12:44











  • I'm logged in as admin

    – Rick
    Nov 26 '18 at 12:44











  • If you create a new item from this template, does it have the right insert options?

    – Dan Sinclair
    Nov 26 '18 at 12:55
















2















I'm VERY new to Sitecore so forgive me, if this question doesn't make any sense.



I've added an insert option to the __StandardValues of a template. I expect the content using this template to have the this new insert option but it doesn't.



Is there another step to this?



or do changes to templates not affect those content that have already been created using the template...










share|improve this question

























  • You cannot see templates in insert options as admin or regular content editors?

    – Peter Procházka
    Nov 26 '18 at 12:44











  • I'm logged in as admin

    – Rick
    Nov 26 '18 at 12:44











  • If you create a new item from this template, does it have the right insert options?

    – Dan Sinclair
    Nov 26 '18 at 12:55














2












2








2








I'm VERY new to Sitecore so forgive me, if this question doesn't make any sense.



I've added an insert option to the __StandardValues of a template. I expect the content using this template to have the this new insert option but it doesn't.



Is there another step to this?



or do changes to templates not affect those content that have already been created using the template...










share|improve this question
















I'm VERY new to Sitecore so forgive me, if this question doesn't make any sense.



I've added an insert option to the __StandardValues of a template. I expect the content using this template to have the this new insert option but it doesn't.



Is there another step to this?



or do changes to templates not affect those content that have already been created using the template...







templates






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 26 '18 at 12:52









Arvind Gehlot

1,270428




1,270428










asked Nov 26 '18 at 12:39









RickRick

1505




1505













  • You cannot see templates in insert options as admin or regular content editors?

    – Peter Procházka
    Nov 26 '18 at 12:44











  • I'm logged in as admin

    – Rick
    Nov 26 '18 at 12:44











  • If you create a new item from this template, does it have the right insert options?

    – Dan Sinclair
    Nov 26 '18 at 12:55



















  • You cannot see templates in insert options as admin or regular content editors?

    – Peter Procházka
    Nov 26 '18 at 12:44











  • I'm logged in as admin

    – Rick
    Nov 26 '18 at 12:44











  • If you create a new item from this template, does it have the right insert options?

    – Dan Sinclair
    Nov 26 '18 at 12:55

















You cannot see templates in insert options as admin or regular content editors?

– Peter Procházka
Nov 26 '18 at 12:44





You cannot see templates in insert options as admin or regular content editors?

– Peter Procházka
Nov 26 '18 at 12:44













I'm logged in as admin

– Rick
Nov 26 '18 at 12:44





I'm logged in as admin

– Rick
Nov 26 '18 at 12:44













If you create a new item from this template, does it have the right insert options?

– Dan Sinclair
Nov 26 '18 at 12:55





If you create a new item from this template, does it have the right insert options?

– Dan Sinclair
Nov 26 '18 at 12:55










2 Answers
2






active

oldest

votes


















3














This is a normal behavior.



You need to reset the insert options of the item to see the changes on standard values,if you create items based on a template and then you add to the standardvalues of template new insert options.



Please have a look on below picture. You need to press Reset button from Insert Options section.



If you create new items based on the template you will see the changes from Standard Value.



enter image description here



If you want to reset InsertOptions of an item you can do it programatically using:





  1. C# Code:



    item.Fields["__Masters"].Reset();




  2. Using Powershell Extension :



    Example: Get-Item "master:/sitecore/content/home" | Reset-ItemField -IncludeStandardFields -Name "__Masters"








share|improve this answer


























  • Will that apply the change to all items, or will I need to do this manually to each item using the changed template?

    – Rick
    Nov 26 '18 at 12:49











  • it will apply just to the current item

    – Vlad Iobagiu
    Nov 26 '18 at 12:51











  • So if I already had 1000 pages using that template, and I change the insert options, I would have to go through 1000 pages and hit the "Reset Templates" button one by one?

    – Rick
    Nov 26 '18 at 12:53






  • 1





    Use Sitecore Powershell extension.

    – Vlad Iobagiu
    Nov 26 '18 at 12:53











  • Ok - I don't have 1000 pages but was just wondering. thanks

    – Rick
    Nov 26 '18 at 12:54



















0














Reset Insert Options field to standard values



If the Insert options field of the item was previously edited, it will have its own value instead of taking its value from the __Standard Values item for that template. (This is true even if you updated the item's value back to what was stored in the __Standard Values item).



To remove the item-specific value and fall back to the standard value, you can use the Reset button:




  1. In the Content Editor, under the View ribbon tab, check the Standard fields checkbox to show standard fields, of which the Insert options field (technically called __Masters) is one.


  2. In the Versions ribbon tab, click the Reset button:



    Reset Field Values dialog



  3. Check the box next to the Insert options field and click the Reset button.







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%2f15160%2fhow-to-edit-the-insert-options-for-existing-content-using-that-template%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3














    This is a normal behavior.



    You need to reset the insert options of the item to see the changes on standard values,if you create items based on a template and then you add to the standardvalues of template new insert options.



    Please have a look on below picture. You need to press Reset button from Insert Options section.



    If you create new items based on the template you will see the changes from Standard Value.



    enter image description here



    If you want to reset InsertOptions of an item you can do it programatically using:





    1. C# Code:



      item.Fields["__Masters"].Reset();




    2. Using Powershell Extension :



      Example: Get-Item "master:/sitecore/content/home" | Reset-ItemField -IncludeStandardFields -Name "__Masters"








    share|improve this answer


























    • Will that apply the change to all items, or will I need to do this manually to each item using the changed template?

      – Rick
      Nov 26 '18 at 12:49











    • it will apply just to the current item

      – Vlad Iobagiu
      Nov 26 '18 at 12:51











    • So if I already had 1000 pages using that template, and I change the insert options, I would have to go through 1000 pages and hit the "Reset Templates" button one by one?

      – Rick
      Nov 26 '18 at 12:53






    • 1





      Use Sitecore Powershell extension.

      – Vlad Iobagiu
      Nov 26 '18 at 12:53











    • Ok - I don't have 1000 pages but was just wondering. thanks

      – Rick
      Nov 26 '18 at 12:54
















    3














    This is a normal behavior.



    You need to reset the insert options of the item to see the changes on standard values,if you create items based on a template and then you add to the standardvalues of template new insert options.



    Please have a look on below picture. You need to press Reset button from Insert Options section.



    If you create new items based on the template you will see the changes from Standard Value.



    enter image description here



    If you want to reset InsertOptions of an item you can do it programatically using:





    1. C# Code:



      item.Fields["__Masters"].Reset();




    2. Using Powershell Extension :



      Example: Get-Item "master:/sitecore/content/home" | Reset-ItemField -IncludeStandardFields -Name "__Masters"








    share|improve this answer


























    • Will that apply the change to all items, or will I need to do this manually to each item using the changed template?

      – Rick
      Nov 26 '18 at 12:49











    • it will apply just to the current item

      – Vlad Iobagiu
      Nov 26 '18 at 12:51











    • So if I already had 1000 pages using that template, and I change the insert options, I would have to go through 1000 pages and hit the "Reset Templates" button one by one?

      – Rick
      Nov 26 '18 at 12:53






    • 1





      Use Sitecore Powershell extension.

      – Vlad Iobagiu
      Nov 26 '18 at 12:53











    • Ok - I don't have 1000 pages but was just wondering. thanks

      – Rick
      Nov 26 '18 at 12:54














    3












    3








    3







    This is a normal behavior.



    You need to reset the insert options of the item to see the changes on standard values,if you create items based on a template and then you add to the standardvalues of template new insert options.



    Please have a look on below picture. You need to press Reset button from Insert Options section.



    If you create new items based on the template you will see the changes from Standard Value.



    enter image description here



    If you want to reset InsertOptions of an item you can do it programatically using:





    1. C# Code:



      item.Fields["__Masters"].Reset();




    2. Using Powershell Extension :



      Example: Get-Item "master:/sitecore/content/home" | Reset-ItemField -IncludeStandardFields -Name "__Masters"








    share|improve this answer















    This is a normal behavior.



    You need to reset the insert options of the item to see the changes on standard values,if you create items based on a template and then you add to the standardvalues of template new insert options.



    Please have a look on below picture. You need to press Reset button from Insert Options section.



    If you create new items based on the template you will see the changes from Standard Value.



    enter image description here



    If you want to reset InsertOptions of an item you can do it programatically using:





    1. C# Code:



      item.Fields["__Masters"].Reset();




    2. Using Powershell Extension :



      Example: Get-Item "master:/sitecore/content/home" | Reset-ItemField -IncludeStandardFields -Name "__Masters"









    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Nov 26 '18 at 13:04

























    answered Nov 26 '18 at 12:47









    Vlad IobagiuVlad Iobagiu

    12.9k21032




    12.9k21032













    • Will that apply the change to all items, or will I need to do this manually to each item using the changed template?

      – Rick
      Nov 26 '18 at 12:49











    • it will apply just to the current item

      – Vlad Iobagiu
      Nov 26 '18 at 12:51











    • So if I already had 1000 pages using that template, and I change the insert options, I would have to go through 1000 pages and hit the "Reset Templates" button one by one?

      – Rick
      Nov 26 '18 at 12:53






    • 1





      Use Sitecore Powershell extension.

      – Vlad Iobagiu
      Nov 26 '18 at 12:53











    • Ok - I don't have 1000 pages but was just wondering. thanks

      – Rick
      Nov 26 '18 at 12:54



















    • Will that apply the change to all items, or will I need to do this manually to each item using the changed template?

      – Rick
      Nov 26 '18 at 12:49











    • it will apply just to the current item

      – Vlad Iobagiu
      Nov 26 '18 at 12:51











    • So if I already had 1000 pages using that template, and I change the insert options, I would have to go through 1000 pages and hit the "Reset Templates" button one by one?

      – Rick
      Nov 26 '18 at 12:53






    • 1





      Use Sitecore Powershell extension.

      – Vlad Iobagiu
      Nov 26 '18 at 12:53











    • Ok - I don't have 1000 pages but was just wondering. thanks

      – Rick
      Nov 26 '18 at 12:54

















    Will that apply the change to all items, or will I need to do this manually to each item using the changed template?

    – Rick
    Nov 26 '18 at 12:49





    Will that apply the change to all items, or will I need to do this manually to each item using the changed template?

    – Rick
    Nov 26 '18 at 12:49













    it will apply just to the current item

    – Vlad Iobagiu
    Nov 26 '18 at 12:51





    it will apply just to the current item

    – Vlad Iobagiu
    Nov 26 '18 at 12:51













    So if I already had 1000 pages using that template, and I change the insert options, I would have to go through 1000 pages and hit the "Reset Templates" button one by one?

    – Rick
    Nov 26 '18 at 12:53





    So if I already had 1000 pages using that template, and I change the insert options, I would have to go through 1000 pages and hit the "Reset Templates" button one by one?

    – Rick
    Nov 26 '18 at 12:53




    1




    1





    Use Sitecore Powershell extension.

    – Vlad Iobagiu
    Nov 26 '18 at 12:53





    Use Sitecore Powershell extension.

    – Vlad Iobagiu
    Nov 26 '18 at 12:53













    Ok - I don't have 1000 pages but was just wondering. thanks

    – Rick
    Nov 26 '18 at 12:54





    Ok - I don't have 1000 pages but was just wondering. thanks

    – Rick
    Nov 26 '18 at 12:54











    0














    Reset Insert Options field to standard values



    If the Insert options field of the item was previously edited, it will have its own value instead of taking its value from the __Standard Values item for that template. (This is true even if you updated the item's value back to what was stored in the __Standard Values item).



    To remove the item-specific value and fall back to the standard value, you can use the Reset button:




    1. In the Content Editor, under the View ribbon tab, check the Standard fields checkbox to show standard fields, of which the Insert options field (technically called __Masters) is one.


    2. In the Versions ribbon tab, click the Reset button:



      Reset Field Values dialog



    3. Check the box next to the Insert options field and click the Reset button.







    share|improve this answer




























      0














      Reset Insert Options field to standard values



      If the Insert options field of the item was previously edited, it will have its own value instead of taking its value from the __Standard Values item for that template. (This is true even if you updated the item's value back to what was stored in the __Standard Values item).



      To remove the item-specific value and fall back to the standard value, you can use the Reset button:




      1. In the Content Editor, under the View ribbon tab, check the Standard fields checkbox to show standard fields, of which the Insert options field (technically called __Masters) is one.


      2. In the Versions ribbon tab, click the Reset button:



        Reset Field Values dialog



      3. Check the box next to the Insert options field and click the Reset button.







      share|improve this answer


























        0












        0








        0







        Reset Insert Options field to standard values



        If the Insert options field of the item was previously edited, it will have its own value instead of taking its value from the __Standard Values item for that template. (This is true even if you updated the item's value back to what was stored in the __Standard Values item).



        To remove the item-specific value and fall back to the standard value, you can use the Reset button:




        1. In the Content Editor, under the View ribbon tab, check the Standard fields checkbox to show standard fields, of which the Insert options field (technically called __Masters) is one.


        2. In the Versions ribbon tab, click the Reset button:



          Reset Field Values dialog



        3. Check the box next to the Insert options field and click the Reset button.







        share|improve this answer













        Reset Insert Options field to standard values



        If the Insert options field of the item was previously edited, it will have its own value instead of taking its value from the __Standard Values item for that template. (This is true even if you updated the item's value back to what was stored in the __Standard Values item).



        To remove the item-specific value and fall back to the standard value, you can use the Reset button:




        1. In the Content Editor, under the View ribbon tab, check the Standard fields checkbox to show standard fields, of which the Insert options field (technically called __Masters) is one.


        2. In the Versions ribbon tab, click the Reset button:



          Reset Field Values dialog



        3. Check the box next to the Insert options field and click the Reset button.








        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 26 '18 at 12:53









        Dan SinclairDan Sinclair

        1,518525




        1,518525






























            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%2f15160%2fhow-to-edit-the-insert-options-for-existing-content-using-that-template%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

            How to change which sound is reproduced for terminal bell?

            Can I use Tabulator js library in my java Spring + Thymeleaf project?

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents