Back to Top

How to Create Class Data Object in Pimcore?

Updated 12 April 2024

In simple words, the Class Data Objects help us to create structured data in Pimcore PIM. So, if you don’t have an idea about Pimcore classes then please follow the steps involved in this blog to create it.

Don’t worry, if you don’t have an idea about Object-Oriented Programming.

We can say that Data Objects in Pimcore are much similar to Object-Oriented Data objects. The class type of data object can be created and managed by GUI (Graphical User Interface).

So, if you will create a class in the admin panel then it will be created as a simple PHP code in the Pimcore.

The data object in the Pimcore can be managed through inheritance in a simple PHP code. Now, I am not going to tell you how to manage it from the code. In this blog, I will use GUI.

Searching for an experienced
Pimcore Company ?
Find out More

With the help of the data objects, you can sync the data from Pimcore to third-party systems like ERP, CRM, and eCommerce.

Create the Data Object

You can check the blog article to understand more about the data objects in Pimcore. Now, I think it is clear what is data objects in Pimcore so let’s move on to create a class type of data object.

For this, you need to install the Pimcore on your dedicated server. After that, you can log in to your Pimcore dashboard by entering the user login and password.

On the left side of the menu, you will get the “setting” icon. You can navigate to Setting -> Data Object -> Classes. Classes are a collection of some pre-defined data types. The data type could be a number, text, or a reference type of object so that you can make a complete connection.

Create Class Data Object in Pimcore

Here you will get some Pre-defined classes provided by Pimcore after installation so you can change these or you can create a new one.

class data object in Pimcore

For creating new Classes, you can click on the “Add” button and a pop-up will open where you can enter the details of your custom class.

Create a new class in Pimcore

So, in the pop-up, you can enter the details like “Class Name” and “Unique Identifier”. Make sure, you are entering the correct unique identifier because, in the Pimcore Database, you can enter only 64 characters.

So, I have just created a new class and named it “Test_Pim”. You can see the General Information section in the Pimcore. In this, you can see and modify the basic details of a Class data object.


You can update the name and description of class-type data objects.


That’s all how to create a Class type of data object in Pimcore. In this blog series, the next topic will be “Class Setting in Pimcore”. After that, we will learn how to create the “Add Layout Component” and “Add Data component” in Pimcore.

I hope you have enjoyed this article. For any query in Pimcore, you can send an email. Please let me know if you want to discuss your Pimcore project, you can also contact our team via Skype.

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*

Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home