Example: Code for the Insert Options pipeline processor to allow folders anywhere
Version:
Use the following Insert Options pipeline processor code to allow a user to create folders under any item.
Add the processor to the insert options pipeline definition after the existing GetItemMasters processor and before the existing GetInsertRules processor:
Note
You can update this example to incorporate the logic to copy insert options from the parent as described in Example: Command template code to copy insert options from the parent item.