Read More
Menu Close

    How to create Class Data Object in Pimcore?

    In simple words, the Class Data Objects help us to create structured data in Pimcore PIM. So, if you don’t have the 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 is much similar to Object-Oriented Data object. 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 the GUI(Graphical User Interface).

    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 this blog to understand more about the data objects in Pimcore. https://webkul.com/blog/data-objects-in-pimcore/

    Searching for an experienced
    Pimcore Company ?
    Read More

    Now, I think it is cleared 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 menus, 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 be 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.

    image-7

    You can update the name and description of class type data objects. That’s is all how to create a Class type of data object in Pimcore.

    Support

    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 us an email at [email protected]. Please let me know if you want to discuss your Pimcore project, you can ping us anytime at our skype: https://bit.ly/Akeneo-Shopware-Pimcore

    . . .
    Discuss on Helpdesk

    Leave a Comment

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


    Be the first to comment.

    Back to Top