3

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.

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

1 Answer 1

2

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
2
  • 1
    For everyone's benefit, please elaborate on your answer describing how this was set up. Just a brief example. Jan 25, 2017 at 0:01
  • @MarkCassidy sure thing
    – Muradious
    Jan 25, 2017 at 9:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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