I'm working on a clients site and I am currently facing a weird behavior, when right clicking items on the item tree to add a new child item, I am getting options to insert items of different template types even though that I manually cleared the insert options for that item, I even cleared them for the standard values of that items template and restored the insert options for that item to default, but I am still getting those options, something that I noticed and could be of help, is that all the items under the site node including the site node itself have the ability to add the same types of items, even though when going through any items insert options you would find that they are empty.

What could I be missing? and how can I remove these unwanted insert options.

  • 1
    Have you checked insert options of your base templates? – Dmytro Shevchenko Jan 24 '17 at 17:00
  • 1
    Have you looked at insert rules? – Zachary Kniebel Jan 24 '17 at 17:01
  • @DmytroShevchenko it's based on the standard template in Sitecore, – Muradious Jan 24 '17 at 17:02
  • @ZacharyKniebel also the insert rules have nothing selected – Muradious Jan 24 '17 at 17:02
  • 1
    @Muradious, can you clear your cache thr /admin/cache.aspx or try from different browser. ? – Balaji Kuppuswamy Jan 24 '17 at 17:28

It turns out that the cause to my issue was lying within the rules set under Sitecore -> System -> Settings -> Rules -> Insert Option Rules,

These rules make it easier to set insert options for a large set of items using simple logic, without having to set them in the standard values for those items templates.

Following is a sample rule that will reflect on the home item and all of its descendants except the settings item and its descendants to add 2 insert options, one to add a "Page" Item and the other to add a "Blogs Page" item:

"where" the item is "Home" item or one of its descendants
"and" "except where" the item is the "Settings" item or one of its descendants 
add "Page" insert option
"and" add "Blogs Page" insert option
  • 1
    For everyone's benefit, please elaborate on your answer describing how this was set up. Just a brief example. – Mark Cassidy Jan 25 '17 at 0:01
  • @MarkCassidy sure thing – Muradious Jan 25 '17 at 9:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.