Data Objects in Documents


#1

Hi,
i’m new to pimcore and have tried to create the first project. The Document hasn’t the object data.

<h2><?= $this->escape($product->getName()); ?></h2> // has the document name 
<div class="content">
<?= $product->getDescription(); ?> // has the document description

How can i get the Object data?

I use Pimcore 5 on Ubuntu. The Object data is saved in object_query_1 table

Thanks for help.


#2

Ok, i know whats wrong. i have pulled a document to the document site instead of an object. ;-).