Retrieving Objectbricks #15049
Unanswered
ManoDharmalingam
asked this question in
Q&A / Support
Replies: 2 comments 1 reply
-
@ManoDharmalingam Have you found a solution? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hello, For the example in the documentation you see the attributename is "attributes" , so in the PHP API you will have to use getAttributes() method instead of getBricks() Hope this helps, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi ,
I tried creating the Object brick to fetch the Objectbricks created and tried to retrieve the objectbricks using the steps provided in the below document
https://pimcore.com/docs/pimcore/current/Development_Documentation/Objects/Object_Classes/Data_Types/Object_Bricks.html#page_Retrieving-Objectbricks
As soon as I return the response, I receive the following error message
Call to undefined method getBricks in class Pimcore\Model\DataObject\Products
Please let me know how to resolve this error.
Regards,
Mano Dharmalingam.
Beta Was this translation helpful? Give feedback.
All reactions