Dimitra from our sister company, has put together this great post on the DotSee.Discipline package for Umbraco CMS. It's already had 2.8K downloads and is growing. The team really knows what they're doing when contributing to the Umbraco community. This puts GrowCreate and the wider DotSee team right up there, as Umbraco Platinum Partners (DotSee is a GrowCreate Group company).
DotSee introduces Discipline for Umbraco
This NuGet package seamlessly combines the functionalities of legacy V8 plugins and the newest addition, NodeProtect, into a single, robust tool.
– AutoNode, NodeRestrict, VirtualNodes, VariantsHider –
In this blog post, we'll go through an overview of the functionality and configuration of the package.
Rather watch than read?
Check out our video presentation of the initial release, where we give a walkthrough of our package:
Meet Discipline
Do you want to control automatic node creation, limit the number of nodes added, hide URL segments, or simplify the content tree? Discipline has got you covered.
The straightforward accompanying documentation provides straightforward instructions for integrating the package into your project and setting it up.
![how to install nuget package](/media/1lffr1gg/install-nuget-package.gif?rmode=min&width=1280&format=webp&quality=90&v=1dac7dba4c01d30)
Discipline Features
AutoNode - Let it Create!
This functionality creates new nodes upon publishing, following user-defined rules. With configurations to control node creation conditions, automatic node creation simplifies your workflow.
![discipline autonode demo](/media/f5klbl4d/autonode.gif?rmode=min&width=1280&format=webp&quality=90&v=1dac7db9d70c6b0)
You can define rules to determine the document types, including node names (statically or from dictionary entries), and control the placement of the new node within the Umbraco back-end. Additionally, you can republish a node if it already exists and create nodes automatically only if no other child nodes exist.
![discipline autonode](/media/1trdgstq/autonode_image.png?rmode=min&width=1280&quality=90&v=1dac7db9335e900)
NodeRestrict - Master of Control
NodeRestrict - Master of Control
With this functionality, you can define rules in appsettings.json or use a special property in a single node to limit the number of published child nodes.
![discipline node restrict demo](/media/plwahk2u/noderestrict.gif?rmode=min&width=1280&format=webp&quality=90&v=1dac7db8b94c900)
By configuring an entry in your appSettings.json under 'NodeRestrict,' you can display custom warning messages or override standard ones, tailoring the experience to your preferences.
![discipline node restrict](/media/auppepdp/noderestrict_image.png?rmode=min&width=1280&quality=90&v=1dac7db82aa1200)
VirtualNodes - Crafting Elegant URLs
Produce cleaner URLs in Umbraco. This functionality lets you specify document types for which URL segments will be excluded from Umbraco-generated URLs.
![discipline virtual nodes demo](/media/jjonblgj/virtualnodes.gif?rmode=min&width=1280&format=webp&quality=90&v=1dac7db7355f7b0)
Under the 'DotSee.Discipline' entry, set up rules to hide specific document types or use wildcards for more dynamic URL hiding. Exclude document types ending with 'dog,' starting with 'cat,' or containing 'mouse.' Shape URLs to align with your content structure.
![discipline virtual nodes](/media/gbyd3lgm/virtualnodes_image.png?rmode=min&width=1280&quality=90&v=1dac7db7bb6e540)
![Discipline variant hider demo](/media/vwtdahjd/varianthider.gif?rmode=min&width=1280&format=webp&quality=90&v=1dac7db6cb22370)
VariantsHider - Simplifying the Content Tree
VariantsHider hides ‘not created’ variants, decluttering your workspace. For a personal touch, customise the right-click menu option caption.
![discipline variant hider](/media/ewrj0ctt/variantshider_image.png?rmode=min&width=1280&quality=90&v=1dac7db6609bb50)
Package update 21/06/2024
NodeProtect - Safeguarding nodes
With our latest update, Discipline introduces NodeProtect. This feature prevents the deletion of nodes crucial to the website’s functionality, such as a "settings" node.
![discipline node protect demo](/media/as1jczmd/nodeprotect.gif?rmode=min&width=1280&format=webp&quality=90&v=1dac7db5db83710)
If a user attempts to delete a subtree of nodes from the back office, NodeProtect will recursively check and prevent the deletion if any node within the tree is marked as protected.
![discipline node protect](/media/lj1nqwbj/nodeprotect_image.png?rmode=min&width=1280&quality=90&v=1dac7db52d161f0)
Discipline is a Swiss Army knife for Umbraco users seeking control, precision, and efficiency.
Explore each functionality, experiment with configurations, and let Discipline elevate your Umbraco experience.
Ready to dive in?