In every CRM implementation, we deal with some sort of master data in CRM. Normally, we use traditional ways to store master records by creating custom entities. But we do have a better way to store master data, i.e., using Category entity. This entity was introduced in CRM 2016. This is very helpful in implementing hierarchical structure. In this article, we are going to use Category entity to store the state and city master data for demo purpose.
Let's say we are developing an Event Management solution and we have a requirement to show state and city information in our Event entity (We can use similar way in any other entity). We will be using Category to store these details. To use Category entity, we can navigate to Settings -> Service Management ->Categories.You can find more details about Category here.
Let’s first setup Parent Category and name it as State, we will be using it for setting default view for state and city lookup later. Once parent category is setup we can create child records manually or import child records by downloading data import template for category under Data Management->Templates for Data Import.