How to control content fields and tabs visibility in Umbraco CMS

Hiding properties and tabs in Umbraco CMS This post illustrates the idea of how you can control and restrict the visibility of content (node) parts, such as fields and properties for Umbraco back-office users (based on the role).While Umbraco allows you to restrict the whole node to specific user groups, sometimes, this may not be…

Umbraco’s best packages (free and paid)

Packages are like spices, Umbraco is your meal. Plugins give Umbraco additional functionality, the ability to do more things faster and better way. They extend the possibilities Umbraco has by default and can be a great benefit for every Umbraco-based website. Umbraco CMS does not have so many packages like WordPress but continues to have…

How to use Sort option to organize Umbraco CMS Content

Sorting content in the Umbraco back office tree seems like an obvious function. However, several times, I have found out that people who start working with Umbraco are not aware of this feature. The well-organized & sorted content has several advantages: Editors can easily arrange the order of any elements by themselves. The back office…

Getting domains list for node programmatically in Umbraco CMS

Once you define hostnames for a Content node in Umbraco CMS in the back office –  it’s easy to get the list in C# within a few lines of code. To do so you should use the IDomainService and grab the instance. You can get service instance using static service locator as follows: The IDomainService has a very easy-to-use…

How to add roles to members programmatically in Umbraco CMS

Let say we have a member with email umbraco-member@piotrbach.com The system has two member groups named: “Customers” and “Partners” To add a member to both roles you can use a handy method called ‘AddUserToRoles’ available in ‘System.Web.Security’ namespace: You need to specify the user name and desired membership groups (roles) array and that’s it. Once you…

How to reset forgotten password in Umbraco CMS

Resetting User password in Umbraco via email You’ve lost your user password and can’t log in to Umbraco back-office? If so, go through the above steps to log in and use Umbraco again. Step 1: Navigate to Umbraco welcome page First, you need to navigate to Umbraco welcome panel and click the “Forgotten password” link….

Setting Umbraco to work with Azure private storage

Umbraco media and Azure private blob storage insights Setting up Umbraco to work with Azure blobs is quite easy with UmbracoFileSystemProviders.Azure package when the blob storage has default settings and “Allow blob public access” is enabled. However, if you want to follow MS security recommendations and store media files on private blob storage – things get a…

Resolving Umbraco Examine cannot index queue items error

Introduction Recently, while working with Umbraco 8.6.0 deployed on Azure I encountered an Examine error: Cannot index queue items, the index is currently lockedUmbraco.Examine.UmbracoContentIndex This is a nasty error that can cause a few problems like: Crashing the whole app for visitors Causing all kinds of back-office errors (searching, editing, examine panel overview) Making editors’…

Creating Umbraco custom helper in AngularJS

Introduction The entire Umbraco back-office panel is built around AngularJS which allows for easy extension and modification of basic functionalities. For the work to be effective, you should use a ready set of filters, services, and directives that allow you to speed up the development time. See Umbraco 8 Backoffice UI API Documentation to discover the full…

Great Resources to Learn How to Use Umbraco Like a Pro [2022]

Do you want to work with Umbraco efficiently? Great! I found people getting confused trying to find relevant resources to start working with Umbraco CMS. For this reason, I have gathered the best links and resources so you could get better insights into Umbraco and start working like a PRO. Let’s jump in. Umbraco official resources Umbraco…

Workaround: fixing Umbraco template not found error

How to fix Umbraco Template not found custom 404 error? In this post, I am gonna share a quick workaround on how you can resolve the Umbraco CMS Template not found error for published content. Recently I had a strange issue while trying to render a view for document type (product). For some reason, the Umbraco engine could not…