cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SmartEdit component attribute type has no field for edit

tiliev97
Explorer
0 Likes
2,583

Hello Experts,

i am struggling with the problem in the picture below.

I can not edit the Hybris MediaContainer Attribute because no field appears for me to edit it. Even though help.hybris states that this type is supported by SmartEdit. link text Do you guys have any reference or tips regarding this problem?

Thanks in advance.

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Likes

Hi,

You can use below steps to make this editable.

  1. Sign into SmartEdit as the Admin user.
  2. Select Settings under user profile (top right corner)- SmartEdit displays the Configuration Editor.
  3. Select Create Configuration.
  4. New key and value boxes appear.
  5. In the Key box, specify advancedMediaContainerManagement.
  6. In the Value box, specify true to enable media container management for your simple responsive banner components.
  7. Save your configuration

For me it worked partially, I am able to choose existing media but create button is still not working.

Thanks

Former Member
0 Likes

If you extend your component from the AbstractMediaContainerComponent, you will be able to create a MediaContainer for your component.

Former Member
0 Likes

Hi Turpal,

Thank you for contacting us.

Can we know which version of SmartEdit are you using? Also version 6.3 and above, MediaContainer attribute type is supported provided for all components that extend the AbstractMediaContainerComponent type.

Also can you share the response from the structure API for your custom component?

tiliev97
Explorer
0 Likes

Hi Siddharth, thank you for the reply.

I am currently working on Hybris v6.7 SmartEdit and I also apologize in advance for the bad naming of the attribute as "media" even though it is a MediaContainer.

tiliev97
Explorer
0 Likes

I don't know if this information will help or not but every time I edit the component, the browser console logs me an exception for every attribute which doesn't have a field to edit.

 defaults.js:19 se.dropdown.no.populator.found <se-dropdown data-field="field" data-qualifier="qualifier" data-model="model" data-id="id" class="ng-scope ng-isolate-scope">