Suppose you are creating a product and you have to need a media file associated with product then how you can do it?
Answer Posted / Amrit Lal Maurya
To associate a media file with a product in SAP Hybris, you can create or update the Product model by including a reference to the Media object. The Media object should be created and stored in the 'media' or 'content' folder of your project. In the Product model, add a custom attribute with type 'Media' as 'productImage', for example. Then, when creating or updating a product, assign the desired media file ID to this custom attribute.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is sap hybris marketing?
What Are Model Attributes in SAP Hybris?
Explain the hybris data model?
How do you create a workflow rule in SAP Hybris?
What do you understand by the sap hybris assisted service module?
What are the capabilities covered under SAP Hybris Cloud for Revenue?
How to configure hybris for cluster mode?
What are the capabilities of SAP Hybris Product e-commerce?
What do you understand by Hybris Modeling?
What do you understand by hybris promotion management?
What are model attributes?
What is hmc in hybris?
What is extension and how to create extension?
Will SAP Hybris Perform If We Have Over 1 Million Skus?
What is hybris for?